Caller emotion models
Fast voice emotion models for phone calls in English and Arabic. They output seven emotions: angry, disgusted, fearful, happy, neutral, sad, surprised.
Each model keeps a speech encoder frozen and adds a small trained head that predicts 55 emotional attributes. A fixed table then turns those into the seven emotions. No human emotion labels went into training.
What's here
| Folder | Contents | Needs |
|---|---|---|
models/qwen_emotion | Qwen3-ASR encoder, compressed, with head | numpy, onnxruntime |
models/parakeet_emotion | Parakeet encoder fine-tuned on phone speech, compressed, with head | numpy, onnxruntime |
models/horizon_small_emotion | Multilingual words model, as ONNX | numpy, onnxruntime, tokenizers |
models/whisper_emotion | Head for Whisper large-v3 | torch, transformers, a GPU |
models/parakeet_original | The full Parakeet checkpoint in NeMo form, for rebuilding features | nemo_toolkit, torch |
models/students | Trained heads | torch |
Quick start
import sys
sys.path.insert(0, "models/qwen_emotion")
from qwen_emotion import QwenEmotion
model = QwenEmotion("models/qwen_emotion", threads=4)
scores = model.scores(pcm_float32_16k) # seven scores, in model.classes order
Audio is mono float32 at 16 kHz. Use scores() for ranking and alerts. Scores aren't calibrated, so set any alert line from your own traffic.
Licences and sources
Check each source's own terms before use.
| Part | Source | Licence as listed |
|---|---|---|
| Qwen encoder | Qwen/Qwen3-ASR-1.7B-hf | Apache-2.0 |
| Whisper encoder | openai/whisper-large-v3 | Apache-2.0 |
| Parakeet base | nvidia/parakeet-tdt_ctc-110m | CC BY 4.0 |
| Parakeet fine-tune | models/parakeet_original, see its NOTICE | CC BY 4.0 |
| Words model | Horizon-Labs/multilingual-emotions-small | Apache-2.0 |
| Teacher | laion/Empathic-Insight-Voice-Small | CC BY 4.0 |
| Training audio | espnet/yodas2 | CC BY 3.0 |
The Apache-2.0 tag above covers only the code and heads written for this repo. Each listed part keeps its own licence. The rights behind YODAS's YouTube audio are listed, not confirmed. The Parakeet fine-tune was trained on real phone speech, and that audio is not released.
Limits
These are research results and haven't been tested on live calls. Naming one top emotion per turn is still weak, so ranking with an alert threshold works better. Fearful and disgusted have few test examples.