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

the model continuously outputs repeated tokens #163

Open
Yhw109 opened this issue Nov 14, 2024 · 1 comment
Open

the model continuously outputs repeated tokens #163

Yhw109 opened this issue Nov 14, 2024 · 1 comment

Comments

@Yhw109
Copy link

Yhw109 commented Nov 14, 2024

Hello,

I am using the Qwen2.5_coder_3B model, and I have noticed that if I do not use the prompt format specified in Qwen2.5-Coder/evaluation/text_to_sql, the model continuously outputs repeated tokens until it reaches the max_tokens limit. For example, when using the prompt from Qwen2.5-Coder/examples/Qwen2.5-Coder.py to "#write a quick sort algorithm."

Do I need to use special tokens to organize my prompt in order to resolve the issue of the model producing repeated outputs?

Thank you!

@huybery
Copy link
Member

huybery commented Nov 15, 2024

Please pull the latest version of the model and provide a full prompt for us to reproduce if you still have problems.

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

2 participants