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

Fix handling of special tokens in decoding. #418

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

xcnick
Copy link
Contributor

@xcnick xcnick commented Jul 10, 2023

This PR fixes a bug where the final token generated is </s> when using the llama model.

Copy link
Collaborator

@zhuohan123 zhuohan123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for fixing this!

@zhuohan123 zhuohan123 merged commit c6dfc3c into vllm-project:main Jul 12, 2023
2 checks passed
@lucasjinreal
Copy link

This can be also fixed by judge if finished or not.

hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
sjchoi1 pushed a commit to casys-kaist-internal/vllm that referenced this pull request May 7, 2024
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

Successfully merging this pull request may close these issues.

None yet

3 participants