You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Bangladeshi Bangla TTS: XTTS v2 (voice cloning)

Coqui XTTS v2 fine-tuned for Bangladeshi Bangla. Give it 6–12 seconds of reference audio and it speaks Bangla in that voice. Fine-tuned with Coqui TTS 0.22.0 on an H100 (Modal) for 406,521 steps, mainly on one native Bangladeshi female speaker.

Bangladeshi Bangla TTS · Collections: BanglaBox · Models · Datasets · Demos · All repos

Files

File Contents
model.pth the recommended model, loaded by inference.py: step 406,521, epoch 9, saved 25 Jan 2026, eval loss 2.176 (lowest of the two), 5.65 GB
best_model_496577.pth a later continued run: step 496,577, epoch 3, saved 28 Jan 2026, eval loss 2.234. "best" here means best within that run; it is not better than model.pth
MANIFEST.json step, epoch, date, loss, size and SHA-256 of every file
config.json, vocab.json Coqui config and tokenizer
reference_audio.wav default reference voice
inference.py command-line inference

Quick start

pip install TTS==0.22.0 torch torchaudio soundfile huggingface_hub
huggingface-cli download EMTIAZZ/bangladeshi-bangla-tts-xtts-v2 --local-dir xtts-bangla
python xtts-bangla/inference.py --model_dir xtts-bangla --text "আমি বাংলায় কথা বলতে পারি।" --output out.wav
python xtts-bangla/inference.py --model_dir xtts-bangla --ref_audio my_voice.wav --text "..." --output cloned.wav

Without --model_dir the script downloads the files itself. --device cuda|cpu overrides auto-detection. About 6 GB of GPU memory is needed. The model was fine-tuned with the language code en internally, and the script handles this for you.

Reproduce training

The XTTS fine-tuning pipeline is public at EMTIAZ-RUET/bangladeshi-bangla-tts-finetuning: 04-Finetuning Strategy & Experiments/02-finetuning-pipeline-xtts/ (data processing in 03-Data Pipeline Development/). config.json here records the model and audio settings of this run. Five checkpoints from steps 382,000–406,000 are in bangladeshi-bangla-tts-xtts-v2-checkpoints.

Limitations and responsible use

  • Mostly single-speaker training data, so voices far from it clone less well.
  • Only clone a voice with the speaker's consent, do not impersonate real people, and label generated audio as synthetic.
  • XTTS v2 weights are under the Coqui Public Model License (non-commercial).

Demo: bangladeshi-bangla-tts-demo-xtts

Author

Emtiaz Uddin Ahmed, Dhaka, Bangladesh · Website · GitHub · Hugging Face

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

Spaces using EMTIAZZ/bangladeshi-bangla-tts-xtts-v2 2

Collection including EMTIAZZ/bangladeshi-bangla-tts-xtts-v2