mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
![]() * Fix issues in add and is_done for BeamHypotheses * make newly added arguments optional for better compatibility * Directly use cur_len as generated_len, add note for retrocompatibility * update test expectation * make cur_len represents the length of the entire sequence including the decoder prompt * remove redundant if/else in testing |
||
---|---|---|
.. | ||
__init__.py | ||
test_modeling_flax_vision_encoder_decoder.py | ||
test_modeling_tf_vision_encoder_decoder.py | ||
test_modeling_vision_encoder_decoder.py |