/ Модель

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

Лицензия
CC BY 4.0
Опубликована
2 ноя 2026

indic-tiny-tts-punjabi

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

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

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

Компактная модель Sulabh Katiyar синтезирует пенджабскую речь письмом гурмукхи женским или мужским голосом.

Indic Tiny TTS: Punjabi — компактная модель синтеза речи для пенджаби, опубликованная Sulabh Katiyar в составе коллекции INDIC TINY TTS MODELS. Модель содержит 22,5 млн параметров и читает текст письмом гурмукхи двумя голосами: женским и мужским. Выходное аудио — моно, 24 кГц; доступны веса Safetensors и ONNX для запуска через PyTorch или ONNX Runtime, в том числе на CPU без GPU.

Модель предназначена для озвучивания пенджабского текста, например коротких сообщений и предложений. В приведённых оценках CER составила 2,13% на 100 предложениях FLORES-200 и 6,94% на 299 отложенных предложениях; скорость на одном потоке CPU указана как 7× реального времени на x86 и 38× на Apple M1. Эти результаты относятся к описанным тестовым наборам и конфигурациям. Лицензия — CC BY 4.0.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Indic Tiny TTS: Punjabi

A tiny Punjabi text-to-speech model: 22.5 million parameters, a female and a male voice, reads Gurmukhi script. On FLORES-200 news sentences it makes fewer recognition errors (2.1 % CER) than 5 other open Punjabi models tested. It runs 38× faster than real time on one Apple M1 CPU thread and 7× on one x86 CPU thread, with PyTorch or ONNX Runtime; no GPU needed.

Part of the INDIC TINY TTS MODELS collection: 12 tiny open models, one per language, for 11 Indian languages and Indian English, with the datasets they were trained on.

Training data: sulabhkatiyar/indic-tts-mini-24k: the Punjabi female and male voices of AI4Bharat Rasa, 24 kHz, derived from the full-resolution sulabhkatiyar/indic-tts-multilingual-prepared.

Other open Punjabi models, same test

FLORES-200 news sentences (100)

Fewer recognition errors than these 5 open Punjabi models; the same as one larger model.

Character error rate: this model and the other open Punjabi models

ModelSizeCER, %Extra errors vs this model, points (95 % CI)Result
This model22.5 M2.13
ai4bharat/IndicF5350.6 M1.90-0.23 [-0.50, +0.04]same
ai4bharat/vits_rasa_1331.3 M2.66+0.53 [+0.16, +0.93]ours better
github.com/AI4Bharat/Indic-TTS (pa.zip)65.6 M3.01+0.89 [+0.45, +1.39]ours better
facebook/mms-tts-pan29.1 M3.16+1.04 [+0.65, +1.41]ours better
ai4bharat/indic-parler-tts937.8 M3.33+1.20 [+0.61, +1.91]ours better
multilingual-tts/VITS-OpenBible-Punjabi29.1 M5.39+3.26 [+1.99, +4.90]ours better

Held-out test sentences (299)

Fewer recognition errors than these 3 open Punjabi models.

Character error rate: this model and the other open Punjabi models

ModelSizeCER, %Extra errors vs this model, points (95 % CI)Result
This model22.5 M6.94
github.com/AI4Bharat/Indic-TTS (pa.zip)65.6 M12.34+5.40 [+3.62, +7.43]ours better
facebook/mms-tts-pan29.1 M13.57+6.63 [+4.94, +8.25]ours better
multilingual-tts/VITS-OpenBible-Punjabi29.1 M25.93+18.98 [+14.49, +23.86]ours better
Also trained on same speaker voices:
ai4bharat/vits_rasa_1331.3 M6.64-0.30 [-1.55, +0.84]same

Larger models, same held-out sentences

  • ~125× faster than ai4bharat/indic-parler-tts on T4
  • Same error rate as ai4bharat/IndicF5 at 1/16 the size, ~142× faster on T4

Character error rate: this model and the larger open Punjabi models, on the same sentences

