docs: standardize EIDORA model card
Browse files12345671 unmodified line9101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104---library_name: onnxpipeline_tag: feature-extractionlicense: bsd-3-clausetags:- eidora- eidora-model-zoo1 unmodified line- onnxruntime- embeddings- audio- ast- audio-spectrogram-transformer- compute:medium- modality:audiobase_model: MIT/ast-finetuned-audioset-10-10-0.4593metrics:- cosine-similaritymodel-index:- name: AST_Audio_768results: []---# AST Audio 768Audio Spectrogram Transformer (AST) adapted for use as anaudio 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 descriptionThis model converts audio into a 768-dimensional embedding.It uses the pretrained AST encoder rather than the originalaudio 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-compatiblemel-filterbank representation, is integrated into the ONNXgraph.## Intended useThe model provides audio representations for exploratorysimilarity analysis, clustering and other embedding-basedworkflows.It is not an automatic speech recognition model and doesnot 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 integrationThis package follows the EIDORA ONNX package schema v3.The ONNX graph accepts waveform audio directly and returnsone normalized embedding per prepared input.## LimitationsThe representations originate from a model trained forgeneral audio-event classification. They should not beinterpreted directly as speech, emotion or music labels.Embedding quality depends on the input content and theoriginal training distribution. Performance on specializedhistorical audiovisual material has not been establishedthrough a dedicated downstream benchmark.## CitationGong, Yuan; Chung, Yu-An; and Glass, James (2021).*AST: Audio Spectrogram Transformer.*Interspeech 2021.https://arxiv.org/abs/2104.017781234561 unmodified line89101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596---library_name: onnxpipeline_tag: feature-extractiontags:- eidora- eidora-model-zoo1 unmodified line- onnxruntime- embeddings- audiolicense: bsd-3-clausebase_model: MIT/ast-finetuned-audioset-10-10-0.4593---# AST Audio 768 — General Audio EmbeddingsThis EIDORA version of the Audio Spectrogram Transformer turns a short audio excerpt into a single vector. It uses the sound-event-trained AST encoder, not its original audio-event classifier.## Recommended UseChoose AST when the sounds around speech matter as much as the speech itself. It offers a starting point for grouping recordings with similar acoustic textures or for comparing short audio segments in a collection. Listening to representative examples is still important: a cluster may reflect recording quality or background noise rather than the event you are investigating.## Limitations- The output does not identify sound events, transcribe words, or label emotions.- Only the configured ten-second excerpt is represented. An event elsewhere in a longer recording will not contribute to that vector.- The source checkpoint was fine-tuned on general AudioSet sounds, so its distances may be less meaningful for recordings with very different acoustic characteristics.## Input**What you provide:** an audio recording. EIDORA prepares a mono waveform excerpt before ONNX inference.| ONNX input | Type | Shape | Prepared from || --- | --- | --- | --- || `waveform` | `float32` | `[1, 160000]` | waveform || `valid_samples` | `int64` | `[1]` | valid_samples |## Output`embedding` is `float32` with shape `[1, 768]`. The **768-dimensional** embedding is **L2-normalized** for **cosine similarity**. It represents the selected audio excerpt rather than a transcript or class probabilities.## Preprocessing1. Decode to **mono** audio at **16,000 Hz**.2. Use the **beginning** 10-second excerpt (**160,000 samples**). Pad shorter inputs and pass the actual length using `valid_samples`.3. Supply the prepared waveform to ONNX. The AST-compatible spectrogram/filterbank preparation is integrated into the ONNX graph.## Model Source and ArchitectureAST is a transformer applied to an audio spectrogram. In this EIDORA adaptation, the audio-event classification head is not returned. The exported output uses the AST pooler representation from the classification and distillation tokens, followed by L2 normalization.## Training Data and Checkpoint Provenance- **Upstream checkpoint:** [`MIT/ast-finetuned-audioset-10-10-0.4593`](https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593).- **Pinned revision:** Not specified in the supplied package metadata.The source checkpoint is the AudioSet-fine-tuned MIT AST model. AudioSet is an audio-event dataset; its labels are not returned by the EIDORA embedding graph. No additional task-specific training is declared for this export.## Research Context**Research paper:** [AST: Audio Spectrogram Transformer](https://arxiv.org/abs/2104.01778)Gong, Chung and Glass describe how transformer attention can model spectrogram patches for sound-event recognition. The architecture is useful here as a source of general acoustic features, while EIDORA repurposes it for comparison rather than direct classification.## Attribution and LicensingThe source checkpoint is listed under BSD-3-Clause, as is the EIDORA package metadata. Credit belongs to the AST authors and the MIT checkpoint maintainers. The EIDORA package is an ONNX embedding adaptation, not the original sound-event classifier.## References- **Research paper:** [AST: Audio Spectrogram Transformer](https://arxiv.org/abs/2104.01778)- **Source checkpoint:** [MIT/ast-finetuned-audioset-10-10-0.4593](https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593)**Suggested research citation (from the packaged configuration):**```bibtex@inproceedings{gong2021ast,title={AST: Audio Spectrogram Transformer},author={Gong, Yuan and Chung, Yu-An and Glass, James},booktitle={Interspeech},year={2021},doi={10.21437/Interspeech.2021-698},url={https://arxiv.org/abs/2104.01778}}```## Package Information- **Repository:** `EIDORA/AST_Audio_768`- **Package schema / version:** `3` / `1.0.0`- **Modality:** `audio`- **ONNX graph(s):** `model.onnx`- **Configuration:** `config.yaml`- **Declared ONNX Runtime providers:** `CUDAExecutionProvider`, `CPUExecutionProvider`, `CoreMLExecutionProvider`Execution-provider availability depends on the user’s EIDORA installation, operating system and hardware. The declared providers are configuration options, not a guarantee of equal speed or identical hardware use. The `config.yaml` file defines the exact runtime input/output contract.
README.md+59-67