mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-03 03:31:05 +06:00
![]() * avoid generation length warning * add tests * Update src/transformers/generation/candidate_generator.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * add tests and minor fixes * refine `min_new_tokens` * Update src/transformers/generation/candidate_generator.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * add method to prepare length arguments * add test for min length * Update src/transformers/generation/candidate_generator.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * fix variable naming * empty commit for tests * trigger tests (empty) --------- Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_beam_constraints.py | ||
test_beam_search.py | ||
test_configuration_utils.py | ||
test_flax_logits_process.py | ||
test_flax_utils.py | ||
test_framework_agnostic.py | ||
test_logits_process.py | ||
test_stopping_criteria.py | ||
test_streamers.py | ||
test_tf_logits_process.py | ||
test_tf_utils.py | ||
test_utils.py |