/ Модель

Характеристики

Лицензия
MIT
Базовая модель
wavlm-bert-base-s-emotion-russian-resd
Библиотека
transformers
Опубликована
3 авг 2026

wavlm-bert-base-s-emotion-v1-crosslingual

Классификация текстаТекст → label3 профессии

Модель Aniemore классифицирует эмоции в аудио вместе с транскриптом по семи классам и рассчитана на речь на восьми языках.

17скачиваний за 30 дней0лайковвеса обновлены4 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Aniemore/wavlm-bert-base-s-emotion-v1-crosslingual — модель распознавания эмоций в речи, разработанная Aniemore. Она принимает аудио вместе с транскриптом и относит речь к семи классам: гнев, отвращение, энтузиазм, страх, счастье, нейтральность и грусть. Архитектура WavLMBertForSequenceClassification объединяет Microsoft WavLM Large и bert-base-multilingual-cased. Модель переобучена на смеси 27 939 аудиофрагментов на восьми языках и с тремя регистрами речи; доступны веса fp32 и варианты int8, fp8 и int4.

Модель предназначена для анализа эмоциональной окраски спонтанной и подготовленной речи, например в подкастах и диалогах. В оценке она показала улучшение на спонтанной русской речи относительно предыдущего русскоязычного выпуска, но более низкий результат на тесте с разыгранной русской речью. Лицензия репозитория — MIT; в README сказано, что лицензия следует лицензии базовой модели.

Сценарии применения

  • Определение эмоций в спонтанной речи из подкастов
  • Анализ эмоциональной окраски реплик в диалогах
  • Классификация русской речи по семи эмоциональным классам
  • Сравнение эмоциональных характеристик речи на нескольких языках

Ограничения

Модель принимает аудио вместе с транскриптом, а транскрипты при обучении и оценке были чистыми, поэтому ошибки ASR могут ухудшить результат. Качество зависит от типа речи: показатели на разыгранной русской речи ниже, чем у предыдущего выпуска, а результаты CAMEO не подтверждают перенос на новые говорящие.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

wavlm-bert-base-s-emotion-v1-crosslingual

Speech emotion recognition over seven classes — anger, disgust, enthusiasm, fear, happiness, neutral, sadness.

Same architecture as Aniemore/wavlm-bert-base-s-emotion-russian-resd, retrained on a mix of 27,939 clips spanning eight languages and three speaking registers instead of one acted Russian corpus. The point of the change is spontaneous speech: the previous release was trained only on acted dialogue, where every class is equally frequent and every utterance is performed, and real speech is neither.

Quantized builds ship in the same repository under int8/, fp8/ and int4/.

Results

test setwhat it ismacro-F1UAWAprevious release
RESD testacted Russian, 7 balanced classes0.53000.58460.58570.7368
Dusha podcast testspontaneous Russian, majority neutral0.45020.66270.82350.0927
CAMEO test7 non-Russian languages0.50630.51110.61730.2090

Read the first two rows together. The acted score goes down and the spontaneous score goes up; both follow from the same change, and which one matters is a deployment question. If your audio is read or performed speech, the previous release may still suit you better.

CAMEO ships no train/test partition, and the usual way to make one — a random split over clips — puts nearly every test speaker into training as well: three of its twelve constituent corpora contain a single speaker each, so no clip-level split of them can be speaker-disjoint even in principle. The number above is reported for completeness. Treat it as an in-domain figure, not as evidence of cross-lingual transfer.

Each card leads with the macro-F1 for that set; the rows are the detail behind it. Both per-class numbers are shown because they disagree in a way that matters: recall rewards a class the model over-predicts, so on the spontaneous set the minority classes reach decent recall at poor F1 — most clips called sad there are not sad. If you are going to act on one class, read its F1.

Each set keeps its own class list: the spontaneous corpus has four classes and the other two have seven, and there is no correspondence between positive and any single one of happiness/enthusiasm to line them up with.

Per-class recall on spontaneous speech

classthis modelprevious release
angry0.50900.5749
neutral0.83830.0506
positive0.63340.3877
sad0.66990.1262

neutral carries most of real speech and is the class the previous release missed.

Quantized variants

subfolderschemeweightsvs fp32macro-F1UAWA
(root)fp321887 MiB1.0x0.53000.58460.5857
int8W8A16792 MiB2.4x smaller0.52960.58400.5857
fp8W8A16-float781 MiB2.4x smaller0.52990.58400.5857
int4W4A16_ASYM609 MiB3.1x smaller0.52290.58010.5821

Weight-only, round-to-nearest, no calibration. Every variant lands within the seed spread of the fp32 parent on RESD test, so the choice is about download size rather than about quality.

Training data

corpusclipslanguageregister
RESD948Russianacted dialogue
Dusha crowd6,800Russianacted, crowd-sourced
CAMEO6,8007 languages12 corpora, no Russian
Dusha podcast6,060Russianspontaneous podcast speech
IEMOCAP4,735Englishelicited dyadic sessions
ASVP-ESD2,596multilingualmixed register
total27,9398 languages3 registers

A slice is held out of every corpus in the mix, in the same proportion, and model selection is on that held-out split — never on any of the test sets above. Labels are unified to seven classes; four-class corpora are mapped upward and scored on the classes they actually contain.

Usage

import torch, librosa
from transformers import AutoModelForAudioClassification, AutoFeatureExtractor

repo = "Aniemore/wavlm-bert-base-s-emotion-v1-crosslingual"
model = AutoModelForAudioClassification.from_pretrained(repo).eval()
fe = AutoFeatureExtractor.from_pretrained(repo)

# Resample to 16 kHz. Do not skip it: RESD itself ships at 44.1 kHz,
# and handing the model 44.1 kHz audio while telling the extractor it
# is 16 kHz stretches time 2.8x and silently changes the answer.
wav, _ = librosa.load("clip.wav", sr=16000, mono=True)
x = fe(wav, sampling_rate=16000, return_tensors="pt", padding=True)
with torch.no_grad():
    probs = model(**x).logits.softmax(-1)[0]
print({model.config.id2label[i]: round(p.item(), 3) for i, p in enumerate(probs)})

For a quantized build, name the subfolder — only that subfolder is downloaded:

model = AutoModelForAudioClassification.from_pretrained(
    repo, subfolder="int8").eval()          # or "fp8", "int4"
fe = AutoFeatureExtractor.from_pretrained(repo, subfolder="int8")

Limitations

  • Scores are the mean of two seeds; the seed spread on the 280-clip RESD split is ±0.03–0.05, so differences smaller than that are not differences.
  • The spontaneous set has four classes where the model has seven, so its numbers are computed over a mapped label space and are not comparable to seven-class figures.
  • Spontaneous scores are at zero decision bias. Calibrating the neutral threshold on your own development split will move them.
  • This is a bimodal checkpoint: it takes a transcript alongside the audio. The transcripts used in training and evaluation are corpus-provided and clean, which ASR output is not.
  • Inherited from microsoft/wavlm-large + bert-base-multilingual-cased; the licence follows the base model.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
WavLMBertForSequenceClassification
Ревизия весов
3c55cb3

0 моделей