/ Модель

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

Лицензия
Своя лицензия
Архитектура
melati_head · dense
Базовая модель
whisper-large-v3
Библиотека
transformers
Опубликована
24 окт 2026

Melati-NonVerbal-Whisper-Large-V3

Классификация аудиоАудио → label5 профессий
97скачиваний за 30 дней0лайковвеса обновлены27 окт 2026

Описание модели

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

Модель Melati на основе Whisper large-v3 обнаруживает вдохи, смех и кашель в речи и помогает привязать эти события ко времени транскрипта.

Melati NonVerbal — модель Melati для автоматического обнаружения невербальных звуков в речи и привязки их ко времени в аудио. Она дообучена на замороженных признаках энкодера OpenAI Whisper large-v3: к ним добавлены две небольшие классификационные головы. Модель принимает аудио; её выходы — вероятности классов звуков по временным сегментам, а скрипт Melati сопоставляет их с размеченными словами и вставляет в транскрипт теги вроде [breathes], [laughs] и [coughs].

Голова gap классифицирует звуки в паузах между выровненными словами, включая вдохи, смех, кашель и другие события. Голова frame оценивает смех, кашель, речь и прочие звуки с шагом 0,1 секунды и контекстом примерно шесть секунд, в том числе при наложении звука на речь. Модель предназначена для разметки подкастов, встреч и интервью; её оценивали на английских данных. Лицензия в метаданных обозначена как other, конкретные условия README не приводит.

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

  • разметка вдохов в транскриптах подкастов
  • поиск смеха в аудиозаписях интервью
  • обнаружение кашля во время речи и пауз
  • добавление временных тегов невербальных звуков к транскриптам встреч

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

Melati non-verbal model (Whisper-large-v3)

Breaths, laughs and coughs in speech, with their times. Melati's speech-data pipeline uses it to put Drama-3-style point tags ([breathes], [laughs], [coughs]) into podcast transcripts, at the time each sound happened. Code, training and evaluation: Melati on GitHub.

One checkpoint: the encoder of openai/whisper-large-v3 (float16) and two small heads on its frozen features (float32):

  • gap head: what a sound cut out of a gap between two aligned words is (speech, filler, breath, laugh, cough, sigh, sniff, throat clearing, sneeze, noise, other). Every encoder layer mean-pooled over the clip's own frames, a learned mix of the layers, LayerNorm, one 256-unit hidden layer. It tags breaths.
  • frame head: every 0.1 s of a segment, an independent probability of laugh, cough, other, speech. Eight encoder layers averaged to 10 frames a second, a learned mix of them, and four residual dilated convolutions over time (about 6 s of context). It tags laughs and coughs, including the ones over speech, which no gap holds.

Use

# pip install torch transformers huggingface_hub
import torch
from transformers import AutoFeatureExtractor, AutoModel

repo = "Scicom-intl/Melati-NonVerbal-Whisper-Large-V3"
model = AutoModel.from_pretrained(repo, trust_remote_code=True, dtype=torch.float16).cuda().eval()
fe = AutoFeatureExtractor.from_pretrained(repo)

f = fe([clip_16k], sampling_rate=16000, return_tensors="pt").input_features.cuda()
frames = torch.tensor([int(len(clip_16k) / 16000 * 50)])     # Whisper pads to 30 s: pool over the clip only
probs = model(f, num_frames=frames).logits.softmax(-1)      # gap head, over model.config.labels
per_frame = model.frames(f)                                 # frame head: (1, 300, 4), 10 a second over the 30 s

To tag a transcribed segment the way Melati does, melati_nonverbal.py (in this repository) finds the gap candidates, reads the frames, and applies the thresholds:

from huggingface_hub import hf_hub_download
import importlib.util
spec = importlib.util.spec_from_file_location("melati_nonverbal", hf_hub_download(repo, "melati_nonverbal.py"))
m = importlib.util.module_from_spec(spec); spec.loader.exec_module(m)

nv = m.NonVerbal.from_pretrained(repo)
events = nv.tag(audio_16k, words)   # words: [{"s": 0.31, "e": 0.62}, ...] from a forced aligner

A gap candidate is sound in a gap between words (and before the first, after the last) above both the clip's noise floor + 2 dB and its speech level -40 dB for at least 80 ms, cut out with 0.3 s of silence on either side; it is a breath where that is its most probable non-verbal class and clears 0.7. A laugh or a cough is a run of frames over its threshold (laugh 0.9, cough 0.999), joined across up to two quiet frames and at least 0.2 s long. Each threshold is the lowest giving 80% precision where it was chosen: breaths and laughs on PodcastFillers' validation episodes, coughs on AMI's dev meetings (PodcastFillers labels none).

