/ Модель

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

Лицензия
CC BY 4.0
Базовая модель
pocket-tts
Опубликована
19 окт 2026

pocket-tts-erinome-pt

Синтез речиТекст → аудио3 профессии
0скачиваний за 30 дней0лайковвеса обновлены20 окт 2026

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

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

Шестислойная модель Pocket TTS синтезирует речь на бразильском португальском голосом Erinome и рассчитана на быстрое выполнение, включая CPU.

Pocket TTS Erinome — модель синтеза речи, разработанная Marcos Remar на основе Kyutai Pocket TTS и дообученная для одного голоса Erinome на бразильском португальском языке. Версия модели-дистиллята использует 6 слоёв и предназначена для быстрого синтеза, в том числе в реальном времени на CPU; в репозитории также доступны ONNX-графы для потокового выполнения и 24-слойная модель-учитель.

Модель преобразует нормализованный португальский текст в речь с тембром выбранного голоса. В описанном автором тесте на 106 предложениях она показала WER 6,2% и сходство голоса Erinome 0,855 по WavLM и 0,598 по ECAPA. Цифры, даты, суммы и сокращения рекомендуется заранее записывать словами: модель плохо читает цифры.

Модель опубликована по лицензии CC BY 4.0. Следует соблюдать условия базовой модели: не имитировать голос без согласия, не вводить в заблуждение и не использовать модель для незаконных или злоупотребительных целей.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Pocket TTS — Erinome (Brazilian Portuguese, 6 layers)

Kyutai Pocket TTS fine-tuned on one Brazilian Portuguese voice ("Erinome") and distilled to the fast 6-layer size (CPU real time).

  • Base model: kyutai/pocket-tts (CC BY 4.0, by Kyutai). The teacher was fine-tuned from the released portuguese_24l model (1,000 steps); the student was distilled into 6 layers (initialised from the released 6-layer Portuguese weights, 16,000 steps, distill_cfg_coef 1.0) with the official training code (kyutai-labs/pocket-tts, MIT).
  • Data: marcosremar2/gemini-dataset-erinome, conversational and pace styles only (7.3 h; audio generated with Qwen3-TTS, Apache 2.0; rights to the reference voice confirmed by the dataset owner), plus 5 h of FLEURS pt_br text (CC BY 4.0) read by the fine-tuned teacher for distillation. No other speaker's audio was used.
  • Voice: erinome_6l_voice.safetensors is a fixed voice state exported once from one training clip (formal_001304_cb272cbf.wav, 6.0 s, median pitch 236 Hz, typical of the voice; output ~245 Hz). An earlier export from a low-pitched clip (179 Hz) made the voice sound male.
  • License: CC BY 4.0, as the base model. Follow the base model's use conditions: no impersonation without consent, no deception, nothing unlawful or abusive.

Results

106-sentence Portuguese pronunciation audit, Whisper large-v3-turbo, mean of 3 runs.

released Pocket 6lthis model
WER8.2 %6.2 %
Speaker similarity to held-out Erinome, WavLM (real vs real 0.889)0.8340.855
ECAPA (real vs real 0.598)0.5200.598
DNSMOS (real Erinome 3.36)3.253.31
CPU, 4 threads~3× real time~3× real time

Normalize the text first (numbers, dates, money and abbreviations written out): Pocket reads digits poorly.

Use

from pocket_tts import TTSModel

model = TTSModel.load_model(config="erinome_6l.yaml")
state = model.get_state_for_audio_prompt("erinome_6l_voice.safetensors")
audio = model.generate_audio(state, "Bom dia a todos, vamos começar a reunião de hoje.")

ONNX (ONNX Runtime, CPU)

onnx/ holds the same model as two streaming graphs (exported from pocket_tts 3.3 with onnx/export.py, opset 17, fp32). The ucast desktop app runs them in Rust on ONNX Runtime 1.22 for offline Portuguese dubbing.

  • flow_lm.onnx (358 MB): text embedding, one step of the 6-layer FlowLM with its KV cache and one LSD step of the flow head. In: tokens [1, Nt] int64, latent [1, Nl, 32] (NaN = start of speech), noise [1, 32] (normal, variance 0.3 = temperature), cache [6, 2, 1, T, 16, 64]. Out: latent_out [1, 32], eos [1, 1] (the sentence ends 3 frames after eos first goes above −4 at frame 6 or later; 5 frames for ≤ 4 words), cache_out [6, 2, 1, T + Nt + Nl, 16, 64]. Run it once with the text tokens and no latent, then once per 80 ms frame with the previous latent and no tokens.
  • mimi_decoder.onnx (41 MB): the streaming Mimi decoder. In: latent [1, N, 32] (raw FlowLM latents), state [526720] (zeros at the start of a sentence), offset [1] int64 (200 Hz frames already decoded, 16 per latent). Out: audio [1, 1920 N] at 24 kHz, state_out.
  • voice.bin (4 MB): the Erinome voice state as the FlowLM KV cache, float32 little endian [6, 2, 1, 75, 16, 64] — the cache of the first call of every sentence.
  • tokenizer.json: Kyutai's Portuguese tokenizer, unchanged.

Parity with PyTorch on CPU (onnxruntime 1.22.1, same noise, the 106-sentence audit): FlowLM step ≤ 4.5e-5 max abs error (teacher forced), Mimi audio ≤ 6.4e-6; free running, the autoregressive loop drifts apart on a few sentences, as two PyTorch runs on different hardware do. Whisper large-v3-turbo round trip, same seeds: PyTorch 6.9 / 7.5 / 7.3 % (mean 7.2 %), ONNX 7.2 / 7.6 / 7.3 % (mean 7.4 %) over three seeds. CPU speed (Xeon, 4 threads): 0.29 × real time (PyTorch 0.35 ×).

Teacher (24 layers)

teacher/ holds the fine-tuned 24-layer teacher the 6-layer model was distilled from (Kyutai's portuguese_24l fine-tuned on Erinome, step 1000): erinome_24l.safetensors (1.3 GB), erinome_24l.yaml and erinome_24l_voice.safetensors, exported from the same clip as the 6-layer voice (formal_001304_cb272cbf.wav). It is slower than the 6-layer model (about real time on 4 CPU threads); use it to distil again or to fine-tune further.

Training code

training/ holds the scripts and configs used on a Slurm GPU cluster (Apptainer, PyTorch 2.6, CUDA 12.4) with Kyutai's training code (kyutai-labs/pocket-tts @ 1df6b3da): data preparation and forced alignment (erinome_data.py, wav2vec2-xlsr-53 Portuguese), teacher fine-tuning (teacher*.yaml, train.sbatch), synthetic distillation data (synth.py), the student (student*.yaml, student_init.py), evaluation (scoring.py, final.py, anchors.py) and the voice-prompt choice (voices/). Paths and cluster settings are the author's; adapt them. Result summaries are in training/results/.

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

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

GPU в ailist

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

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

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
d7b86ba

0 моделей