huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
128.29k stars 25.45k forks source link

[WIP] Add implementation of `_extract_fbank_features_batch` #31579

Open ravenouse opened 4 days ago

ravenouse commented 4 days ago

What does this PR do?

Following the discussion in #27159, this PR will add implementations of _extract_fbank_features_batch for the audio models that use the spectrogram function for feature extractions.

This PR is still a WIP and it is not ready for review yet.

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/contributors who may be interested in your PR.

amyeroberts commented 3 days ago

cc @ylacombe