transformers/tests/models/whisper
eustlb 2b85b6ce19
[Whisper] 🚨 Fix pipeline word timestamp: timestamp token is end of token time !!! (#36632)
* timestamp token is end of token time !!!

* ensure correct alignment between tokens and timestamp tokens

* ignore input tokens for DTW computation

* use num_frames to avoid token timestamp hallucinations

* token timestamps test updates !

* num_frames: deprecate and use attention_mask instead

* avoid breaking change

* fix the pipeline usage for chunk approach

* make style

* better logging

* better logging

* make style

* update tests with correct values
2025-06-27 12:51:43 +00:00
..
__init__.py
test_feature_extraction_whisper.py enable more test cases on xpu (#38572) 2025-06-06 09:29:51 +02:00
test_modeling_whisper.py [Whisper] 🚨 Fix pipeline word timestamp: timestamp token is end of token time !!! (#36632) 2025-06-27 12:51:43 +00:00
test_processor_whisper.py [whisper] move processor test into processor test file 🧹 (#38266) 2025-05-22 10:07:11 +01:00
test_tokenization_whisper.py [Whisper] 🚨 Fix pipeline word timestamp: timestamp token is end of token time !!! (#36632) 2025-06-27 12:51:43 +00:00