/ Модель

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

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

pocket-tts-indian-english-male-indictts

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

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

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

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

Модель prasadvittaldev/pocket-tts-indian-english-male-indictts — компактная модель синтеза речи, разработанная Prasad Vittaldev на основе архитектуры Kyutai pocket-tts. Она создаёт английскую речь с индийским акцентом фиксированным мужским голосом. Модель насчитывает около 110 млн параметров вместе с аудиокодеком Mimi; в архитектуре используется шестислойная flow-matching-сеть и кодек Mimi. Частота дискретизации — 24 кГц. Репозиторий содержит веса в форматах int4, bfloat16 и float32; файл int4 занимает 86 МБ, а при использовании штатного загрузчика распаковывается в fp16.

Модель предназначена для локального синтеза речи на CPU, в том числе на устройствах без GPU и подключения к API. По README, базовая система работает быстрее реального времени на CPU, а динамическая квантизация int8 повышает измеренную скорость до 5,8× реального времени. Модель обучена с дистилляцией на речи одного диктора, поэтому голос фиксирован, а голосовое клонирование и надёжный выбор другого голоса не поддерживаются. Лицензия — MIT.

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

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

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

Ограничения

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

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

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

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

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

Источники: 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 — Indian English · single voice hindifullmale

86 MB. A complete Indian English 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, speaks English in American and British voices. None of them sound Indian.

This repository adds an Indian-accented English voice. Kyutai's architecture, training recipe and codec are used as published; what is added here is a teacher finetune on 246 hours of English read by 24 Indian speakers, a tokenizer trained on that text, 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 — with an Indian accent.

Model

Architecturepocket-tts, 6-layer flow-matching backbone + Mimi codec
Parameters~110M (including the Mimi codec)
Sample rate24 kHz
LanguageIndian English
Voicehindifullmale — fixed, see below
SpeedMeasured 5.8x real-time on CPU alone (no GPU) at int8, on desktop x86. Generating a minute of speech takes about 10 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 does not hand you that speaker's voice. Measured across 6 prompts spanning 106-266 Hz, this model's output moved 23 Hz in total, staying between 104 and 127 Hz:

prompt clip24-layer teacher outputthis model's output
106 Hz108 Hz111 Hz
116 Hz110 Hz104 Hz
147 Hz135 Hz126 Hz
210 Hz215 Hz113 Hz
241 Hz240 Hz117 Hz
266 Hz256 Hz127 Hz

The teacher follows its prompt across the range; this model tracks it only weakly. It cannot be pushed below the speaker it was trained on either — the 106 Hz prompt still comes out at 111 Hz.

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.8x realtime against 3.5x realtime for float.

How far down can quantization go?

Every row below was generated from this model on one fixed passage (reference 52.0 s in float). Weight error is the mean relative error in the backbone Linear weights; words is the share of the passage's words that speech recognition recovered (Whisper normalises spelling and misses some names, so even float is below 100%). Single renders vary by a few percent, so only large differences mean anything.

precisionweight errorbackbone sizedurationwordsverdict
float0.0%324 MB52.0 s94%reference
int80.6%81 MB52.4 s94%usable — shipped default (--quantize)
int4 group 3210.7%46 MB53.9 s95%usable — the int4 file in this repo
int4 group 12814.0%42 MB53.1 s92%slightly lossy
int3 group 3223.9%36 MB51.1 s91%slightly lossy
int3 group 12830.6%32 MB52.0 s75%degrading
int2 group 3262.0%25 MB35.0 s1%broken

pocket-tts implements int8 only, so int4 is shipped as a storage format: quantize_int4.py unpacks it to fp16 for the stock loader, and quantization_sweep.py reproduces this table.

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-indian-english-male-indictts 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-indian-english-male-indictts/config.yaml \
  --voice  hf://prasadvittaldev/pocket-tts-indian-english-male-indictts/voice_prompt.wav \
  --text   "Your train to Chennai leaves from platform number four at half past six." \
  --output-path out.wav \
  --device cpu --quantize

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

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

model = TTSModel.load_model(config="hf://prasadvittaldev/pocket-tts-indian-english-male-indictts/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="Your train to Chennai leaves from platform number four at half past six."))
sf.write("out.wav", np.concatenate([np.asarray(c).reshape(-1) for c in chunks]), 24000)

Long text and the voice prompt

Generate one sentence at a time and join the results. A generation chunk is capped at 50 tokens and anything past the cap is dropped. On this tokenizer 50 tokens is roughly 160 characters of English, so split long sentences on commas too.

Use the voice_prompt.wav shipped here, or a clip cut the same way. It is a 3.95 s excerpt that stops mid-sentence. With the uncut clip — a complete sentence followed by ~0.3 s of silence — this model spoke the prompt's own words instead of any input shorter than about 14 tokens ("The postman knows him by name." came out as "They have built a temple in his garden"). The same clip with the trailing silence removed, or cut mid-sentence at 2, 3, 4 or 5 s, was clean on every short sentence tested. If you make your own prompt, do not end it in silence.

Known limitations (measured)

  • Rare Indian proper nouns. Common names and places are fine, but names that are rare in the training text can come out wrong. On a passage of 23 Indian names the model never saw in training, 14–17 were recognisable across two renders. "Raghava Rao", "Ramanujan", "Karimnagar" and "Erode" were wrong in every render. The 24-layer teacher also gets "Raghava Rao" wrong, so more distillation will not fix it. A respelling does not help either: "Godawari" came out worse than "Godavari".
  • Occasional stutters. In long sentences a short phrase is sometimes repeated ("for his wife's for his wife's photograph"). It is intermittent, so a regenerate usually clears it.
  • Hyphenated numbers. "seventy-two" was misread. Write numbers as separate words or digits you have checked.
  • Render-to-render variation. sample_int4_g32.wav is the cleanest of four renders of the same text. One of the other three repeated "number", and three of the four said "tick" for "ticket".

Audio samples

How it was made

  1. Teacher. Kyutai's released 24-layer English model was finetuned on 246 hours of English read by 24 Indian speakers (60,000 steps). The text embedding is reset and relearned against a 4,000-piece sentencepiece tokenizer trained on this corpus.
  2. Alignment. Word-level CTC forced alignment with facebook/wav2vec2-base-960h.
  3. Distillation. The 24-layer teacher was distilled down to this 6-layer student (65,000 steps), trained only on this single speaker's 9.8 hours / 6,720 clips. Depth is where the size is: the backbone is ~96% of the parameters.
  4. Name coverage. The student garbled Indian names the teacher said correctly: its own training clips contain only 14 of 317 common Indian names, cities, rivers and foods. The last 15,000 steps added 2,646 name-dense sentences (3.5 h) spoken by the 24-layer teacher in this voice. A clip was kept only if speech recognition recovered every name. These were mixed with the real recordings, which stayed about 70% of the clips.

Credits

This model would not exist without:

  • kyutai-labs/pocket-tts — the architecture, the Mimi codec, the training and distillation recipes, released under MIT. All the hard modelling work is theirs.
  • Speech corpora:
  • SPRINGLab/IndicTTS-English — IndicTTS English (SPRING Lab, IIT Madras) — English read by 24 Indian speakers

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 Indian English voices and more Indian languages are on the way. Follow Prasad Vittaldev on LinkedIn for each new model launch.

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
70cd874

0 моделей