Downloads · 30 days
0
smkrv/speech-emotion-classification-onnx
speech-emotion-classification-onnx is a audio classification model from smkrv. Use it for the audio classification task on the model card, and read the license before you ship it in a product. It is set up for onnxruntime. The card lists the license as apache-2.0.
ONNX INT8-quantized version of prithivMLmods/Speech-Emotion-Classification for on-device inference in macOS apps via ONNX Runtime C API.
Downloads · 30 days
0
Access
Public
Updated Feb 27, 2026
Repo size
1000 MB
Likes
1
Public
Click a slice to open those files.
.onnx1.1 GB · 100%
From the Hugging Face model README
ONNX INT8-quantized version of prithivMLmods/Speech-Emotion-Classification for on-device inference in macOS apps via ONNX Runtime C API.
[1, num_samples]| ID | Label | Full |
|---|---|---|
| 0 | ANG | Anger |
| 1 | CAL | Calm |
| 2 | DIS | Disgust |
| 3 | FEA | Fear |
| 4 | HAP | Happy |
| 5 | NEU | Neutral |
| 6 | SAD | Sad |
| 7 | SUR | Surprised |
On-device real-time speech emotion classification. Inference via ONNX Runtime C API.
// Swift — load and run via OnnxRuntimeWrapper
let wrapper = OnnxRuntimeWrapper()
try wrapper.load(modelPath: "model_int8.onnx")
let logits = try wrapper.run(inputName: "input_values", inputData: audioBuffer, inputShape: [1, Int64(audioBuffer.count)])
let emotionIdx = logits.firstIndex(of: logits.max()!)!
model_int8.onnx — INT8 quantized model (recommended for on-device use)model.onnx — FP32 full precision modelconfig.json — Model configuration with label mappingsOriginal model by prithivMLmods. Converted to ONNX by onnx-community. INT8 quantization and packaging for macOS by @smkrv.