Files
HuggingFace_transformer/tests/models
Arthur c87654dca1 [Whisper] Add rescaling function with do_normalize (#21263)
* add `zero_mean_unit_var_norm` function

* normalize before MEL computation

* fixup

* add simple test

* quality

* Update tests/models/whisper/test_feature_extraction_whisper.py

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

* fixup

* use attention masks if padding was applied

* Update based on review

Co-authored-by: bofeng huang <bofenghuang7@gmail.com>

---------

Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>
Co-authored-by: bofeng huang <bofenghuang7@gmail.com>
2023-03-02 14:17:21 +01:00
..
2023-03-01 21:23:31 +03:00
2022-05-03 14:42:02 +02:00
2023-03-01 11:11:04 +01:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2023-02-20 16:37:11 +03:00
2022-05-12 16:25:55 -04:00
2023-02-09 14:46:15 +00:00
2022-05-03 14:42:02 +02:00