Skip to content
ModelListedExternal
Download

Meld To Seac Audio Emotion Recognition Temporal Pooling Class Weights

This model performs speech emotion recognition from audio only using a frozen pretrained speech encoder and a lightweight classifier.

KindOtherVersionRevision 8f860db

Model source

Kind
Other
File size
779 KB
Version
vRevision 8f860db
Updated
Sep 19, 2026
Downloads
7
Source
Hugging Face

Source description

Audio Emotion Recognition (MELD → SEAC, Audio-only)

Overview

This model performs speech emotion recognition from audio only using a frozen pretrained speech encoder and a lightweight classifier.

The system is trained using cross-dataset transfer learning:

  • Pretrained on: MELD (English conversational emotions)
  • Fine-tuned on: SEAC (Serbian emotional speech)
  • Task: 5-class speech emotion classification

Emotions

The model predicts the following emotions:

  • neutral
  • joy
  • anger
  • sadness
  • fear

Architecture

  • Encoder: facebook/wav2vec2-base (frozen feature extractor)
  • Temporal pooling: Mean + Standard Deviation pooling
  • Classifier: Fully connected classification head
  • Loss: Weighted Cross-Entropy (handles class imbalance)
  • Training strategy: Transfer learning (classifier-only fine-tuning)

Temporal Pooling

To obtain stable utterance-level representations, the model applies:

Mean pooling + Standard deviation pooling over temporal hidden states.

This improves robustness compared to simple mean pooling by capturing both average signal content and temporal variability.


Transfer Learning Setup

Stage 1 — Pretraining (MELD)

  • Audio-only emotion recognition
  • Encoder frozen
  • Classifier trained on MELD emotional speech

Stage 2 — Fine-tuning (SEAC)

  • Encoder remains frozen
  • Classifier fine-tuned on Serbian speech
  • Class-weighted loss used to address imbalance
  • Temporal pooling applied

Evaluation (SEAC Test Set)

MetricScore
Accuracy0.7107
Weighted F10.7130

Notes

  • Sampling rate: 16 kHz
  • Encoder weights are loaded from facebook/wav2vec2-base
  • The released checkpoint contains only the classification head
  • Temporal pooling (mean + std) improves stability over standard mean pooling
  • Class-weighted loss improves performance on minority emotions

Sources

1 source

Model artifacts

2 artifacts

best_model.pt

pt · 779 KB · SHA-256 cdb858fe41a7…b663 · Hugging Face

Download

pytorch_model.bin

bin · 779 KB · SHA-256 28a6439be65e…e445 · Hugging Face

Download

Source excerpts

2 excerpts

--- license: mit library_name: pytorch pipeline_tag: audio-classification language: - sr - en datasets: - declare-lab/meld - seac metrics: - accuracy - weighted-f1 tags: - emotion-recognition - speech-emotion-recognition - audio - wav2vec2 - transfer-learning - temporal-pooling - class-imbalance - meld - seac --- # Audio Emotion Recognition (MELD → SEAC, Audio-only) ## Overview This model performs **speech emotion recognition from audio only** using a frozen pretrained speech encoder and a lightweight classifier. The system is trained using **cross-dataset transfer learning**: - **Pretrained on:** MELD (English conversational emotions) - **Fine-tuned on:** SEAC (Serbian emotional speech) - **Task:** 5-class speech emotion classification --- ## Emotions The model predicts the following emotions: - neutral - joy - anger - sadness - fear --- ## Architecture - **Encoder:** `facebook/wav2vec2-base` *(frozen feature extractor)* - **Temporal pooling:** **Mean + Standard Deviation pooling** - **Classifier:** Fully connected classification head - **Loss:** Weighted Cross-Entropy (handles class imbalance) - **Training strategy:** Transfer learning (classifier-only fine-tuning) --- ## Temporal Pooling To obtain stable utterance-level representations, the model applies: Mean pooling + Standard deviation pooling over temporal hidden states. This improves robustness compared to simple mean pooling by capturing both **average signal content and temporal variability**. --- ## Transfer Learning Setup ### Stage 1 — Pretraining (MELD) - Audio-only emotion recognition - Encoder frozen - Classifier trained on MELD emotional speech ### Stage 2 — Fine-tuning (SEAC) - Encoder remains frozen - Classifier fine-tuned on Serbian speech - **Class-weighted loss used to address imbalance** - Temporal pooling applied --- ## Evaluation (SEAC Test Set) | Metric | Score | |--------------|-------| | Accuracy | **0.7107** | | Weighted F1 | **0.7130** | --- ## Notes - Sampling rate: **16 kHz** - Encoder weights are loaded from `facebook/wav2vec2-base` - The released checkpoint contains **only the classification head** - Temporal pooling (mean + std) improves stability over standard mean pooling - Class-weighted loss improves performance on minority emotions ---

Source context: 7 downloads · 0 likes · Pipeline audio-classification · Library pytorch · Repo PetraMicanovic/meld-to-seac-audio-emotion-recognition-temporal-pooling-class-weights