transformers/tests/models/audio_spectrogram_transformer
Yoach Lacombe be74b2ead6
Add numpy alternative to FE using torchaudio (#26339)
* add audio_utils usage in the FE of SpeechToText

* clean unecessary parameters of AudioSpectrogramTransformer FE

* add audio_utils usage in AST

* add serialization tests and function to FEs

* make style

* remove use_torchaudio and move to_dict to FE

* test audio_utils usage

* make style and fix import (remove torchaudio dependency import)

* fix torch dependency for jax and tensor tests

* fix typo

* clean tests with suggestions

* add lines to test if is_speech_availble is False
2023-11-08 07:39:37 +00:00
..
__init__.py Add Audio Spectogram Transformer (#19981) 2022-11-21 18:58:54 +01:00
test_feature_extraction_audio_spectrogram_transformer.py Add numpy alternative to FE using torchaudio (#26339) 2023-11-08 07:39:37 +00:00
test_modeling_audio_spectrogram_transformer.py CI with `num_hidden_layers=2` 🚀🚀🚀 (#25266) 2023-08-02 20:22:36 +02:00