Evaluation

PodcastFillers test episodes (English podcasts, 20 episodes from shows nothing here trained on), through the whole Melati pipeline, inside the regions it exports. PodcastFillers labelled only what its own detector proposed, so precision is given where it has a label (a tag where it has none is unscored, not wrong). Found / precise:

classthis modelprevious releaseQwen3-Omni-30B
laughs71% / 77%60% / 86%47% / 91%
breaths70% / 83%50% / 83%not tagged

The tags PodcastFillers has no label for were played to AudioSet's own classifier (AST), which no part of Melati trained: unlabelled laugh tags score 0.007 on its Laughter class against 0.015 for hand-labelled laughs, and 85% of unlabelled breath tags sound to it breath-like (gasp, sigh, breathing) against 78% of hand-labelled breaths.

Laughs at every threshold. This model's laugh precision above is where its threshold sits, not what it can do: at each threshold of the frame head, on the same episodes through the same pipeline, it passes the previous release's point. At 0.97, the threshold AMI's dev meetings choose, it finds 60% of the laughs at 87% precision, against the previous release's 60% at 86%; the 0.9 it ships with trades that for more laughs. The Melati dataset tags laughs at 0.97.

Meetings and interviews, at the same thresholds. AMI's test meetings (16 meetings of four people nothing here trained on; a tag is right where the transcribers marked a sound of its class nearby) and NonverbalTTS's test split (359 clips of interviews and expressive read speech, word-boundary tags; right within one word):

testthis model: found at precisionprevious release
AMI test meetings, laughs64% at 65% (65% of those over speech)4% at 81%
AMI test meetings, coughs35% at 84%0%
NonverbalTTS test, laughs50% at 74%34% at 86%
NonverbalTTS test, breaths10% at 69%37% at 86%
NonverbalTTS test, coughsnone tagged41% at 92%

On held-out clips of its training corpora, the gap head's F1 at the most probable class (classes with at least ten of them): AMI's test meetings: laugh 0.80, cough 0.50, other 0.58; Coswara: cough 1.00; COUGHVID: cough 1.00; PodcastFillers' test episodes: speech 0.78, filler 0.92, breath 0.86, laugh 0.79, noise 0.87.

Training data

  • PodcastFillers training episodes whose audio is CC BY 3.0: for the gap head, its hand-timed events and the gap candidates the pipeline's own rule finds there, labelled by the event each overlaps; for the frame head, every 30 s window holding a labelled event, its classes known inside the labelled regions only.
  • AMI training meetings (CC BY 4.0), the headset mix: every word and every marked vocal sound of a whole conversation. For the gap head, its gap candidates (unmarked ones as other); for the frame head, every frame.
  • Coughs from COUGHVID (those its authors' detector is confident about) and Coswara (those its listeners rated good or excellent), both CC BY 4.0.

NonverbalTTS only scores the model (its labels are CC BY-NC-SA 4.0). VocalSound and PodcastFillers' CC BY-SA and CC BY-ND episodes were left out so the weights can carry one licence.

Changes

Until 2026-10-25 this repository held a gap head alone that also trained on NonverbalTTS's candidates, and its licence file called NonverbalTTS Apache-2.0, which is what its metadata says; its README licenses the annotations CC BY-NC-SA 4.0, and ShareAlike cannot hold beside PodcastFillers' licence in one set of weights. This version trains on AMI's meetings in their place, takes its laughs and coughs from the new frame head, and chooses its thresholds on PodcastFillers' validation episodes instead of NonverbalTTS: on NonverbalTTS it is now tested out of domain.

Limitations

  • Trained and measured on English: podcasts, meetings, interviews and crowdsourced coughs. On Malaysian podcasts, where Melati runs it, its tags are not yet measured against human labels.
  • The thresholds were chosen on podcasts and meetings; on NonverbalTTS's interviews the table above is what they give.
  • Coughs are the weak class: the frame head finds them in meetings, over speech too, but at the threshold chosen on AMI's dev meetings it tags none of NonverbalTTS's and none in Melati's 200-podcast pilot (the previous release tagged 0.2 an hour there). No licence-compatible corpus labels coughs in podcasts to choose a threshold on.
  • Sighs, sniffs, sneezes and throat clearing have outputs but no thresholds: nothing measured them on test.

Licence

Non-commercial research only, with the PodcastFillers licence; see LICENSE.

Citation

@misc{zolkepli2026melati,
  title  = {Melati: Multilingual Expressive speech, Labelled for Affect, Tags and Interjections},
  author = {Husein Zolkepli},
  year   = {2026},
  note   = {Scicom (MSC) Berhad}
}

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
MelatiHeadModel
Ревизия весов
24e22aa

0 моделей