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

Fixes compatibility bug when using grouped beam search and constrained decoding together #10475

Conversation

mnschmit
Copy link
Contributor

@mnschmit mnschmit commented Mar 2, 2021

Fixes #10415

Who can review?

@patrickvonplaten

…ng `PrefixConstrainedLogitsProcessor` in `_get_logits_processor` to fix compatibility issue when constrained decoding is used together with grouped beam search
@patrickvonplaten
Copy link
Contributor

Thanks a lot!

@patrickvonplaten patrickvonplaten merged commit b013842 into huggingface:master Mar 2, 2021
@mnschmit mnschmit deleted the fix-grouped-beam-search-constrained-decoding-compatibility branch March 2, 2021 13:43
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.

Bug when combining grouped beam search and constrained prefix decoding
2 participants