transformers
f8e69286 - Move max_new_tokens recommendation into GenerationConfig docstring (#42384)

Commit
44 days ago
Move max_new_tokens recommendation into GenerationConfig docstring (#42384) * docs: clarify recommended usage of max_new_tokens in generate() * Move max_new_tokens recommendation into GenerationConfig docstring * Remove Note about max_new_tokens and max_length * Update src/transformers/generation/configuration_utils.py Apply reviewer suggestion for clearer token explanation Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update src/transformers/generation/configuration_utils.py Apply reviewer suggestion for clearer token explanation Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Remove Note about max_new_tokens and max_length * Docs: clean up empty line in text_generation.md * Docs: simplify max_length explanation in generation config * style: fix trailing whitespace in configuration_utils.py --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
Author
Parents
Loading