AST_Audio_768 / README.md
Neelesh-Babu's picture
Add AST Audio 768 ONNX model for EIDORA
3539ece verified
|
Raw History Blame Contribute Delete
2.77 kB
---
library_name: onnx
pipeline_tag: feature-extraction
license: bsd-3-clause
tags:
- eidora
- eidora-model-zoo
- onnx
- onnxruntime
- embeddings
- audio
- ast
- audio-spectrogram-transformer
- compute:medium
- modality:audio
base_model: MIT/ast-finetuned-audioset-10-10-0.4593
metrics:
- cosine-similarity
model-index:
- name: AST_Audio_768
results: []
---
# AST Audio 768
Audio Spectrogram Transformer (AST) adapted for use as an
audio embedding model in EIDORA.
The model is derived from the AudioSet-fine-tuned checkpoint
[`MIT/ast-finetuned-audioset-10-10-0.4593`](https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593).
## Model description
This model converts audio into a 768-dimensional embedding.
It uses the pretrained AST encoder rather than the original
audio classification head.
The output is L2-normalized for cosine-similarity workflows.
## Inputs and outputs
| Property | Value |
| --- | --- |
| Input modality | Audio |
| Sample rate | 16,000 Hz |
| Channels | Mono |
| Excerpt length | 10 seconds |
| Waveform | float32 `[1, 160000]` |
| Valid sample count | int64 `[1]` |
| Output | float32 `[1, 768]` |
| Normalization | L2 |
| Similarity | Cosine |
Shorter audio excerpts are zero-padded. The `valid_samples`
input identifies the valid audio length.
Audio feature extraction, including the AST-compatible
mel-filterbank representation, is integrated into the ONNX
graph.
## Intended use
The model provides audio representations for exploratory
similarity analysis, clustering and other embedding-based
workflows.
It is not an automatic speech recognition model and does
not output transcripts or audio classification probabilities.
## Model provenance
- Original architecture: Audio Spectrogram Transformer (AST)
- Source checkpoint: `MIT/ast-finetuned-audioset-10-10-0.4593`
- Fine-tuning dataset: AudioSet
- Paper: [AST: Audio Spectrogram Transformer](https://arxiv.org/abs/2104.01778)
- Original authors: Yuan Gong, Yu-An Chung, James Glass
- Upstream license: BSD 3-Clause
## EIDORA integration
This package follows the EIDORA ONNX package schema v3.
The ONNX graph accepts waveform audio directly and returns
one normalized embedding per prepared input.
## Limitations
The representations originate from a model trained for
general audio-event classification. They should not be
interpreted directly as speech, emotion or music labels.
Embedding quality depends on the input content and the
original training distribution. Performance on specialized
historical audiovisual material has not been established
through a dedicated downstream benchmark.
## Citation
Gong, Yuan; Chung, Yu-An; and Glass, James (2021).
*AST: Audio Spectrogram Transformer.*
Interspeech 2021.
https://arxiv.org/abs/2104.01778