/ Модель

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

Лицензия
Apache 2.0
Библиотека
onnx
Опубликована
10 окт 2026

ecapa-tdnn-3dspeaker-onnx

Классификация аудиоАудио → label

ECAPA-TDNN в формате ONNX преобразует 3,6 секунды речи в 192-мерный эмбеддинг для сравнения голосов и задач голосовой верификации.

0скачиваний за 30 дней0лайковвеса обновлены10 окт 2026

Бенчмарки

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

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

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

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

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

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

Это модель ECAPA-TDNN из проекта 3D-Speaker, преобразованная MPAI (Moving Picture, Audio and Data Coding by Artificial Intelligence) в формат ONNX для голосового распознавания в приложениях аватара Thalia, включая контроль доступа и регистрацию. Она принимает подготовленные по Kaldi фильтры log-Mel для монофонической речи с частотой 16 кГц и формирует вектор голосового эмбеддинга размерностью 192. Ожидаются 80 признаков на кадр и ровно 360 кадров, соответствующих 3,6 секунды речи; короткие записи дополняются, длинные обрезаются. Для сравнения голосов применяют косинусное сходство.

Модель предназначена для получения голосовых эмбеддингов и проверки сходства голосов, а не для непосредственной выдачи решения о личности. Точный исходный чекпойнт конвертации не зафиксирован; вероятным источником README называет iic/speech_ecapa-tdnn_sv_zh-cn_3dspeaker_16k. Повторная конвертация опубликованного чекпойнта даёт близкие, но не идентичные эмбеддинги. Репозиторий содержит ONNX-модель с opset 11 и лицензией Apache-2.0.

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

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

  • сравнение двух голосовых записей по сходству говорящего
  • проверка голоса при регистрации пользователя
  • голосовая проверка личности в приложении
  • формирование эмбеддингов для системы распознавания говорящих

Ограничения

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

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

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

Открыть на Hugging Face

ECAPA-TDNN speaker embedding (3D-Speaker), in ONNX

A speaker-embedding model in ONNX: it turns 3.6 seconds of speech into a vector of 192 numbers that is close to the vector of the same speaker and far from that of another. It is a conversion, made by MPAI - Moving Picture, Audio and Data Coding by Artificial Intelligence - of the ECAPA-TDNN of the 3D-Speaker project, for Thalia, the avatar of MPAI as a Service, whose Apps MAC and ACR (access control and registration) recognise a person by voice with it. The software is at https://github.com/mpai-community/mpai-sw, in AIMs/MMC/V2.5/SIR. It is not an official release of 3D-Speaker.

Where it comes from - and what is not certain

The model is the ECAPA-TDNN of 3D-Speaker (192-dimensional embeddings from 80-dimensional filterbank features, 16 kHz), most probably the checkpoint iic/speech_ecapa-tdnn_sv_zh-cn_3dspeaker_16k (ecapa-tdnn.ckpt), whose training data and results are described on its page.

The exact checkpoint and the conversion command of this file were not recorded. Converting that published checkpoint again with 3D-Speaker's own recipe (docs/conversion/export_ecapa_tdnn.py in the repository above) gives embeddings that are nearly, but not exactly, the same as the ones of this file (cosine similarity 0.998 to 0.9999 on test inputs). If you need a file you can reproduce, make it with that script.

The file

FileSize (bytes)SHA-256
ecapa-tdnn.onnx83,303,53238FDFC7D2BC9E2925349BAAB9639FCAF4B4C755BE83EE7D616B6E3FBC9D5EAB3

Input feature, float32, [1, 360, 80]: 360 frames (3.6 s) of 80-dimensional log-Mel filterbank features. The length is fixed. Output embedding, float32, [1, 192]. ONNX opset 11.

The features it expects

Kaldi-style filterbank, as in the 3D-Speaker recipes: 16 kHz mono; 25 ms Povey window, 10 ms hop; DC offset removed, pre-emphasis 0.97; 80 mel bins from 20 Hz to 7600 Hz; natural-log energies; mean normalisation over the utterance. Speech shorter than 360 frames is padded and longer speech truncated. AIMs/MMC/V2.5/SIR/MelSpectrogram.cs in the repository above is an implementation in C#. Two embeddings are compared by their cosine similarity; the threshold above which two voices are taken to be the same person depends on your use and has to be measured with your own speakers.

Limitations and responsible use

  • A voice is biometric personal data. Under the GDPR and similar laws, its use for identifying a person needs a legal basis, a notice, and care in how embeddings are stored.
  • It is not a security mechanism: a recording, or a voice made by a program, can be taken for a person. Do not use it alone to give access to anything important.
  • Its accuracy depends on the language, the microphone, the noise and how long the person speaks, and on who was in the training data; measure it on your own speakers.
  • Fixed input length: 3.6 s.

Licence and credit

Apache License 2.0, as the 3D-Speaker code and model: the licence text is in LICENSE. This is a modified version of the original (converted to ONNX with a fixed input length); the changes are stated here, as the licence requires. Credit for the model: the 3D-Speaker team, Speech Lab, Alibaba Group. Cite:

@article{chen20243d,
  title   = {3D-Speaker-Toolkit: An Open-Source Toolkit for Multimodal Speaker Verification and Diarization},
  author  = {Yafeng Chen and Siqi Zheng and Hui Wang and Luyao Cheng and Tinglong Zhu and Rongjie Huang and Chong Deng and Qian Chen and Shiliang Zhang and Wen Wang and Xihao Li},
  journal = {arXiv preprint arXiv:2403.19971},
  year    = {2024}
}

The conversion, and this file, are by MPAI (https://mpai.community).

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

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

GPU в ailist

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

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

В репозитории нет весов в формате PyTorch/safetensors.

Ревизия весов
80baf69

0 моделей