ModelSizeSentencesCER, %This model, same sentences, %Extra errors vs this model, points (95 % CI)Result
Also trained on same speaker voices:
ai4bharat/IndicF5350.6 M405.676.48-0.81 [-2.55, +0.98]same
ai4bharat/indic-parler-tts937.8 M4022.796.48+16.31 [+1.48, +34.81]ours better

CER = character error rate, lower is better; size = parameters. Method: see the Appendix.

Speed

HardwareSettingFaster than real timeReal-time factor
x86 CPU (Kaggle notebook, Intel Xeon @ 2.20GHz, 4 vCPU)PyTorch, 1 thread7×0.136
Apple M1 laptop, CPUPyTorch, 1 thread38×0.026
NVIDIA T4 GPUPyTorch62×0.016

Real-time factor = total synthesis time ÷ total audio length over 30 held-out sentences (lower is faster).

Listen

Clips made by this model for sentences from the held-out evaluation set; never used in training.

Female voice (voice="female")

ਕੀ ਤੁਸੀਂ ਆਪਣੇ ਹੋਸਟਲ ਦੇ ਸਾਰੇ ਸਹਿਵਾਸੀਆਂ ਨੂੰ ਇਸ ਬਾਰੇ ਦੱਸ ਸਕੋਗੇ? Transliteration: Ki tusin apane hosatal de sare sahivasian nun is bare dass sakoge? Translation (approx.): Will you be able to tell all your hostel mates about this?

ਇਹ ਠੀਕ ਹੈ ਯਾਰ, ਅਗਲੇ ਸਾਲ ਸਹੀ ਇਹ ਹਮੇਸ਼ਾ ਹੁੰਦਾ ਹੈ Transliteration: Ih thik hai yar, agale sal sahi ih hamesha hunda hai Translation (approx.): It's okay, mate; next year for sure. This always happens.

ਮੈਂ ਕੇਰਲ ਤੋਂ ਕਾਲ ਕਰ ਰਿਹਾ ਹਾਂ ਅਤੇ ਕੁੰਭ ਮੇਲੇ ਦਾ ਦੌਰਾ ਕਰਨਾ ਚਾਹੁੰਦਾ ਹਾਂ Transliteration: Main keral ton kal kar riha han ate kumbh mele da daura karana chahunda han Translation (approx.): I am calling from Kerala and want to visit the Kumbh Mela.

ਉਨ੍ਹਾਂ ਬਾਰਾਂ ਉੱਤੇ ਮਿੱਟੀ ਦੇ ਦੀਵੇ ਰੱਖੇ ਹੋਏ ਹਨ Transliteration: Unhan baran utte mitti de dive rakkhe hoe han Translation (approx.): Clay lamps have been placed on those doorways.

Male voice (voice="male")

ਮੈਂ ਪ੍ਰੀਮੀਅਮ ਦਾ ਭੁਗਤਾਨ ਕਿਵੇਂ ਕਰ ਸਕਦਾ ਹਾਂ ਅਤੇ ਪਾਲਿਸੀ ਦਾ ਲਾਭ ਕਿਵੇਂ ਲੈ ਸਕਦਾ ਹਾਂ? Transliteration: Main primiam da bhugatan kiven kar sakada han ate palisi da labh kiven lai sakada han? Translation (approx.): How can I pay the premium and how can I get the policy benefit?

ਮੇਰੇ ਖੇਤਰ ਵਿੱਚ ਇੱਕ ਸ਼ਾਪਿੰਗ ਮਾਲ ਨੂੰ ਪੁੱਛੋ Transliteration: Mere khetar vichch ikk shaping mal nun puchchho Translation (approx.): Ask a shopping mall in my area.

ਮੈਂ ਤੁਹਾਨੂੰ ਦੱਸਣਾ ਚਾਹੁੰਦਾ ਹਾਂ ਕਿ ਮੁਕਾਬਲਾ ਕਾਫ਼ੀ ਸਖ਼ਤ ਹੈ। Transliteration: Main tuhanun dassana chahunda han ki mukabala kafi sakhat hai. Translation (approx.): I want to tell you that the competition is quite tough.

