mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-24 23:08:57 +06:00
![]() * fix issue with logit processor in beam search in Flax
* adding FlaxNoRepeatNGramLogitsProcessor class + unit test
* style correction and code verification
* add FlaxNoRepeatNGramLogitsProcessor to the test_processor_list and test_processor_list_jitted tests
* fix an issue where ngrams are banned only if they appear ==1 time + update description of get_previous_ngrams
* replace non-jit compatible masking of ngrams that are not yet generated with jittable version
* Revert "fix issue with logit processor in beam search in Flax"
This reverts commit
|
||
---|---|---|
.. | ||
__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 |