BanglaBox: TTS with voice cloning for Bengali
2 min readupdated
A zero-shot (without prior training on a specific speaker) speech synthesis tool for the Bengali language, built on the Chatterbox architecture by Resemble AI. The model uses LoRA (a small trainable add-on to the base model) to adapt the T3 token generator, expands the tokenizer to 2,530 elements, and fixes rare graphemes. The solution is aimed at developers and researchers who need high-quality speech synthesis and voice cloning from a short audio clip in Bengali.
Key features
- Zero-shot voice cloning from a short reference audio recording
- Tokenizer expanded to 2,530 tokens specifically for the Bengali language
- Use of a LoRA adapter with rank 96 for efficient fine-tuning
- Built-in utilities for text normalization and grapheme correction
- Full set of scripts for inference and training reproduction
What you can do
- Generate Bengali speech from text using the
infer.pyscript - Clone a voice from any clean audio clip lasting a few seconds
- Integrate speech synthesis into Python applications via the
BanglaTTSclass - Run evaluation reproduction and metric recalculation on a test dataset
Example
from infer import BanglaTTS
import soundfile as sf
tts = BanglaTTS(".")
wav, sr = tts.tts("আজকের আবহাওয়া খুব সুন্দর।", "voices/ref_female.wav")
sf.write("out.wav", wav, sr)
Read more
DetailsBase model: ResembleAI/chatterbox (T3 model)
Training data: corpus of 300,782 clips (47.8 GB)
Requirements: CUDA GPU recommended, libraries torch 2.6.0, transformers 4.46.3, peft 0.17.1
License: MIT










Comments