How to use Generative QA with other language (like french). #2728
-
I have found in your tutorial how to use Generative QA but can I just take a model that work with french (BERT variant maybe ?) here ?
Do you have any advice on wich one ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 19 replies
-
Unfortunately, to the best of my knowledge, there is no french RAG model available. As an alternative, you could use an English model together with our |
Beta Was this translation helpful? Give feedback.
-
@sjrl after editing my script to be that (it seem with RAG i cant load the data of the DPR i need to init a new one)
and the warning now is from an assert error
Some warning of unexpected tokenizer and bart configuration but still cant find out why this is not working :( |
Beta Was this translation helpful? Give feedback.
-
Hi @sjrl sure here is the full code to train (generate the SQL DB and translate the doc from french to eng)
and here the full code to ask the question
as for the doc here a sample of the french doc i use https://we.tl/t-HcknFdE5lW hope it help and thank you for your help |
Beta Was this translation helpful? Give feedback.
Unfortunately, to the best of my knowledge, there is no french RAG model available. As an alternative, you could use an English model together with our
TranslationWrapper
node. It's described in the end of the following tutorial: https://haystack.deepset.ai/tutorials/question-generation@vblagoje are you aware of any LFQA models working with french texts? Probably not?