Piper TTS: Tamil Single-Speaker Female Voice (AI4Bharat Rasa)

A real-time neural Text-to-Speech (TTS) single-speaker model for Tamil (ta_IN), trained using the Rhasspy Piper (VITS) architecture.

This model is trained on a dedicated single-speaker female voice from the AI4Bharat Rasa Tamil dataset, preprocessed in standard LJSpeech format (--single-speaker) with audio resampled to 22,050 Hz.


Model Specifications

Property Value
Language Tamil (ta / ta_IN)
Voice / Speaker Single Speaker (Female, native Tamil)
Speaker Count 1 (num_speakers: 1)
Dataset Source AI4Bharat Rasa (Tamil)
Total Audio Duration 15.0 hours (~54,000 seconds)
Dataset Format LJSpeech (--single-speaker)
Audio Sample Rate 22,050 Hz (16-bit Mono PCM)
Phonemizer espeak-ng (voice: ta)
Architecture VITS (piper_train)
Training Infrastructure Dual NVIDIA T4 GPUs (Distributed Data Parallel) on Kaggle
Training Duration ~12 hours
Precision FP32 (--precision 32)
Batch Size 8 per GPU (Effective batch size = 16)
Checkpoints Saved every 10 epochs (up to epoch=89-step=85320.ckpt)

Repository Structure

piper-rasa-tamil/
├── checkpoints/
│   ├── epoch=9-step=9480.ckpt
│   ├── epoch=19-step=18960.ckpt
│   ├── ...
│   └── epoch=89-step=85320.ckpt        # Latest converged checkpoint
├── config.json                         # Piper model & phoneme ID mapping
├── tamil_female_base.onnx.json         # Single-speaker ONNX runtime config
├── training_status.json                # Kaggle training monitoring logs
└── README.md

Usage

1. Export Checkpoint to ONNX

Export any checkpoint snapshot (e.g. epoch=89) into an ONNX graph:

python3 -m piper_train.export_onnx \
    checkpoints/epoch=89-step=85320.ckpt \
    tamil_female_single.onnx

2. Synthesize via Piper CLI

echo "வணக்கம், நான் சாகோ பேசுகிறேன்." | piper \
  --model tamil_female_single.onnx \
  --config tamil_female_base.onnx.json \
  --output_file output.wav

3. Synthesize via Python

import wave
from piper.voice import PiperVoice

voice = PiperVoice.load("tamil_female_single.onnx", config_path="tamil_female_base.onnx.json")

text = "வணக்கம், நீங்கள் எப்படி இருக்கிறீர்கள்?"
with wave.open("test.wav", "wb") as wav_file:
    voice.synthesize(text, wav_file)

Recommended Inference Parameters

{
  "noise_scale": 0.333,
  "length_scale": 1.0,
  "noise_w": 0.8
}

Acknowledgements & Citation

Downloads last month
826
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for vertexvicky/piper-rasa-tamil

Finetuned
(6)
this model

Dataset used to train vertexvicky/piper-rasa-tamil