Try it at tts.hansda.in. Choose a language and checkpoint, select Load model, then press Play. The demo downloads the selected voice on demand and generates speech in your browser. Indic voices accept native script and Roman input.
Each dataset contains 20 hours of single-voice synthetic speech. The model cards list the checkpoints, browser package sizes, and evaluation results.
| Language | Hugging Face dataset | Hugging Face model |
|---|---|---|
| Bengali | Jahnavi dataset | Compact INT8 model |
| Gujarati | Jahnavi dataset | Compact INT6 model |
| Hindi | Ishwari dataset | Compact INT6 and INT7 models |
| Malayalam | Jahnavi dataset | Compact INT6 model |
| Telugu | Sreekar dataset | Browser preview |
| English | Nivedita dataset | Compact INT6 model |
Use Python 3.12 and install the dependencies. Training uses CUDA PyTorch, pronunciation supervision uses libespeak-ng.so.1, and scoring uses UTMOSv2.
- Generate speech. Run
python prompts.py artifacts/prompts hi en ml te gu. SetMAYA_PYTHON,MAYA_ENGINE, andMAYA_MODELSfor the Maya 2 Native inference setup, then runrun_synthesis.sh. - Audit and package. Use
audit.pyto check transcripts and keep 20 usable hours. Usepublish_dataset.pyto build the train, validation, and test Parquet shards. Authenticate withhf auth loginbefore publishing. - Train and export. Set
PYTHONPATH=.:src:pipeline. Fetchbengali-2.255-fp32.ptandfrontend/phone-vocab.jsonfrom the Bengali model card intoartifacts/bn-model/.train_queue.shshows the commands for phonemizer training, acoustic alignment, the three training stages, quantization, and scoring. Checkpoints save training state for resume. - Test the browser build. Copy
browser/from the Bengali model intoartifacts/bn-model/. Build the Roman-input lexicons withconverter/build.py. Runpython prepare_site.py PATH_TO_BENGALI_BROWSER_DIST artifacts/site, thenpython check_site.py artifacts/sitewith Chrome and Playwright installed.PATH_TO_BENGALI_BROWSER_DISTpoints to a base build frompipeline/build_bengali_web.py.
The queue scripts and service units reference the original workstation and deployment. Review their paths and destinations before running them on another machine.
Model architecture and browser inference
Acoustic model · Waveform refiner
Browser worker · Roman input converter and validation fixtures
The acoustic model adapts Tiny Voca by Muhammed Nazeem. Maya 2 Native generated the training audio. The dataset cards document prompt sources and licenses. Full demo credits