"tests/pipelines/vscode:/vscode.git/clone" did not exist on "0922210c5cf2ca0f93fa5f924c6ed195ec7da7e2"
`MinNewTokensLengthLogitsProcessor` for `.generate` method #20814 (#20892)
* feat: add min new length logit processor
* test: add min new length logit processor
* docs: add MinNewTokensLengthLogitsProcessor
* feat: import MinNewTokensLengthLogitsProcessor
* fix: update pytorch dummy objects
* refactor & fix: rename attributes and var and get rid of dynamic attribute
* tests: align test with new interface
* docs: fix typo
* docs: minor clarification
* Empty-Commit
* empty commit
* run automated quality edits
Co-authored-by:
Joao Gante <joao@huggingface.co>
Showing
Please register or sign in to comment