/ Модель

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

Контекст
32 768 токенов
Лицензия
Apache 2.0
Архитектура
zonos3_mini · dense
Базовая модель
ZONOS3-Mini
Библиотека
transformers
Опубликована
11 ноя 2026

ZONOS3-Mini-hf

Синтез речиТекст → аудио3 профессии

Мультиязычная модель Zyphra преобразует текст в речь, поддерживает настройку подачи и клонирование голоса.

3 196скачиваний за 30 дней14лайковвеса обновлены13 ноя 2026

Бенчмарки

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

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

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

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

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

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

ZONOS3-Mini-hf — компактная мультиязычная модель синтеза речи от Zyphra, упакованная для библиотеки Transformers. Она включает языковую модель с разреженной MoE-архитектурой, аудиокодек-декодер iSTFT и энкодер голоса MECT-B2; в основе 800 млн параметров, около 100 млн активных на токен. Контекст составляет 32 768 позиций, модель использует токенизатор SuperBPE и генерирует монофоническую речь с частотой 44,1 кГц.

Модель преобразует текст в речь на 43 языках, позволяет выбирать один из 27 встроенных голосов или клонировать голос по аудиофрагменту либо вектору говорящего. Можно задавать темп и громкость речи. Версия предназначена для запуска через Transformers на CPU или GPU; для нормализации чисел, дат и единиц рекомендуется дополнительный пакет zyphra_textnorm.

В этой упаковке отсутствуют некоторые функции исходной реализации: редактирование речи, управление акцентом, фонемный ввод, потоковая генерация и кодировщик аудиокодека. Длительные сгенерированные фрагменты могут отличаться от результатов эталонной реализации. Лицензия — Apache-2.0.

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

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

Ограничения

В упаковке для Transformers нет потоковой генерации, редактирования речи, управления акцентами, фонемного ввода и кодировщика аудиокодека. Длинные сгенерированные фрагменты могут отличаться от эталонной реализации.

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

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

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

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

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

Открыть на Hugging Face

ZONOS3-Mini for 🤗 Transformers

ZONOS3-Mini is Zyphra's compact text-to-speech model supporting 43 languages, with about 100 million active parameters per token (800 million total in the backbone). This repo packages it for plain transformers (remote code, trust_remote_code=True): the language model, the causal multi-resolution iSTFT codec decoder (keep2_plain) and the MECT-B2 speaker encoder in one checkpoint, with the SuperBPE tokenizer and the 27 release voices. It synthesizes 44.1 kHz mono speech on CPU or GPU with nothing but torch and transformers.

Model details, samples and evaluations: the blog post and technical report. The native runtimes (CUDA, MLX, ggml, WebGPU) and the full HTTP API live in the ZONOS3-Mini repository. Try the browser studio, its Lite voice-cloning interface, or Zyphra Cloud.

Languages

The same 43 languages as the main model, with the native runtimes' request codes (English has two locales):

RegionLanguages (language code)
Western and Southern EuropeEnglish (en_us, en_gb), French (fr_fr), Spanish (es), German (de), Italian (it), Portuguese (pt_br), Dutch (nl), Greek (el)
Northern EuropeSwedish (sv), Danish (da), Norwegian (no), Finnish (fi)
Central and Eastern EuropePolish (pl), Czech (cs), Slovak (sk), Hungarian (hu), Romanian (ro), Bulgarian (bg), Russian (ru), Ukrainian (uk)
Middle East and CaucasusTurkish (tr), Arabic (ar), Hebrew (he), Georgian (ka)
East AsiaMandarin Chinese (cmn), Japanese (ja), Korean (ko)
Southeast AsiaVietnamese (vi), Indonesian (id), Malay (ms), Thai (th), Tagalog (tl)
South AsiaHindi (hi), Bengali (bn), Tamil (ta), Telugu (te), Marathi (mr), Gujarati (gu), Kannada (kn), Malayalam (ml), Punjabi (pa), Odia (or), Urdu (ur)

Text normalization uses NeMo grammars via zyphra_textnorm for English, Mandarin, Japanese, Korean, German, Spanish, French, Italian and Portuguese. Other languages pass through as written, with line breaks collapsed; they do not require the optional normalizer. language selects normalization, not a language token in the prompt.

Usage

pip install "transformers>=4.57" torch soundfile
pip install zyphra-textnorm   # optional, recommended: reads numbers, dates, currencies and units aloud
import soundfile as sf
import torch
from transformers import AutoModel

model = AutoModel.from_pretrained("Zyphra/ZONOS3-Mini-hf", trust_remote_code=True)
model = model.to("cuda" if torch.cuda.is_available() else "cpu")

out = model.generate("Hello! This is ZONOS3-Mini running in transformers.", voice="Savannah", seed=0)
sf.write("hello.wav", out.waveform.numpy(), out.sampling_rate)

AutoModelForTextToWaveform loads the same class. The checkpoint's LM is bfloat16 (the release dtype): transformers 5 loads it as stored, transformers 4.x in float32 unless you pass dtype=torch.bfloat16. The codec decoder and the speaker encoder always stay in float32. dtype=torch.float32 gives the reference numerics on CPU.

Voices

Pick one voice source per call:

ArgumentConditioning
voice="Savannah"a release voice (below): its reference codes, or its speaker embedding with speaker_mode="embedding"
speaker_audio=wav, speaker_sample_rate=sra clip ([samples] or [channels, samples], any rate) through the speaker encoder
speaker_embedding=emba 192-d speaker embedding (model.embed_speaker(wav, sr) computes one)
speaker_reference_codes=codesprecomputed codec codes [frames, 10] of a clip (at most 60 s used)

