transformers/docs/source/en/internal
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
..
file_utils.mdx Enable doc in Spanish (#16518) 2022-04-04 10:25:46 -04:00
generation_utils.mdx MinNewTokensLengthLogitsProcessor for .generate method #20814 (#20892) 2023-01-03 06:29:02 -05:00
image_processing_utils.mdx Add padding image transformation (#19838) 2022-11-18 11:27:21 +00:00
modeling_utils.mdx Moved functions to pytorch_utils.py (#16625) 2022-04-12 12:38:50 -04:00
pipelines_utils.mdx Enable doc in Spanish (#16518) 2022-04-04 10:25:46 -04:00
tokenization_utils.mdx Enable doc in Spanish (#16518) 2022-04-04 10:25:46 -04:00
trainer_utils.mdx [WIP] Enable reproducibility for distributed trainings (#16907) 2022-05-11 09:37:13 -04:00