-
Notifications
You must be signed in to change notification settings - Fork 1k
Temperature zero issue #1431
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
Temperature zero issue #1431
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
xenova
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.
Thanks! This is the correct place to place the changes and now temperature: 0 will work correctly, even if do_sample: true is set by the user or default in the generation config.
Thanks!
just some wording choices in the warn message, but otherwise good to go.
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.
we can remove this file -- all examples will be moved to https://github.com/huggingface/transformers.js-examples in transformers.js v4, so this folder will be deleted
Co-authored-by: Joshua Lochner <[email protected]>
xenova
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.
LGTM ✅
added a check that sets

generation_config.do_sampletofalseiftemperature=0