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

[Bug] exllamav2 integration outputs eos_token_id nonstop until max_new_token for json schema #134

Open
Dan-wanna-M opened this issue Aug 24, 2024 · 1 comment

Comments

@Dan-wanna-M
Copy link

example output: ' {\n"street": "Maple Avenue",\n"city": "Boston",\n"state": "Massachusetts",\n"country": "USA",\n"postal_code": "02139"\n} \n\n \r\n\n \r<|end_of_text|><|end_of_text|><|end_of_text|><|end_of_text|><|end_of_text|>'

To replicate, set decode_special_tokens=True in the generator.generate() method for some json schemas.

@Dan-wanna-M Dan-wanna-M changed the title [Bug] exllamav2 integration outputs eos_token_id until max_new_token for json schema [Bug] exllamav2 integration outputs eos_token_id nonstop until max_new_token for json schema Aug 24, 2024
@noamgat
Copy link
Owner

noamgat commented Sep 3, 2024

Can you submit a full notebook that reproduces the issue?

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