/ Модель

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

Лицензия
MIT
Опубликована
2 сен 2026

pocket-tts-telugu-female-syspin

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

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

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

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

Модель prasadvittaldev/pocket-tts-telugu-female-syspin — модель синтеза речи на телугу, созданная Prasad Vittaldev на основе архитектуры Kyutai pocket-tts. Она предназначена для локального преобразования текста в речь на CPU, в том числе на устройствах без GPU и подключения к API. Архитектура включает 6-слойную flow-matching-модель и аудиокодек Mimi; всего около 110 млн параметров. Модель выдаёт звук с частотой 24 кГц и поставляется в вариантах float32, bfloat16 и 4-битном формате; также доступен экспорт ONNX.

Модель дообучена на данных телугу и дистиллирована из более крупной модели учителя. Она рассчитана на один женский голос: подмена голосового prompt не меняет голос, а голосовое клонирование не поддерживается. Для длинного текста README рекомендует генерировать по одному предложению, поскольку разбиение длинных фрагментов может приводить к пропуску слов. Лицензия — MIT.

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

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

Ограничения

Доступен один фиксированный голос; изменение voice prompt не меняет голос и клонирование голоса не поддерживается. Длинный текст рекомендуется подавать по одному предложению, иначе модель может пропускать слова.

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

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

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

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

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

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Синтез речи» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели сгенерируют результат по каждой задаче. Опубликованный тест появится на этой странице.

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

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

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

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

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

Открыть на Hugging Face

Pocket TTS — Telugu (తెలుగు) · single voice syspin_female

86 MB. A complete Telugu text-to-speech model, 4-bit quantised, running

real-time on a CPU with no GPU anywhere in the loop.

Hear it first — sample_int4_g32.wav is generated by the 4-bit weights in this repo, not by the float model.

~110M parameters, 24 kHz, one voice, MIT.

Built by Prasad Vittaldev. Follow me on LinkedIn — I publish every new voice and language there as it launches.

Why this exists

Kyutai's pocket-tts is a genuinely remarkable piece of work: a text-to-speech model small enough and fast enough to run in real time on a CPU, released under MIT, with a training recipe that anyone can reproduce. That combination is rare — most speech models of this quality assume a GPU at inference and a restrictive licence.

What it shipped with, though, were European languages. India has none.

This repository is that gap closed for Telugu. Kyutai's architecture, training recipe and codec are used as published; what is added here is the part that did not exist — Telugu data preparation, forced alignment in native Telugu script, a Telugu tokenizer, a full teacher finetune, and a depth distillation down to a model this size. The result keeps everything that makes pocket-tts a great deal — CPU real-time, MIT, on-device, no API key, no per-character billing, nothing leaving the machine — and makes it speak Telugu.

Model

Architecturepocket-tts, 6-layer flow-matching backbone + Mimi codec
Parameters~110M (including the Mimi codec)
Sample rate24 kHz
LanguageTelugu (తెలుగు)
Voicesyspin_female — fixed, see below
SpeedMeasured 5.5x real-time on CPU alone (no GPU) at int8, on desktop x86. Generating a minute of speech takes about 11 seconds.

The voice is fixed

This model was distilled on a single speaker, and voice cloning did not survive that. It ships a voice_prompt.wav because the API requires one, but supplying a different prompt will not change the voice — measured across four prompts spanning 137-231 Hz, this model's output stayed inside a 9 Hz band:

prompt clip24-layer teacher outputthis model's output
137 Hz136 Hz199 Hz
205 Hz204 Hz207 Hz
231 Hz185 Hz209 Hz
210 Hz213 Hz208 Hz

The teacher tracks its prompt; this student does not. That is the expected consequence of single-speaker distillation and it is why each voice is a separate repository rather than one model with selectable voices. If you want a different voice, use a different repo.

Files: start with the 4-bit one

fileprecisiondownloadnotes
model_int4_g32.safetensorsint4 + fp16 scales86 MBsmallest. Unpack with the script below.
model_bf16.safetensorsbfloat16209 MBloads directly
model.safetensorsfloat32418 MBloads directly, no reason to prefer it

The 4-bit file stores every backbone weight as two 4-bit codes per byte plus one fp16 scale per group of 32, and keeps the Mimi audio codec in fp16 — quantising a neural codec causes artefacts that have nothing to do with the language model. Reconstruction is (code - 8) * scale.

What 4-bit buys and what it does not. It is a download and storage win: 86 MB instead of 418 MB, a 4.8x reduction. It is not a memory win — unpacking restores fp16 tensors, so RAM at inference matches the bf16 build. A native int4 kernel would change that, and none exists for pocket-tts today.

For speed, add --quantize to any of the three: dynamic int8 on attention and feed-forward at load time, measured at 5.5x realtime against 3.5x realtime for float.

How far down can quantization go?

Every level below was generated from this model and listened to. Weight error is the mean relative error introduced in the 85.3 M backbone weights; duration is on one fixed 885-character Telugu passage where the reference is 74.3 s — a short clip means the model dropped text, which is an objective failure that needs no listening.

precisionweight errorbackbone sizedurationverdict
int80.4%81 MB74.3 sshipped default, indistinguishable
int4 group 3210.8%46 MB74.0 susable — no text lost
int4 group 12814.0%42 MB72.0 susable, slightly lossy
int3 group 3223.9%36 MB70.0 sdegrading — 5% of text lost
int3 group 12830.6%32 MB64.4 sdegrading — 13% lost
int2 group 3261.9%25 MB42.0 sbroken — 43% of the passage gone

