ai4bharat/Rasa
Viewer β’ Updated β’ 1.28M β’ 15.3k β’ 78
| Component | Details |
|---|---|
| Model Type | Non-Autoregressive End-to-End Neural Source-Filter TTS |
| Backbone | 4-layer Text Encoder + Duration/F0/VUV/Energy Predictors + Frame Transformer A (2) & B (5) with RoPE |
| Synthesizer | Lightweight Continuous-Phase Harmonic + Noise iSTFT (n_fft=1024, hop=256, 64 harmonics, 24 kHz) |
| Adversarial Training | LSGAN with MPD + MRD Discriminators (adv=1.0, fm=4.0) |
| Total Parameters | 4.49M (18 MB best.pt) |
git clone https://github.com/Jaya325/telugu-tiny-voca.git
cd telugu-tiny-voca
pip install -r requirements.txt
python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download('JaiJaya/telugu-tiny-voca', 'best.pt', local_dir='weights')"
python3 src/infer.py --gradio --checkpoint weights/best.pt --device cpu --port 7860
Trained from scratch on a single NVIDIA RTX 3060 (12 GB, BF16 AMP, batch size 40). LSGAN (MPD + MRD, adv=1.0, fm=4.0) activated at Step 2,000.
| Metric | Start (Step 500) | Best (Step) | Final (Step 30,000) |
|---|---|---|---|
| val/mel | 1.0566 | 0.8115 (29,000) | 0.8141 |
| val/stft | 2.0496 | 1.8728 (3,500) | 1.8931 |
| val/dur | 0.0415 | 0.0317 (30,000) | 0.0317 |
| val/f0 | 0.1490 | 0.1101 (29,000) | 0.1107 |
| val/f0_delta | 0.0264 | 0.0234 (27,500) | 0.0234 |
| val/vuv | 0.3493 | 0.2792 (19,000) | 0.2815 |
| val/energy | 0.4744 | 0.3432 (11,000) | 0.3441 |
| train/adv / fm / d | 0.00 / 0.00 / 0.30 | β | 0.5024 / 0.1246 / 0.3129 |
Open Telugu_Tiny_Voca_TTS.ipynb for a clean, step-by-step pure TTS walkthrough.