transformers/tests/generation
unifyh 3b00b623b7
Fix top_k_top_p_filtering having unexpected behavior (#17744)
- Fix `top_k_top_p_filtering` not passing `filter_value` to
   `TopPLogitsWarper` causing any top-p filtered logits to be -inf
   instead of specified value

 - Add corresponding test
2022-06-21 21:35:55 +02: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 [Generation] Fix Transition probs (#17311) 2022-05-19 22:17:02 +02:00
test_generation_flax_logits_process.py Replace all deprecated jax.ops operations with jnp's at (#16078) 2022-03-16 09:08:55 +00:00
test_generation_flax_utils.py Replace all deprecated jax.ops operations with jnp's at (#16078) 2022-03-16 09:08:55 +00:00
test_generation_logits_process.py Fix decoding score comparison when using logits processors or warpers (#10638) 2022-04-13 09:37:33 +01: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 TF: XLA bad words logits processor and list of processors (#16974) 2022-04-29 15:54:58 +01:00
test_generation_utils.py Fix top_k_top_p_filtering having unexpected behavior (#17744) 2022-06-21 21:35:55 +02:00