Files
HuggingFace_transformer/tests/models
Kamil Akesbi 1c2bb3ac54 add return_token_timestamps to WhisperProcessor (#30812)
* compute num_frames in WhisperFeatureExtractor

* add return_num_frames in WhisperFeatureProcessor + adapt pipeline

* return_timestamps renaming + pipeline fix

* fix

* fix

* fix

* add tests

* Update src/transformers/models/whisper/feature_extraction_whisper.py

Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>

* apply review changes

* fix

* Update src/transformers/models/whisper/feature_extraction_whisper.py

Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>

* Update tests/models/whisper/test_modeling_whisper.py

Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>

* apply review

* fix

* review changes

* Update src/transformers/models/whisper/feature_extraction_whisper.py

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* make style quality

* EXPECTED_OUTPUT in single line

* small numpy->torch fix

* fix

---------

Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
2024-05-20 09:53:58 +01:00
..
2024-04-05 17:49:46 +02:00
2024-04-26 16:23:44 +01:00
2024-04-01 07:51:00 +00:00
2024-05-09 14:15:56 +02:00
2024-05-13 13:32:43 +02:00
2023-08-02 20:22:36 +02:00
2024-05-14 16:32:01 +02:00
2023-08-02 20:22:36 +02:00
2024-05-14 22:07:15 +02:00
2024-04-24 17:32:09 +02:00
2023-08-02 20:22:36 +02:00
2024-01-11 16:18:27 +01:00
2024-05-15 16:42:29 +05:00
2022-05-03 14:42:02 +02:00