speaker_mode defaults to "reference" for voices and codes and to "embedding" for clips and embeddings. speaker_cfg_scale (default 1.0) above 1 strengthens the voice through classifier-free guidance (a second LM pass per step). Encoding a raw clip into codec codes needs the codec encoder of the native runtimes; here clips clone through the speaker embedding.

import soundfile as sf

wav, sr = sf.read("my_voice.wav", dtype="float32", always_2d=True)
out = model.generate("Cloned from a clip.", speaker_audio=wav.T, speaker_sample_rate=sr, seed=1)

emb = model.embed_speaker(wav.T, sr)  # reuse it across calls
out = model.generate("Same voice, from its embedding.", speaker_embedding=emb, seed=1)
VoiceLanguageStyleGender
CillianEnglishIrishmale
ImogenEnglishBritishfemale
JettEnglishenergeticmale
MorganaEnglishwitchfemale
RupertEnglishBritishmale
SakuraEnglishanimefemale
SavannahEnglishAmericanfemale
ThaddeusEnglishannouncermale
WillowEnglishASMRfemale
WyattEnglishAmericanmale
GaspardFrench—male
LieselGerman—female
WolfgangGerman—male
AnanyaHindi—female
ArjunHindi—male
GinevraItalian—female
LorenzoItalian—male
MinjunKorean—male
SeoyeonKorean—female
HaoranMandarin Chineseenergeticmale
MeilinMandarin Chineseenergeticfemale
LeonorPortuguese—female
ThiagoPortuguese—male
RodrigoSpanish—male
XimenaSpanish—female
ChaitanyaTelugu—male
SravyaTelugu—female

Options

ArgumentDefaultMeaning
language"en_us"a request code from Languages; case-insensitive, accepts - for _
text_normalizationTruezyphra_textnorm when installed (otherwise a one-time warning and line breaks collapsed only)
condition_valuesunknown{"loudness": LUFS, "fmax": Hz, "speaking_rate": UTF-8 bytes per second} (or a list of 3)
condition_bucketsunknownthe same as bucket ids (loudness / fmax 0..9, speaking rate 0..29)
temperature, topk, top_p, min_p0.75, 80, 0.69, 0.0sampling
repetition_penalty, repetition_window, repetition_codebooks2.4, 96, 6repetition penalty
silence_prefill_frames3codec silence frames opening the take (0..30)
decode_context, decode_context_framesFalse, 30decode the reference tail as left context (reference mode)
max_new_framescontext leftframe budget (15 frames per second)
seedrandomthe take's seed (returned in out.seed)
headroom_db, fade_out_ms3.0, 0.0output gain (then a soft limiter at -1 dBFS) and fade-out

generate returns waveform (float32 [samples]), sampling_rate (44100), seed and codes (the decoded codec frames [frames, 10]). model.decode_codes(codes) turns codes into audio; model(input_ids=rows, cache=cache) runs one LM step over prompt rows [rows, 11] for custom decoding loops.

Architecture

ComponentZONOS3-Mini
Backbone11 layers, dimension 1,024; latent MoE with 64 experts, top-2 routing from layer 1
Sequence mixer9 Gated DeltaNet layers + 2 global attention layers, Full AttnRes; context 32,768 positions
TextSuperBPE, 8,192 entries + 4 special tokens
Audio tokens15 Hz; 10 codebooks of 4,096 entries (1 semantic + 9 acoustic); hop 2,940 samples at 44.1 kHz
Speaker promptcodec reference prefix (up to 60 s) or a 192-d MECT-B2 embedding
Decoderbundled keep2_plain causal multi-resolution iSTFT head; the native release also offers full_mr (its default)

Notes

  • The backbone configuration, tokenizer and 27 release voices match upstream revision 727302c1. Request languages follow the native language registry.
  • The prompt layout, sampler, EOS handling, codec and speaker encoder follow the reference implementation of the ZONOS3-Mini repository. The LM is vectorized (chunked gated-delta rule, grouped experts), so its logits match the reference within float tolerance and long sampled takes may drift from it.
  • Not included: speech editing, steering controls and accents, LACI, phoneme input, tag CFG, streaming decode and the codec encoder. The native runtimes serve them.
  • The text-to-speech pipeline is not supported: it tokenizes before the model sees the text, which skips the text normalization. Call generate with the raw text.

Citation

@misc{zyphra2026zonos3mini,
  title         = {{ZONOS3-Mini Technical Report}},
  author        = {Gabriel Clark and Sofian Mejjoute and George Close and Beren Millidge},
  year          = {2026},
  eprint        = {2611.16525},
  archivePrefix = {arXiv},
  primaryClass  = {cs.SD},
  url           = {https://arxiv.org/abs/2611.16525},
}

License

The weights are released under the Apache License 2.0. The remote code is ported from the ZONOS3-Mini repository (MIT) and includes adapted code from AntSpeaker (Apache-2.0), Hugging Face Transformers' Qwen3-Next model (Apache-2.0) and torchaudio (BSD-2-Clause); see NOTICE and licenses/.

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

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

GPU в ailist

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

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

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

Класс архитектуры
Zonos3MiniForTextToSpeech
Ревизия весов
e39d30d

0 моделей