transformers/tests/generation
Joao Gante 831590f6a9
Generate: contrastive search with full optional outputs (#19963)
* Use beam search functionality; Add extra outputs and test

* Add full tests for contrastive search

* Add error message on unconventional cache format
2022-11-01 18:15:36 +00:00
..
__init__.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_generation_beam_constraints.py Constrained Beam Search [*With* Disjunctive Decoding] (#15761) 2022-03-04 18:18:34 +01:00
test_generation_beam_search.py Generate: get the correct beam index on eos token (#18851) 2022-09-05 19:35:47 +01:00
test_generation_flax_logits_process.py 🚨🚨🚨 Optimize Top P Sampler and fix edge case (#18984) 2022-09-15 15:50:11 +02:00
test_generation_flax_utils.py Generate: validate model_kwargs on FLAX (and catch typos in generate arguments) (#18653) 2022-08-18 10:56:21 +01:00
test_generation_logits_process.py 🚨🚨🚨 Optimize Top P Sampler and fix edge case (#18984) 2022-09-15 15:50:11 +02:00
test_generation_stopping_criteria.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_generation_tf_logits_process.py Add TF whisper (#19378) 2022-10-10 14:48:17 +01:00
test_generation_tf_utils.py Generate: validate model_kwargs on TF (and catch typos in generate arguments) (#18651) 2022-09-02 16:25:26 +01:00
test_generation_utils.py Generate: contrastive search with full optional outputs (#19963) 2022-11-01 18:15:36 +00:00