Downloads · 30 days
0
jaimebellver/whisper-large-v3-SER
whisper-large-v3-SER is a audio classification model from jaimebellver. Use it for the audio classification task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-4.0.
Multilingual Speech Emotion Recognition for Iberian Languages A Generative AI Approach with LLMs and Data Augmentation Techniques
Downloads · 30 days
0
Access
Public
Updated Oct 17, 2025
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.ckpt1.3 GB · 100%
From the Hugging Face model README
Multilingual Speech Emotion Recognition for Iberian Languages A Generative AI Approach with LLMs and Data Augmentation Techniques
This repository hosts the model whisper-ser-iemocap_meacorpus.ckpt, released as part of the paper:
Bellver-Soler, J., Guragain, A., Ramos-Varela, S., Córdoba, R., & D’Haro, L.F. (2025) Multilingual Speech Emotion Recognition for Iberian Languages: A Generative AI Approach with LLMs and Data Augmentation Techniques. Universidad Politécnica de Madrid (UPM) 📄 SSRN Preprint
This model combines Whisper-large-v3 as a self-supervised acoustic encoder with attentive pooling and a frozen Bloomz-7B1 LLM classifier, trained for emotion recognition on the IEMOCAP and MEA-Corpus datasets.
| Component | Description |
|---|---|
| Audio Encoder | openai/whisper-large-v3 – frozen during training |
| Pooling | Single-head attentive pooling layer |
| Classifier | Frozen bigscience/bloomz-7b1 LLM used as classification head |
| Projection Layer | Linear adapter mapping acoustic embeddings to LLM hidden size |
| Loss Function | Weighted cross-entropy |
| Optimizer | AdamW with cosine LR schedule and warm-up |
| Sampling Rate | 16 kHz |
Speech Emotion Recognition (SER) Predict the emotion expressed in an audio waveform among:
['neutral', 'happy', 'sad', 'angry', 'fear', 'surprise', 'disgust']
| Dataset | Language | Type | Hours | Notes |
|---|---|---|---|---|
| IEMOCAP | English | Acted | 7.0 | Standard benchmark |
| MEACorpus | Spanish | Natural | 13.2 | In-the-wild TV data |
| Dataset | F1 (macro) | Augmentation |
|---|---|---|
| IEMOCAP | 0.719 | Spectrogram masking |
| MEACorpus | 0.786 | Mix-up |
| EMS (Spanish) | 0.783 | TTS Augmentation |
| VERBO (Portuguese) | 0.765 | Mix-up |
| AhoEmo3 (Basque) | 0.994 | Mix-up |
Frozen Bloomz-7B1 improves F1 by +4.9% over a linear MLP head.
Audio → Whisper Encoder → Attentive Pooling → Linear Projection → Bloomz-7B1 (frozen) → Emotion logits
import torch
import torchaudio
# Load model checkpoint
model = torch.load("whisper-ser-iemocap_meacorpus.ckpt", map_location="cpu")
model.eval()
# Example audio
waveform, sr = torchaudio.load("example.wav")
assert sr == 16000, "Audio must be 16 kHz"
# Forward pass
with torch.no_grad():
logits = model(waveform)
probs = torch.nn.functional.softmax(logits, dim=-1)
emotion = probs.argmax(dim=-1)
print("Predicted emotion:", emotion.item())
If you use this model, please cite:
@article{bellversoler2025multilingual,
title={Multilingual Speech Emotion Recognition for Iberian Languages: A Generative AI Approach with LLMs and Data Augmentation Techniques},
author={Bellver-Soler, Jaime and Guragain, Anmol and Ramos-Varela, Samuel and Córdoba, Ricardo and D’Haro, Luis Fernando},
journal={Computer Speech & Language},
year={2025},
note={Preprint, SSRN: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5244228}
}
| Resource | Description |
|---|---|
| 🧠 SpeechFactory (GitHub) | Codebase to generate synthetic emotional datasets |
| 🎧 SER-MSPMEA-Spanish (Hugging Face) | Synthetic Spanish emotional dataset generated via FishSpeech-TTS |
| MSP-MEA | Spanish extension of MSP-Podcast generated with voice cloning |
| Upcoming: IEMOCAP-MEA dataset | A new cross-lingual dataset combining IEMOCAP and MEACorpus recordings will be released soon, extending the current Whisper-SER model for multilingual benchmarking. |
Released under CC BY 4.0. Attribution required for derivative works. Note: MEACorpus includes YouTube-sourced content — additional rights may apply.
Supported by:
Authors: Jaime Bellver-Soler, Anmol Guragain, Samuel Ramos-Varela, Ricardo Córdoba, Luis Fernando D’Haro Speech Technology and Machine Learning Group, Universidad Politécnica de Madrid