huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
135.46k stars 27.11k forks source link

problem with rag #34178

Closed zahraKane closed 2 days ago

zahraKane commented 1 month ago

System Info

Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.

Who can help?

No response

Information

Tasks

Reproduction

I tested the rag function with the same dataset 'my_knowledge.csv', everything seemed to work, butThe generated response is not understandable, example: Q: What does Moses' rod turn into ? A: Powderoo Two stockp upgr Noct vic soy perBleublished *** Offic molecular memElf nu Ore

Expected behavior

The behavior that i expected is for the rag is to return some coherent responses

Rajatavaa commented 1 month ago

What is the temperature you are using?

LysandreJik commented 1 month ago

Hey @zahraKane, please provide a reproducible code snippet if you'd like us to help you! thank you

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.