Files
HuggingFace_transformer/tests/models
Quentin Meeus 5b72b3412b Remove CLI spams with Whisper FeatureExtractor (#21267)
* Remove CLI spams with Whisper FeatureExtractor

Whisper feature extractor representation includes the MEL filters, a list of list that is represented as ~16,000 lines. This needlessly spams the command line. I added a `__repr__` method that replaces this list with a string "<array of shape (80, 201)>"

* Remove mel_filters from to_dict output  

Credits to @ArthurZucker

* remove unused import

* update feature extraction tests for the changes in to_dict
2023-02-10 09:15:16 -05:00
..
2023-02-09 15:46:26 -05:00
2023-02-09 16:52:11 +01:00
2022-05-03 14:42:02 +02:00
2023-02-09 14:46:15 +00:00
2022-05-03 14:42:02 +02:00
2023-02-09 15:46:26 -05:00
2022-05-03 14:42:02 +02:00
2023-02-09 15:46:26 -05:00
2022-12-06 16:14:03 +01:00
2023-02-09 15:46:26 -05:00
2022-05-12 16:25:55 -04:00
2023-02-09 14:46:15 +00:00
2023-02-09 14:46:15 +00:00
2023-02-09 15:46:26 -05:00
2023-02-09 14:46:15 +00:00
2023-02-09 15:46:26 -05:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2023-02-09 15:46:26 -05:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00