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

Support for "no_repeat_ngram_size" parameter for generation #759

Open
shreysingla11 opened this issue Sep 13, 2023 · 2 comments
Open

Support for "no_repeat_ngram_size" parameter for generation #759

shreysingla11 opened this issue Sep 13, 2023 · 2 comments

Comments

@shreysingla11
Copy link

There is currently no support for disabling the generation of recurring ngrams in the Bart model, as done by the parameter "no_repeat_ngram_size" in class "transformers.GenerationConfig". This causes the generation of the same token repeatedly.

@SefaZeng
Copy link

SefaZeng commented Dec 1, 2023

Same problem.

@Reihnnnn
Copy link

same here

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

3 participants