transformers/tests/models/qwen2_audio
eustlb 7f7677307c
[Qwen2Audio] handle input ids expansion during processing (#35534)
* add audio_token attribute to proc

* expand input_ids

* and legacy and expanded input_ids

* test update

* split lines

* add possibility not to provide eos and bos audio tokens

* raise errors

* test incorrect number of audio tokens

* add example

* fmt

* typo
2025-01-07 16:47:27 +01:00
..
__init__.py Add Qwen2-Audio (#32137) 2024-08-08 15:47:24 +02:00
test_modeling_qwen2_audio.py [Qwen2Audio] handle input ids expansion during processing (#35534) 2025-01-07 16:47:27 +01:00
test_processor_qwen2_audio.py Add Qwen2-Audio (#32137) 2024-08-08 15:47:24 +02:00