Files
HuggingFace_transformer/tests/models
NielsRogge 4973d2a04c Add Audio Spectogram Transformer (#19981)
* First draft

* Make conversion script work

* Add id2label mapping, run code quality

* Fix copies

* Add first draft of feature extractor

* Update conversion script to use feature extractor

* Make more tests pass

* Add docs

* update input_features to input_values + pad by default to max length

* Fix doc tests

* Add feature extractor tests

* Add proper padding/truncation to feature extractor

* Add support for conversion of all audioset checkpoints

* Improve docs and extend conversion script

* Fix README

* Rename spectogram to spectrogram

* Fix copies

* Add integration test

* Remove dummy conv

* Update to ast

* Update organization

* Fix init

* Rename model to AST

* Add require_torchaudio annotator

* Move import of ASTFeatureExtractor under a is_speech_available

* Fix rebase

* Add pipeline config

* Update name of classifier head

* Rename time_dimension and frequency_dimension for clarity

* Remove print statement

* Fix pipeline test

* Fix pipeline test

* Fix index table

* Fix init

* Fix conversion script

* Rename to ForAudioClassification

* Fix index table

Co-authored-by: Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
2022-11-21 18:58:54 +01:00
..
2022-11-02 17:38:44 +01:00
2022-11-14 01:04:26 -05:00
2022-11-15 11:33:09 -05:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-11-02 17:38:44 +01:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-11-02 11:57:36 +00:00
2022-11-02 17:38:44 +01:00
2022-11-04 12:45:34 +00:00
2022-11-02 17:38:44 +01:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-11-02 17:38:44 +01:00
2022-11-14 01:04:26 -05:00
2022-11-02 11:57:36 +00:00
2022-11-02 17:38:44 +01:00
2022-11-15 11:33:09 -05:00
2022-05-12 16:25:55 -04:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-06-24 16:26:14 +02:00
2022-07-27 11:14:47 -04:00
2022-11-14 01:04:26 -05:00
2022-11-02 11:57:36 +00:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00