Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2025.0.0.0rc2] Meta-Llama-3-8B-Instruct chatting with itself (not producing / detecting EOS token properly) #1631

Open
RyanMetcalfeInt8 opened this issue Jan 24, 2025 · 4 comments
Assignees

Comments

@RyanMetcalfeInt8
Copy link
Contributor

Using the chat sample, it seems like instead of producing / detecting EOS token, it generates 'assistant' string/token, which causes model to continually chat with itself until max tokens is reached:

Image

I am using openvino-genai==2025.0.0.0rc2, and the LLama3 model I am using was generated using:

optimum-cli export openvino -m meta-llama/Meta-Llama-3-8B-Instruct --weight-format int4 --sym --group-size -1 --ratio 1.0 Meta-Llama-3-8B-Instruct

Optimum version used for conversion is from: pip install -r export-requirements.txt

optimum                       1.24.0.dev0
optimum-intel                 1.22.0.dev0+b49fcbb
@RyanMetcalfeInt8
Copy link
Contributor Author

By the way, issue occurs with all devices -- CPU, GPU, NPU.

@Aznie-Intel
Copy link

Hi @RyanMetcalfeInt8 Have you tried the TinyLlama-1.1B-Chat-v1.0 model? I didn't encounter any issue with the model.

Image

@Munesh-Intel Munesh-Intel self-assigned this Jan 29, 2025
@RyanMetcalfeInt8
Copy link
Contributor Author

Hi @Aznie-Intel -- No, I didn't try TinyLlama. Perhaps the issue is model-dependent, then.

@RyanMetcalfeInt8
Copy link
Contributor Author

RyanMetcalfeInt8 commented Jan 29, 2025

Although it does seem that even in your screenshot, the chatbot is chatting with itself, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants