PhoGPT-7B5-Instruct has only one word repeated over and over again.
hacbachvotu opened this issue · 10 comments
Closed!
Following the same question from you in this thread: #4
You may want to install pytorch, transformers, and/or run the example code (on Google Colab) with GPU.
Closed! Following the same question from you in this thread: #4 You might want to install torch, transformers, and/or run the example code (on Google Colab) with GPU.
I have installed all with the latest version and all other models run smoothly except this one.
#4 (comment)
CUDA_VISIBLE_DEVICES=0 python testscript.py
would generate "Xin chào. Tôi có thể giúp gì cho bạn?".
#4 (comment) CUDA_VISIBLE_DEVICES=0 python testscript.py would generate "Xin chào. Tôi có thể giúp gì cho bạn?".
sorry i don't know what did you say! i use oobabooga with GPU 12GB 3080ti.
You may want to enable trust-remote-code
.
For the model to work properly, you might need to insert/use the PROMPT template "### Câu hỏi:\n{instruction}\n\n### Trả lời:"
.