I use the fine-tuned Llama 3 - 8B model to generate answers from the question and context. I have a problem with the answer the model generates, it repeats the answer multiple times. Is there a way to solve this problem, so that the model only prints the correct answer once? I also tried changing the max_length parameter.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Repetitive Answers From Fine-Tuned LLM | 10 | 1654 | July 16, 2025 | |
| Question-Answering/Text-generation/Summarizing: Fine-tune on multiple answers | 8 | 5326 | November 20, 2021 | |
| GPT-2 trained models output repeated "!" | 2 | 2850 | December 20, 2021 | |
| Getting wrong response after fine tuning google/flan-t5-small model? | 0 | 486 | April 27, 2023 | |
| Text generation AI models generating repeated/duplicate text/sentences. What am I doing incorrectly? Hugging face models - Meta GALACTICA | 1 | 1131 | January 16, 2023 |