ਨਾਲ ਹੀ, ਤੁਹਾਡੇ ਨੋਟਿਸ ਦੀ ਮਿਆਦ ਉਸੇ ਦਿਨ ਤੋਂ ਸ਼ੁਰੂ ਹੋ ਜਾਂਦੀ ਹੈ ਜਦੋਂ ਤੁਸੀਂ ਅਸਤੀਫੇ ਲਈ ਅਰਜ਼ੀ ਦਿੰਦੇ ਹੋ। Transliteration: Nal hi, tuhade notis di miad use din ton shuru ho jandi hai jadon tusin asatiphe lai arazi dinde ho. Translation (approx.): Also, your notice period starts the same day you apply to resign.

If the players do not show, the files are in samples/.

Quick start

pip install torch numpy safetensors huggingface_hub
import sys
from huggingface_hub import snapshot_download

sys.path.insert(0, snapshot_download("sulabhkatiyar/indic-tiny-tts-punjabi", ignore_patterns=["onnx/*"]))  # model + its small Python package
from indic_tiny_tts import TinyTTS

tts = TinyTTS.from_pretrained("sulabhkatiyar/indic-tiny-tts-punjabi")  # uses the NVIDIA GPU if there is one, else the CPU
wav = tts.synthesize("ਸਤ ਸ੍ਰੀ ਅਕਾਲ! ਅੱਜ ਮੌਸਮ ਬਹੁਤ ਵਧੀਆ ਹੈ।", voice="female")
tts.save_wav(wav, "hello.wav")

wav is a NumPy array of 24 kHz audio. voice is "female" or "male". Optional: speed=1.2 speaks faster, and seed=0 gives the same output every time.

Choose where it runs

tts = TinyTTS.from_pretrained("sulabhkatiyar/indic-tiny-tts-punjabi", device="cpu")               # any computer
tts = TinyTTS.from_pretrained("sulabhkatiyar/indic-tiny-tts-punjabi", device="cuda")              # NVIDIA GPU
tts = TinyTTS.from_pretrained("sulabhkatiyar/indic-tiny-tts-punjabi", device="cpu", threads=1)    # Mac with Apple silicon (fastest there)

On a Mac, device="mps" (the Apple GPU) also works, but for a model this small the CPU with one thread is faster.

Without PyTorch (ONNX Runtime)

The onnx/ folder holds the same model as three ONNX graphs. This path needs only NumPy and ONNX Runtime:

pip install onnxruntime numpy huggingface_hub
import sys
from huggingface_hub import snapshot_download

folder = snapshot_download("sulabhkatiyar/indic-tiny-tts-punjabi", ignore_patterns=["*.safetensors"])
sys.path.insert(0, folder)
from indic_tiny_tts import TinyTTSOnnx

tts = TinyTTSOnnx.from_pretrained(folder)
wav = tts.synthesize("ਸਤ ਸ੍ਰੀ ਅਕਾਲ! ਅੱਜ ਮੌਸਮ ਬਹੁਤ ਵਧੀਆ ਹੈ।", voice="male")
tts.save_wav(wav, "hello.wav")

Install as a package (optional)

This adds an indic-tiny-tts command:

hf download sulabhkatiyar/indic-tiny-tts-punjabi --local-dir indic-tiny-tts-punjabi
pip install ./indic-tiny-tts-punjabi
indic-tiny-tts "ਸਤ ਸ੍ਰੀ ਅਕਾਲ! ਅੱਜ ਮੌਸਮ ਬਹੁਤ ਵਧੀਆ ਹੈ।" --model ./indic-tiny-tts-punjabi --voice male -o hello.wav

Measure the speed

Inside the downloaded folder:

python -m indic_tiny_tts.latency --model . --device cpu --threads 1
python -m indic_tiny_tts.latency --model . --backend onnx --threads 4   # the ONNX version