A sample_*.wav for each row is in this repo, all the same passage, so the degradation is audible rather than merely tabulated.

int4 is the lowest usable precision and the audio holds up. It is not the shipped default for a practical reason: pocket-tts implements int8 only, and torchao's int4 CPU kernels need mslk, so there is no int4 runtime to point you at. quantize_int4.py in this repo reproduces the int4 weights exactly if you have a runtime that can use them. int3 and below are documented so nobody has to repeat the experiment — they lose words.

Note the backbone is not the whole model: the Mimi codec adds ~20 M parameters and is deliberately left in float, because quantizing a neural audio codec introduces artefacts unrelated to the language model.

Usage

pip install pocket-tts

The 86 MB route

Download the 4-bit file, unpack it once, then use it like any other checkpoint:

huggingface-cli download prasadvittaldev/pocket-tts-telugu-female-syspin model_int4_g32.safetensors quantize_int4.py --local-dir .
python quantize_int4.py --unpack --src model_int4_g32.safetensors --dst model.safetensors

That writes a normal safetensors file the stock loader reads. Point a config at it, or just use the hosted config and the full-precision weights below.

Straight from the Hub

python -m pocket_tts generate   --config hf://prasadvittaldev/pocket-tts-telugu-female-syspin/config.yaml   --voice  hf://prasadvittaldev/pocket-tts-telugu-female-syspin/voice_prompt.wav   --text   "గోదావరి నది తీరాన ఉన్న ఆ చిన్న గ్రామంలో సూర్యాస్తమయం చాలా అందంగా ఉంటుంది."   --output-path out.wav   --device cpu --quantize

--quantize is the int8 path: fastest at runtime, 5.5x realtime.

from pocket_tts import TTSModel
import numpy as np, soundfile as sf

model = TTSModel.load_model(config="hf://prasadvittaldev/pocket-tts-telugu-female-syspin/config.yaml", quantize=True)
model.to("cpu")
state = model.get_state_for_audio_prompt("voice_prompt.wav")
chunks = list(model.generate_audio_stream(
    model_state=state, text_to_generate="గోదావరి నది తీరాన ఉన్న ఆ చిన్న గ్రామంలో సూర్యాస్తమయం చాలా అందంగా ఉంటుంది."))
sf.write("out.wav", np.concatenate([np.asarray(c).reshape(-1) for c in chunks]), 24000)

Run it in a browser or on a phone (ONNX)

An ONNX bundle is in onnx/. It was exported with KevinAHM/pocket-tts-onnx-export and verified against the PyTorch model tensor-for-tensor, then run end to end through ONNX Runtime and listened to before publishing.

graphprecisionsize
flow_lm_main_int4.onnx (+ .data)int4 (MatMulNBits, block 128)38.9 MB
mimi_decoder_int8.onnxint821.6 MB
flow_lm_flow_int8.onnxint89.5 MB
mimi_encoder.onnxfloat3237.9 MB
text_conditioner.onnxfloat3215.6 MB

Measured on CPU with 4 threads, same sentence for each:

precisionbundlespeed
int486 MB*3.98x real-time
int8139 MB4.08x real-time
float32419 MB3.06x real-time

* 86 MB is the practical browser bundle: this model has a fixed voice, so the 37.9 MB mimi_encoder — which exists only to encode a new voice prompt — can be dropped once the prompt state is precomputed. Keep it if you want to experiment with prompts, though note the voice will not change (see above).

int4 is 4.9x smaller than float32 and ~30% faster. It is not faster than int8, because MatMulNBits dequantises to compute: 4-bit buys download size, and in a browser that is usually the constraint that matters.

Two graphs stay in float32 on purpose. flow_lm_flow is 26 Gemm nodes and zero MatMul, and MatMulNBits only rewrites MatMul; text_conditioner is an embedding table, which weight-only quantisation skips. Neither is worth graph surgery for the few MB involved.

Runtimes that can load this: ONNX Runtime Web for browsers, and sherpa-onnx for Android/iOS/Raspberry Pi with Kotlin, Swift, Java, Dart and C# bindings.

One important note on long text

Generate one sentence at a time and join the results. pocket-tts splits long input internally, but it locates sentence ends using tokens from its own tokenizer, and an Indic tokenizer does not produce the pieces it looks for — for Telugu the boundary search finds nothing and the whole passage is pushed through as a single chunk, which silently drops words. Splitting on . ? ! before you call the model avoids this completely.

Audio samples

How it was made

  1. Teacher. Kyutai's released 24-layer English model was finetuned on 124 hours of Telugu speech (15,000 steps). The text embedding is reset and relearned against a Telugu sentencepiece tokenizer, so nothing English-language survives in the text side; the English weights serve only as an acoustic starting point.
  2. Alignment. Word-level forced alignment in native Telugu script. The obvious choice, Meta's MMS multilingual aligner, is unusable here — it romanises, and its vocabulary contains no Telugu characters at all.
  3. Distillation. The 24-layer teacher was distilled down to this 6-layer student (40,000 steps), trained only on this single speaker's 53.0 hours / 20,599 clips. Depth is where the size is: the backbone is ~96% of the parameters.

Credits

This model would not exist without:

Licence

MIT, matching upstream pocket-tts. The training corpora carry their own licences — check the dataset pages above before commercial use.

More voices and languages

More Telugu voices and more Indian languages are on the way. Follow Prasad Vittaldev on LinkedIn for each new model launch.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Ревизия весов
563ea17

0 моделей