-
Notifications
You must be signed in to change notification settings - Fork 815
Add ignore_eos option to GenerationConfig #16912
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
base: main
Are you sure you want to change the base?
Conversation
Summary: Allow LLM generation to continue until max_new_tokens is reached, even after encountering EOS tokens. This is useful for benchmarking and testing scenarios where complete token generation is desired regardless of natural stopping points. Reviewed By: kimishpatel Differential Revision: D91183072
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16912
Note: Links to docs will display an error until the docs builds have been completed. ❌ 4 New Failures, 1 PendingAs of commit 01fbe42 with merge base fda6d51 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
kimishpatel
left a comment
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.
Review automatically exported from Phabricator review in Meta.
This PR needs a
|
Summary: Allow LLM generation to continue until max_new_tokens is reached, even after encountering EOS tokens. This is useful for benchmarking and testing scenarios where complete token generation is desired regardless of natural stopping points.
Reviewed By: kimishpatel
Differential Revision: D91183072