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

Parameters: change max_new_tokens & repetition_penalty_range defaults #4842

Merged
merged 3 commits into from
Dec 7, 2023

Conversation

oobabooga
Copy link
Owner

@oobabooga oobabooga commented Dec 7, 2023

  • New max_new_tokens default: 512. 200 is too little for typical replies of instruction-following models.
  • New repetition_penalty_range default: 1024. Penalizing an entire 4000 tokens context doesn't make sense.

@oobabooga oobabooga merged commit 2c5a1e6 into dev Dec 7, 2023
@oobabooga oobabooga deleted the new-defaults branch December 11, 2023 05:59
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.

1 participant