transformers
5b72b341 - Remove CLI spams with Whisper FeatureExtractor (#21267)

Commit
2 years ago
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
Author
Parents
Loading