mlc-ai / relax

Apache License 2.0
149 stars 75 forks source link

[VM] Add whisper feature extractor to Relax VM #243

Closed LeshengJin closed 1 year ago

LeshengJin commented 1 year ago

This pr brings Whisper's feature extractor to Relax VM. The feature extractor extracts mel-filter bank features from raw speech data. The deviation between the current implementation and huggingface's WhisperFeatureExtractor._np_extract_fbank_features is less than 1e-4.