Practical overview
When it fits
Use it when you need a documented starting point for local inference with the ONNX export or want to inspect hidden-state outputs for speech research.
Who it is for
- Developers prototyping speech emotion inference with ONNX.
- Researchers exploring dimensional emotion estimates or using hidden-state speech embeddings in related experiments.
Documented uses
- Load the ONNX model locally and request arousal, dominance and valence estimates from a signal.
- Extract hidden-state outputs for downstream speech emotion recognition experiments.
- Review the model’s training lineage and use the accompanying notebook for a longer introduction.
Requirements & limits
The model is available from Zenodo. Its CC BY-NC-SA 4.0 terms permit non-commercial use; the README says commercial use requires a devAIce license. The repository source code is MIT-licensed.
- The tutorial demonstrates the ONNX export with audonnx; the original Torch model is identified separately on Hugging Face.
- Inference outputs are logits ordered arousal, dominance, valence; hidden states are suggested for use as embeddings.
- The model and repository code have different licenses, so check the model’s non-commercial and commercial-use terms separately.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Load the ONNX model and request inference
Set up the documented audonnx flow and pass a 16 kHz signal to the model.
Before you start
- Python virtual environment
- audonnx installed with pip
- audeer and NumPy, as used by the example
- Network access to download the model archive from Zenodo
Steps
Install audonnx in the active Python environment.
Download and extract the model archive from the Zenodo URL shown in the README.
Load the extracted model directory with audonnx.load.
Pass a float32 signal and its 16,000 Hz sampling rate to the loaded model.
Expected outcome
The example returns hidden states and logits ordered as arousal, dominance and valence.
Guide limitations
- The quick-start example uses a random one-second signal, not an evaluation on a real recording.
- The model is licensed CC BY-NC-SA 4.0 for non-commercial use; the README says commercial use requires a devAIce license.
- The example documents the ONNX export, not inference using the original Torch model.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 10 November 2026
- Original website title
- audeering/w2v2-how-to · Official homepage title · retained in its source language

