AI SeedbankHelp preserve open and free AI for humanity's future

← All models

superb_wav2vec2-base-superb-er

superb · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


language: en datasets:

  • superb tags:
  • speech
  • audio
  • wav2vec2
  • audio-classification license: apache-2.0 widget:
  • example_title: IEMOCAP clip "happy" src: https://cdn-media.huggingface.co/speech_samples/IEMOCAP_Ses01F_impro03_F013.wav
  • example_title: IEMOCAP clip "neutral" src: https://cdn-media.huggingface.co/speech_samples/IEMOCAP_Ses01F_impro04_F000.wav

Wav2Vec2-Base for Emotion Recognition

Model description

This is a ported version of S3PRL's Wav2Vec2 for the SUPERB Emotion Recognition task.

The base model is wav2vec2-base, which is pretrained on 16kHz sampled speech audio. When using the model make sure that your speech input is also sampled at 16Khz.

For more information refer to SUPERB: Speech processing Universal PERformance Benchmark

Task and dataset description

Emotion Recognition (ER) predicts an emotion class for each utterance. The most widely used ER dataset IEMOCAP is adopted, and we follow the conventional evaluation protocol: we drop the unbalanced emotion classes to leave the final four classes with a similar amount of data points and cross-validate on five folds of the standard splits.

For the original model's training and evaluation instructions refer to the S3PRL downstream task README.

Usage examples

You can use the model via the Audio Classification pipeline:

from datasets import load_dataset
from transformers import pipeline

dataset = load_dataset("anton-l/superb_demo", "er", split="session1")

classifier = pipeline("audio-classification", model="superb/wav2vec2-base-superb-er")
labels = classifier(dataset[0]["file"], top_k=5)

Or use the model directly:

import torch
import librosa
from datasets import load_dataset
from transformers import Wav2Vec2ForSequenceClassification, Wav2Vec2FeatureExtractor

def map_to_array(example):
    speech, _ = librosa.load(example["file"], sr=16000, mono=True)
    example["speech"] = speech
    return example

# load a demo dataset and read audio files
dataset = load_dataset("anton-l/superb_demo", "er", split="session1")
dataset = dataset.map(map_to_array)

model = Wav2Vec2ForSequenceClassification.from_pretrained("superb/wav2vec2-base-superb-er")
feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained("superb/wav2vec2-base-superb-er")

# compute attention masks and normalize the waveform if needed
inputs = feature_extractor(dataset[:4]["speech"], sampling_rate=16000, padding=True, return_tensors="pt")

logits = model(**inputs).logits
predicted_ids = torch.argmax(logits, dim=-1)
labels = [model.config.id2label[_id] for _id in predicted_ids.tolist()]

Eval results

The evaluation metric is accuracy.

s3prl transformers
session1 0.6343 0.6258

BibTeX entry and citation info

@article{yang2021superb,
  title={SUPERB: Speech processing Universal PERformance Benchmark},
  author={Yang, Shu-wen and Chi, Po-Han and Chuang, Yung-Sung and Lai, Cheng-I Jeff and Lakhotia, Kushal and Lin, Yist Y and Liu, Andy T and Shi, Jiatong and Chang, Xuankai and Lin, Guan-Ting and others},
  journal={arXiv preprint arXiv:2105.01051},
  year={2021}
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:176c9c5fbdcf6fef97a080ad9d6cce6d515d5054&dn=superb_wav2vec2-base-superb-er

Open magnet in torrent client · infohash 176c9c5fbdcf6fef97a080ad9d6cce6d515d5054

Files & hashes

PathSizesha1sha256
README.md3.4 KB (3,499 B)946b32b18e4af30abc7634d14e15ddb5a52c42c199985cae3f746d8d11e758cd2c5d8d2918b457f6e1117191003d27656ba4d29b
config.json2.1 KB (2,153 B)7a277348ce4faf10d8573a7c21b861f25729a397631bd282ad58492a69cf870c2917bae90ef963079ed2d6e0611eee9e40a19894
preprocessor_config.json215 B (215 B)10f6def8c83d70a2b087a567dcf523b75152a80b99272fe8ccfab114b68b478681ea47ee3a1ce62bb788cb92dd6e4f69fb1f1da2
pytorch_model.bin360.8 MB (378,361,105 B)116cb361f336134837b58c44989111d38552a525dac0f46128deec048751ce33eb1a9caecb570904d3d6cf732d6ec345cd6c2e1b

Cite this release

Canonical URL
https://aiseedbank.org/models/superb_wav2vec2-base-superb-er/
Slug
superb_wav2vec2-base-superb-er
Infohash
176c9c5fbdcf6fef97a080ad9d6cce6d515d5054
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: superb_wav2vec2-base-superb-er.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorysuperb/wav2vec2-base-superb-er
Revision (pinned)441a7599c3b22107314dcbd9166621c5c83f2cc5
Fetched at2026-09-02T05:47:04Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T05:47:09Z

apache-2.0360.8 MB (378,366,972 bytes)transformerspytorchwav2vec2audio-classificationspeechaudioendpoints_compatible1 language (en)paper: 2105.01051