Details

LanguagePunjabi (Gurmukhi script)
Voicesfemale (Rasa, AI4Bharat), male (Rasa, AI4Bharat)
Audio24 kHz, mono
Size22.5 million parameters (about 90 MB per format: PyTorch or ONNX)
Runs onCPU (Windows, Linux, Mac), NVIDIA GPU (CUDA), Apple silicon
NeedsPython 3.9+ and PyTorch, or ONNX Runtime. No eSpeak or other system packages.

How good is it?

On held-out sentences a speech recogniser misheard 6.94 % of this model's characters, close to the 6.01 % of the real recordings.

Good to know

  • Gurmukhi script and English words. The model reads Gurmukhi script. English words in Latin letters (hello) are first converted to Gurmukhi script (ਹੈਲੋ) by a lookup table and fallback rules, then spoken. The spelling can be wrong, so write a word in Gurmukhi script if it matters.
  • Numbers are read out in Punjabi: 25 becomes ਪੱਚੀ, 3.5% becomes ਤਿੰਨ ਪੋਇੰਟ ਪੰਜ ਪ੍ਰਤੀਸ਼ਤ, ₹500 becomes ਪੰਜ ਸੌ ਰੁਪਏ, 10:30 becomes ਦਸ ਵੱਜ ਕੇ ਤੀਹ ਮਿੰਟ and 12/05/2024 becomes ਬਾਰਾਂ ਮਈ ਦੋ ਹਜ਼ਾਰ ਚੌਵੀ. Ten or more digits in a row, such as 9876543210, are read digit by digit. Not read correctly, so write these in words: a phone number split by spaces or hyphens (read as separate whole numbers), 2024-05-12 (three plain numbers), 12/05 and 10:30:45 (single digits), a minus sign (not read) and currency signs such as € (skipped).
  • Long text is fine. It is split into sentences at ।, ?, ! and ., which are spoken one after another.
  • Style: a calm reading voice. The model learned from about 33 hours of recorded speech by two speakers.
  • Some sounds can be held a little long. Our automatic check for stuck or drawn-out sounds flagged both voices.
  • Speaking rate: each voice has a default speed matched to its speaker on held-out data (length_scale in config.json: pa_F 1.018, pa_M 0.992). speed= scales it further.
  • Please use it responsibly. Do not use it to pass yourself off as the original speakers or to mislead people.

Training data and credits

  • Rasa dataset by AI4Bharat (ai4bharat/Rasa), licence CC-BY-4.0: the Punjabi female (15.1 h) and male (18.2 h) speakers, the read, conversation and command recordings, leaving out the emotional ones. Our changes: audio resampled from 48 kHz to 24 kHz; clips shorter than 0.5 s or longer than 20 s left out; text normalised (for example, numbers written out in words); training clips that a speech recogniser could not match to their text (character error rate above 25 %, or a length mismatch) left out: 4.98 % of the female and 3.96 % of the male clips.
  • Prepared data: sulabhkatiyar/indic-tts-mini-24k (revision 8fe16c93).
  • Vocoder: Vocos, with the pretrained charactr/vocos-mel-24khz weights used unchanged (MIT licence; trained by its authors on LibriTTS).
  • Model design: based on Matcha-TTS (MIT licence). The acoustic model (8.9 million parameters) reads characters directly (no phonemiser) and was trained from scratch on the data above for 129,768 steps (batch 32, about 10 hours on one NVIDIA T4); the released weights are the averaged (EMA) weights at that step.
  • Number reading: word tables adapted from AI4Bharat's indic-numtowords (MIT licence).
  • Latin-word lookup table (indic_tiny_tts/textnorm/_translit/; not part of the model weights): its spellings come from AI4Bharat IndicXlit (MIT licence), the CMU Pronouncing Dictionary (BSD-style licence), letter names and hand-written entries. Licence notices: indic_tiny_tts/textnorm/_translit/NOTICE.
  • Speech corpora behind the Punjabi table: its word list and some spelling choices also draw on transcripts of the corpora below. Their terms differ; check each source.
    • Latin-script words found in Punjabi transcripts: SPRING-INX (SPRING Lab, IIT Madras), Spoken Tutorial (AI4Bharat release), Mann Ki Baat (AI4Bharat release), FLEURS (Google).
    • Frequent English words, from English transcripts: NPTEL lectures (AI4Bharat release), LibriSpeech, Multilingual LibriSpeech, VoxPopuli, IndicTTS-English (SPRING Lab, IIT Madras), The People's Speech (MLCommons), Common Voice (Mozilla), Vaani (ARTPARK-IISc), FLEURS (Google). Hand-written lists of common terms and acronyms were added too.
    • Spelling choices, using word counts in Punjabi training transcripts: IndicVoices (AI4Bharat), SPRING-INX (SPRING Lab, IIT Madras), Kathbath (AI4Bharat), Shrutilipi (AI4Bharat), Vaani (ARTPARK-IISc), Spoken Tutorial (AI4Bharat release), FLEURS (Google), Common Voice (Mozilla), Mann Ki Baat (AI4Bharat release).
    • The package also contains the tables for the other ten Indian languages; each model card names the corpora for its own language.
  • Evaluation tools: AI4Bharat IndicConformer (speech recognition) and SpeechBrain ECAPA (speaker similarity).

