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

temperature (=0.0) has to be a strictly positive float, otherwise your nex #8

Open
yxl502 opened this issue Aug 13, 2024 · 2 comments

Comments

@yxl502
Copy link

yxl502 commented Aug 13, 2024

No description provided.

@yxl502
Copy link
Author

yxl502 commented Aug 13, 2024

image

@david0963658
Copy link

By setting temperature=0.7 in the model.generate function, the error resolved.
generated_ids = model.generate( **model_inputs, max_new_tokens=512, temperature=0.7 )

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