Indic Tiny TTS: Hindi
A tiny Hindi text-to-speech model: 22.5 million parameters, a female and a male voice, reads Devanagari script. On FLORES-200 news sentences it makes fewer recognition errors (1.6 % CER) than 4 other open Hindi 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 8-hour-per-voice subset (index/pilot.parquet) of the Hindi female and male voices of AI4Bharat Rasa, 24 kHz, derived from the full-resolution sulabhkatiyar/indic-tts-multilingual-prepared.
Other open Hindi models, same test
FLORES-200 news sentences (100)
Fewer recognition errors than these 4 open Hindi models; the same as one larger model.
| Model | Size | CER, % | Extra errors vs this model, points (95 % CI) | Result |
|---|---|---|---|---|
| This model | 22.5 M | 1.64 | ||
ai4bharat/IndicF5 |
350.6 M | 1.02 | -0.62 [-0.93, -0.35] | theirs better |
github.com/AI4Bharat/Indic-TTS (hi.zip) |
65.6 M | 1.33 | -0.31 [-0.63, -0.00] | theirs better |
hexgrad/Kokoro-82M (hf_alpha, hm_omega) |
81.8 M | 1.56 | -0.08 [-0.38, +0.20] | same |
ai4bharat/indic-parler-tts |
937.8 M | 2.23 | +0.59 [+0.13, +1.05] | ours better |
coqui/XTTS-v2 |
466.9 M | 2.37 | +0.73 [+0.18, +1.34] | ours better |
facebook/mms-tts-hin |
29.1 M | 3.83 | +2.19 [+1.48, +2.92] | ours better |
SYSPIN/vits_Hindi_Female + SYSPIN/vits_Hindi_Male |
29.1 M | 5.58 | +3.93 [+2.48, +6.22] | ours better |
Held-out test sentences (300)
Fewer recognition errors than these 4 open Hindi models; the same as 2 larger models.
| Model | Size | CER, % | Extra errors vs this model, points (95 % CI) | Result |
|---|---|---|---|---|
| This model | 22.5 M | 3.03 | ||
github.com/AI4Bharat/Indic-TTS (hi.zip) |
65.6 M | 3.21 | +0.18 [-0.44, +0.79] | same |
hexgrad/Kokoro-82M (hf_alpha, hm_omega) |
81.8 M | 3.29 | +0.27 [-0.38, +0.97] | same |
rhasspy/piper-voices (hi_IN-rohan-medium) |
15.8 M | 3.80 | +0.77 [+0.16, +1.42] | ours better |
rhasspy/piper-voices (hi_IN-priyamvada-medium) |
15.8 M | 4.53 | +1.50 [+0.70, +2.41] | ours better |
facebook/mms-tts-hin |
29.1 M | 9.00 | +5.98 [+4.51, +7.53] | ours better |
SYSPIN/vits_Hindi_Female + SYSPIN/vits_Hindi_Male |
29.1 M | 11.82 | +8.79 [+6.65, +11.06] | ours better |
Larger models, same held-out sentences
- 37× faster than
coqui/XTTS-v2on CPU - Same error rate as
ai4bharat/indic-parler-ttsat 1/42 the size, ~110× faster on T4 - Same error rate as
ai4bharat/IndicF5at 1/16 the size, ~170× faster on a T4
| Model | Size | Sentences | CER, % | This model, same sentences, % | Extra errors vs this model, points (95 % CI) | Result |
|---|---|---|---|---|---|---|
coqui/XTTS-v2 |
466.9 M | 300 | 21.33 | 3.03 | +18.30 [+9.97, +28.95] | ours better |
| Also trained on same speaker voices: | ||||||
ai4bharat/IndicF5 |
350.6 M | 40 | 1.99 | 2.15 | -0.15 [-1.20, +1.19] | same |
ai4bharat/indic-parler-tts |
937.8 M | 40 | 2.22 | 2.15 | +0.07 [-0.99, +1.35] | same |
CER = character error rate, lower is better; size = parameters. Method: see the Appendix.
Speed
| Hardware | Setting | Faster than real time | Real-time factor |
|---|---|---|---|
| x86 CPU (Kaggle notebook, Intel Xeon @ 2.20GHz, 4 vCPU) | PyTorch, 1 thread | 7× | 0.136 |
| Apple M1 laptop, CPU | PyTorch, 1 thread | 38× | 0.026 |
| NVIDIA T4 GPU | PyTorch | 62× | 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: Sab nahin, lekin mainne zyadatar mitha banana sikh liya hai, kyonki mujhe vo zyada pasand hai.
Translation (approx.): Not everything, but I have learnt to make mostly sweet dishes, because I like them more.
इस अवसर पर बड़ी संख्या में वायु योद्धा और विभिन्न विद्यालयों के विद्यार्थी मौजूद थे।
Transliteration: Is avasar par bari sankhya men vayu yoddha aur vibhinn vidyalayon ke vidyarthi maujud the.
Translation (approx.): A large number of air warriors (Air Force personnel) and students from various schools were present on the occasion.
प्रत्येक सप्ताह खर्चों में कटौती करने के तरीके ढूंढें ताकि आप अपने आपातकालीन कोष में अधिक योगदान कर सकें।
Transliteration: Pratyek saptah kharchon men katauti karane ke tarike dhundhen taki ap apane apatakalin kosh men adhik yogadan kar saken.
Translation (approx.): Every week, find ways to cut your expenses so that you can put more into your emergency fund.
तो सब कुछ इकट्ठा हो गया है, लेकिन मैं निपटाने की पूरी कोशिश कर रही हूँ।
Transliteration: To sab kuchh ikattha ho gaya hai, lekin main nipatane ki puri koshish kar rahi hun.
Translation (approx.): So everything has piled up, but I am trying my best to get through it.
Male voice (voice="male")
प्रत्येक रचना को विशिष्ट सुर और ताल के साथ बैठाया गया है, लेकिन कलाकार बड़े पैमाने पर इनमें सुधार करते हैं।
Transliteration: Pratyek rachana ko vishisht sur aur tal ke sath baithaya gaya hai, lekin kalakar bare paimane par inamen sudhar karate hain.
Translation (approx.): Each composition is set to a specific melody and rhythm, but performers improvise on them a great deal.
शिवरात्रि के तुरंत बाद के दिनों में बारह ज्योतिर्लिंग स्थलों में से एक श्रीशैलम में ब्रह्मोत्सव के रूप में मनाया जाता है।
Transliteration: Shivaratri ke turant bad ke dinon men barah jyotirling sthalon men se ek shrishailam men brahmotsav ke rup men manaya jata hai.
Translation (approx.): In the days right after Shivaratri, it is celebrated as the Brahmotsavam at Srisailam, one of the twelve Jyotirlinga sites.
ऐसी स्थिति में, मुझे नहीं लगता मैं यह सर्वेक्षण करना चाहूँगा।
Transliteration: Aisi sthiti men, mujhe nahin lagata main yah sarvekshan karana chahunga.
Translation (approx.): In that case, I don't think I would want to do this survey.
उन्होंने लोगों से कार्यक्रम के लिए अपने विचार साझा करने का भी आग्रह किया।
Transliteration: Unhonne logon se karyakram ke liye apane vichar sajha karane ka bhi agrah kiya.
Translation (approx.): They also urged people to share their ideas for the programme.
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-hindi", ignore_patterns=["onnx/*"])) # model + its small Python package
from indic_tiny_tts import TinyTTS
tts = TinyTTS.from_pretrained("sulabhkatiyar/indic-tiny-tts-hindi") # 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-hindi", device="cpu") # any computer
tts = TinyTTS.from_pretrained("sulabhkatiyar/indic-tiny-tts-hindi", device="cuda") # NVIDIA GPU
tts = TinyTTS.from_pretrained("sulabhkatiyar/indic-tiny-tts-hindi", 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-hindi", 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-hindi --local-dir indic-tiny-tts-hindi
pip install ./indic-tiny-tts-hindi
indic-tiny-tts "नमस्ते, आप कैसे हैं?" --model ./indic-tiny-tts-hindi --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
| Language | Hindi (Devanagari script) |
| Voices | female, male |
| Audio | 24 kHz, mono |
| Size | 22.5 million parameters (about 90 MB per format: PyTorch or ONNX) |
| Runs on | CPU (Windows, Linux, Mac), NVIDIA GPU (CUDA), Apple silicon |
| Needs | Python 3.9+ and PyTorch, or ONNX Runtime. No eSpeak or other system packages. |
How good is it?
On held-out sentences a speech recogniser understood this model about as well as the real recordings: 3.0 % vs 3.6 % of characters misheard.
Good to know
- Hindi script only. English words in Latin letters (
hello) are skipped with a warning. Write them in Devanagari (हेलो). - Numbers are read out in Hindi:
25becomes पच्चीस,3.5%becomes तीन दशमलव पाँच प्रतिशत, and₹500becomes पाँच सौ रुपये. Phone numbers, dates and times are read as plain numbers, so write them out in words if that matters. - 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 16 hours of studio speech by two speakers.
- Speaking rate: both voices use the default speed (
length_scale1.0 inconfig.json).speed=scales it. - Please use it responsibly. Do not use it to pass yourself off as the original speakers or to mislead people.
Training data and credits
- Voices: the Rasa dataset by AI4Bharat (ai4bharat/Rasa), licence CC-BY-4.0. We used about 8 hours from each of the Hindi female and Hindi male 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, and text normalised (for example, numbers written out in words). Prepared data: sulabhkatiyar/indic-tts-mini-24k (revision
8fe16c93, the 8-hour-per-voice subsetindex/pilot.parquet). - Vocoder (the part that turns the model's output into sound): 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 145,000 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).
- 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 Rasa dataset (see Citation). - 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{katiyar2026indictinyttshindi,
author = {Sulabh Katiyar},
title = {Indic Tiny TTS: Hindi},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/sulabhkatiyar/indic-tiny-tts-hindi}}
}
Please also cite the dataset 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: 300 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.
- Downloads last month
- 1,135


