-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Diverse beam search #8627
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
Closed
Closed
Diverse beam search #8627
Changes from 29 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
14d5b6c
diverse beam search
de6280f
bug fixes
3ab6551
bug fixes
da6654d
bug fix
9e7d976
separate out diverse_beam_search function
69a91b4
separate out diverse_beam_search function
a1b57d2
bug fix
8ffe8fd
improve code quality
191a59d
bug fix
ea945b2
bug fix
b363a33
Merge branch 'master' into diverse_beam_search
ayushtiku5 4683c04
separate out diverse beam search scorer
77a861a
code format
26eb8a8
code format
c35492b
code format
f63017a
code format
217a1fa
add test
f08cfe5
code format
9d70206
documentation changes
9b61e09
code quality
b1d2269
add slow integration tests
patrickvonplaten 26f9e0f
more general name
patrickvonplaten fb433cd
refactor into logits processor
patrickvonplaten 6b61b8e
add test
patrickvonplaten 68d841c
avoid too much copy paste
patrickvonplaten 8751681
refactor
patrickvonplaten a221ef0
add to docs
patrickvonplaten 7d8d469
fix-copies
patrickvonplaten 3ca6a2a
Merge remote-tracking branch 'main/master' into diverse_beam_search
patrickvonplaten c99eb5a
bug fix
da77f29
Revert "bug fix"
757bd35
improve comment
patrickvonplaten 81b9533
implement sylvains feedback
patrickvonplaten File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.