Audio Classification
Transformers
Safetensors
Vietnamese
English
audio_decision
feature-extraction
audio
speech
vietnamese
audio-question-answering
calibration
keyword-spotting
custom_code
Run this model with HF Jobs
Run v1olet/vi-audio-sys1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/v1olet/vi-audio-sys1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/v1olet/vi-audio-sys1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use v1olet/vi-audio-sys1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use v1olet/vi-audio-sys1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="v1olet/vi-audio-sys1", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("v1olet/vi-audio-sys1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
vi-audio-sys1
馃搫 Paper: doi.org/10.5281/zenodo.24668905
A fast, calibrated System-1 audio decision model for Vietnamese and English. Ask closed questions about a speech clip (in Vietnamese, English or both mixed) and get a calibrated probability for every answer. The clip is encoded once; any number of questions are answered in one pass.
- Questions: yes/no, score (probability), single choice, multiple choice, and "was this phrase said?" keyword questions.
- Covers: speech presence, language, code-switching, gender, accent (north / central / south), age group, speaker count, overlap, noise, background, telephone channel, clipping, topic, sentiment, intent, urgency and other call-level questions.
- Size: 0.33 B parameters (frozen Qwen3-ASR-0.6B encoder 184.7 M, multilingual-e5-small router 117.5 M, trained head 28.6 M); 1.34 GB GPU memory.
Quickstart
Requires transformers >= 5.22 and torch.
from transformers import AutoModel
model = AutoModel.from_pretrained("v1olet/vi-audio-sys1", trust_remote_code=True).to("cuda")
answers = model.ask("call.wav", [
{"type": "yes_no", "question": "C贸 ai 膽ang n贸i kh么ng?"},
{"type": "choice", "question": "Ng瓢峄漣 n贸i gi峄峮g mi峄乶 n脿o?", "options": ["mi峄乶 B岷痗", "mi峄乶 Trung", "mi峄乶 Nam"]},
{"type": "choice", "question": "Is the speaker male or female?", "options": ["male", "female", "cannot tell"]},
{"type": "score", "question": "How likely is it that the caller is angry?"},
{"type": "choice", "question": "Which details are mentioned?",
"options": ["a phone number", "an address", "a price"], "multiple": True},
{"type": "yes_no", "keyword": "ho脿n ti峄乶"}, # keyword question
])
for a in answers:
print(a["question"], "->", a["answer"], a.get("probability", a.get("probabilities")))
- Audio: a file path (WAV needs no extra package; other formats need
soundfile), a NumPy array or a torch tensor (passsampling_rate=), any sampling rate, up to 160 s. - Answers:
True/Falseforyes_no(withprobability), the probability forscore, the chosen option forchoice(withprobabilities), the list of options that apply formultiple: true. Decisions usep >= 0.5unless a question sets"threshold". model.ask_batch([clip1, clip2, ...], questions)answers the same questions for several clips.- Keyword questions (
keyword/keywords, or a phrase in 芦guillemets禄) use a transcript from the frozen Qwen3-ASR decoder, downloaded on first use. Matching is tone-aware: b谩n (sell) does not match b脿n (table).
Results
Mean accuracy over task families; every system answers the same questions.
| Audio | Eval set | vi-audio-sys1 | Marimba head | Smaug-0.7B | Gemma-4-E2B | Qwen2-Audio-7B |
|---|---|---|---|---|---|---|
| Vietnamese | test | 0.785 | 0.340 | 0.464 | 0.488 | 0.449 |
| Vietnamese | real out-of-domain speech | 0.761 | 0.396 | 0.556 | 0.534 | 0.526 |
| English | test | 0.821 | 0.460 | 0.541 | 0.490 | 0.463 |
| English | real out-of-domain speech | 0.715 | 0.364 | 0.438 | 0.415 | 0.581 |
- Held-out natural question wordings: 0.835 / 0.831 (positive / negated, test); options written in unseen words: 0.787 (test).
- Hand-written easy-question checklist (never trained): 27 of 29 checks at >= 0.90.
- Calibration: ECE 0.006 on test audio, 0.084 on real out-of-domain speech.
- Speed: one call answers 20 questions about a 5 s clip in about the time of one question.
Limitations
- Closed questions only; it does not transcribe (beyond the keyword transcript) or read out values.
- Call-level questions (intent, domain, urgency) were learned mostly from synthetic calls and are the weakest part.
- Weaker on noisy 8 kHz English phone calls; two similar voices taking turns can be counted as one; the Central accent is often heard as Southern.
- Calibration shifts on new domains; refit the temperature on your own labelled clips if you rely on the probabilities.
- Gender, age and accent outputs describe a recording, not a person. Not for identity verification, surveillance, or safety-critical decisions.
Citation
@misc{nguyenmau2026viaudiosys1,
title = {vi-audio-sys1: A Fast, Calibrated System-1 Audio Decision Model for Vietnamese and English},
author = {Nguyen-Mau, Trong-Hieu},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24668905},
url = {https://doi.org/10.5281/zenodo.24668905}
}
- Downloads last month
- 58
Model tree for v1olet/vi-audio-sys1
Base model
Qwen/Qwen3-ASR-0.6B