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

generation_speed: generation script fixed #12

Merged
merged 3 commits into from
Oct 22, 2024
Merged

Conversation

dgbaenar
Copy link
Contributor

Fix execution of generation speed script.

@dgbaenar dgbaenar added the enhancement New feature or request label Oct 21, 2024
Comment on lines +30 to +31
DEFAULT_PARAMS["temperature"] = params["temperature"]
DEFAULT_PARAMS["n_predict"] = params["tokens_to_predict"]
Copy link
Contributor

Choose a reason for hiding this comment

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

why not set these values directly in the DEFAULT_PARAMS?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are, just that in this case we are letting the user to have the control to change those values in case he/she wants

@dgbaenar dgbaenar merged commit 246c0b3 into main Oct 22, 2024
2 checks passed
@dgbaenar dgbaenar deleted the generation_speed branch October 31, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants