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

Set the max_tokens default to 4096 #26

Merged
merged 1 commit into from
Mar 8, 2023
Merged

Set the max_tokens default to 4096 #26

merged 1 commit into from
Mar 8, 2023

Conversation

rikhuijzer
Copy link
Owner

Thanks to @marioseixas. I'm a bit hesitant to set it to Inf because that could mean that the tool could in theory produce in an infinitely long response which would cause an infinitely high bill. Very unlikely, but who knows. Having 4096 tokens printed to the terminal is already pretty long.

MARIO SEIXAS <seixas@ib.bsb.br>
@rikhuijzer rikhuijzer enabled auto-merge (squash) March 8, 2023 14:24
@rikhuijzer rikhuijzer merged commit f9859c3 into main Mar 8, 2023
@rikhuijzer rikhuijzer deleted the rh/max-tokens branch March 8, 2023 14:30
ctrlcctrlv pushed a commit to ctrlcctrlv/ata2 that referenced this pull request Aug 21, 2023
Co-authored-by: MARIO SEIXAS <seixas@ib.bsb.br>
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

Successfully merging this pull request may close these issues.

max_tokens parameter
1 participant