-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Add a flag to include stop string in output text #1976
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
Add a flag to include stop string in output text #1976
Conversation
this looks good! what's the variable name in TGI? How about placing it near the |
thanks for the review. TGI does not have this variable. it's default behavior is to include stop string in output. |
@WoosukKwon @zhuohan123 would you take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @yunfeng-scale, thanks for submitting the PR! I think this makes sense. A friend of mine actually requested this 😂
Could you resolve the merge conflict and see my comment on the variable name? Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for the contribution!
Fixes #1973
tested by running server locally