Konstantin Kotik
367fdf3330
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>
2023-01-03 06:29:02 -05:00
..
2022-12-12 16:14:04 +00:00
2023-01-03 06:29:02 -05:00
2022-12-29 02:12:40 -05:00
2022-11-15 01:13:40 +01:00
2022-11-21 09:44:54 -05:00
2022-11-15 01:13:40 +01:00
2022-11-21 08:44:18 -05:00
2022-12-21 14:04:08 +01:00