Licence

  • Acoustic model weights (model.safetensors, onnx/text_encoder.onnx, onnx/flow_decoder.onnx): CC-BY-4.0. You may use them, also commercially, if you give credit to this model and to the training data (the Rasa dataset; see Citation and LICENSE.md).
  • Vocoder weights (vocoder.safetensors, onnx/vocoder.onnx): the unchanged pretrained Vocos weights, MIT licence by their authors.
  • Code (indic_tiny_tts/): MIT.
  • Details and third-party notices: LICENSE.md.

Citation

If you use this model, please cite it:

@misc{katiyar2026indictinyttspunjabi,
  author       = {Sulabh Katiyar},
  title        = {Indic Tiny TTS: Punjabi},
  year         = {2026},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/sulabhkatiyar/indic-tiny-tts-punjabi}}
}

Please also cite the data and the work it builds on:

@inproceedings{ai4bharat2024rasa,
  author    = {Praveen Srinivasa Varadhan and Ashwin Sankar and Giri Raju and Mitesh M. Khapra},
  title     = {{Rasa: Building Expressive Speech Synthesis Systems for Indian Languages in Low-resource Settings}},
  booktitle = {Proc. INTERSPEECH 2024},
  year      = {2024}
}

@inproceedings{mehta2024matcha,
  author    = {Shivam Mehta and Ruibo Tu and Jonas Beskow and {\'E}va Sz{\'e}kely and Gustav Eje Henter},
  title     = {{Matcha-TTS}: A fast {TTS} architecture with conditional flow matching},
  booktitle = {Proc. ICASSP 2024},
  year      = {2024}
}

@inproceedings{siuzdak2024vocos,
  author    = {Hubert Siuzdak},
  title     = {Vocos: Closing the gap between time-domain and Fourier-based neural vocoders for high-quality audio synthesis},
  booktitle = {Proc. ICLR 2024},
  year      = {2024}
}

Appendix: how we evaluated

Every model spoke the same text: 299 held-out test sentences from both voices, never used in training, and 100 FLORES-200 news sentences. A speech recognition model (AI4Bharat IndicConformer-600M) transcribed each clip, and the score is its character error rate (CER). A paired bootstrap 95 % confidence interval of the CER difference over the same sentences decides each result: better when the whole interval favours this model, the same when it includes zero, worse when it favours the other model. The larger models read the first 40 of the held-out sentences (20 per voice) unless the table shows a larger number, and all 100 FLORES-200 sentences.

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

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

GPU в ailist

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

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

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

Ревизия весов
567dd8f

0 моделей