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

Add :no_repeat_ngram_length option to text generation #182

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

jonatanklosko
Copy link
Member

Prevents from n-gram (sequence of n tokens) duplication in generated text.

@jonatanklosko jonatanklosko merged commit faa5474 into main Mar 28, 2023
@jonatanklosko jonatanklosko deleted the jk-no-repeat-ngram branch March 28, 2023 18:46
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.

None yet

2 participants