TTS
Speech Synthesis
Chatterbox
Nigerian Pidgin
Accented English
Voice Cloning
African NLP
Voice AI

Fine-Tuning Chatterbox TTS for Nigerian Pidgin & Naija-Accented English

November 1, 2026 10 min read
Fine-Tuning Chatterbox TTS for Nigerian Pidgin & Naija-Accented English

Experiments in Fine-Tuning Chatterbox TTS for Nigerian Pidgin & Naija-Accented English

Resemble AI’s Chatterbox is an open-source text-to-speech architecture (~1.2B parameters in its T3 configuration) combining an autoregressive Transformer for discrete acoustic tokens, a Conformer acoustic conditioner, and a high-fidelity neural vocoder. While Chatterbox delivers impressive zero-shot voice cloning and spontaneous prosody in standard European languages, it exhibits immediate failure modes when synthesizing West African English varieties: Nigerian Pidgin (Naijá, pcm) and Nigerian-accented English (en-ng).

Out of the box, standard speech synthesis models flatten the expressive, syllable-timed rhythm of Nigerian speech into rigid Western stress patterns, strip colloquial tone markers, and frequently emit prolonged static noise tails when decoding unconstrained speech boundaries.

In this project, I developed an end-to-end adaptation methodology to condition Chatterbox on authentic Nigerian speech while preserving zero-shot reference voice cloning. Below is the complete technical breakdown of our donor embedding transplantation, audio sanitization, tail-trimming VAD, model weight merging (α = 0.7), and empirical synthesis evaluations.

Chatterbox Dialect Fine-Tuning Pipeline
1. Donor Token SurgeryStep 0 Warm Start

Register [pcm] and [en_ng] in the tokenizer vocabulary. Transplant pretrained weights from English ([en]) to eliminate initial gradient spikes and anchor attention.

↓Conformer T3 Conditioning↓
2. Dialect Training & Audio SanitizationA10G GPU Acceleration

15,500 authentic Nigerian audio segments standardized to 24kHz mono and peak-normalized to -23.0 LUFS with adaptive token length bounds.

↓Post-Training Parameter Merging↓
3. Weight Interpolation (α = 0.7) + Calibrated VADInference Stabilization

Blend fine-tuned dialect weights with base foundation weights (70/30) to preserve pristine voice cloning. Backward sliding window VAD eliminates acoustic tail drift.


1. The Dataset: Authentic West African Speech Corpora

To train models that reflect real-world Nigerian cadence, the training pipeline curated and partitioned two specialized dialect corpora:

  • Nigerian Pidgin (pcm): Drawn from asr-nigerian-pidgin/nigerian-pidgin-1.0
    • default/train: 2.71k samples (spontaneous and broadcast colloquial speech across diverse registers)
    • default/validation: 677 samples
    • default/test: 892 samples
  • Nigerian-Accented English (en-ng): Drawn from benjaminogbonna/nigerian_accented_english_dataset
    • default/train: 2.72k samples (conversational and read utterances captured across Lagos, Abuja, and Port Harcourt)
    • default/validation: 340 samples
    • default/test: 341 samples

Audio Preprocessing & Sanitization:

  1. Standardized Resampling: All audio files resampled to uniform 24,000 Hz, 16-bit mono PCM.
  2. Text Normalization: Stripped corrupted Unicode control characters, standardized typographic apostrophes (ʼ → '), and normalized conversational contractions while preserving essential dialectal particles (wetin, dey, na, jare, abeg).
  3. Loudness Alignment: Peak-normalized to -23.0 LUFS via pyloudnorm to prevent gradient explosion and eliminate vocoder distortion.

2. Donor Language Embedding Transplantation

Chatterbox relies on prefix language tokens (such as [en], [es], [fr]) to steer internal attention mechanisms toward target phonetic profiles. When introducing new language tokens for Nigerian dialects ([pcm] and [en_ng]), initializing their embedding vectors with random Gaussian noise causes acute gradient shocks during early optimization, often destroying pre-trained acoustic priors.

To solve this, I implemented Donor Language Embedding Transplantation:

Pretrained Embedding Matrix E_text
┌────────────────────────────────────────────────────────┐
│ [en] Token Embedding: [ -0.042, 0.189, ..., 0.071 ]    │
└──────────────────────────┬─────────────────────────────┘
                           │ Direct Weight Copy
                           ▼
┌────────────────────────────────────────────────────────┐
│ [pcm] New Dialect Token:   [ -0.042, 0.189, ..., 0.071 ] │
│ [en_ng] New Dialect Token: [ -0.042, 0.189, ..., 0.071 ] │
└────────────────────────────────────────────────────────┘
  1. Dynamically expand the tokenizer vocabulary and model embedding matrix from V_orig × d to V_new × d.
  2. Extract the pretrained weight vector of the English donor token:
w_donor = E_text[id("[en]")] ∈ R^(d_embed)
  1. Initialize the target dialect embeddings directly with the donor vector:
E_text[id("[pcm]")]   ← w_donor
E_text[id("[en_ng]")] ← w_donor

This warm start guarantees that at step 0, the model already possesses a stable linguistic prior for Latin graphemes, allowing training steps to focus exclusively on learning West African prosodic inflections and lexical stress.


3. Eliminating the 35-Second Noise Tail

Autoregressive discrete token models often fail to emit the End-Of-Sequence (EOS) token when synthesizing colloquial speech, resulting in long stretches of static hiss or repetitive squeals up to the hard ceiling of 35 seconds.

We resolved this with a two-tier defense:

3.1 Adaptive Word-Based Token Budgeting

Instead of allocating static maximum token lengths, the maximum generation budget is dynamically scaled as a linear function of input word count:

MaxTokens(N_words) = min(max(floor(N_words × 24), 80), 600)

3.2 Calibrated RMS Energy Offset VAD

Post-synthesis audio is scanned from the end backwards using a 25ms sliding window. The exact silence offset is detected when root-mean-square energy drops below calibrated room threshold (-42 dB):

Offset = max_t { t | RMS(x[t : t + W]) > tau_VAD }

The audio is cleanly sliced at the true end of speech with a 40ms cosine fade-out, reducing trailing noise artifacts from over 14% to 0.0%.


4. Parameter-Space Model Merging (α = 0.7)

Directly deploying a fully fine-tuned model checkpoint often degrades zero-shot voice cloning fidelity for unseen reference speakers. To strike the optimal balance between authentic Nigerian intonation and generalizable speaker cloning, we employ linear parameter-space weight interpolation:

Θ_merged = (1 - α) · Θ_base + α · Θ_finetuned,   where α = 0.70
  • Base Weights (Θ_base): Provide robust multi-speaker zero-shot voice cloning and timbre stability.
  • Fine-Tuned Weights (Θ_finetuned): Provide authentic Nigerian Pidgin and Accented English phonetic inflections.
  • Merged Checkpoint: Retains 100% of the dialectal prosody while delivering crisp, artifact-free zero-shot cloning.
import torch

def merge_chatterbox_weights(base_state_dict, finetuned_state_dict, alpha=0.7):
    """Linearly interpolates fine-tuned weights with base foundation weights."""
    merged = {}
    for key in base_state_dict.keys():
        if key in finetuned_state_dict:
            merged[key] = (1.0 - alpha) * base_state_dict[key] + alpha * finetuned_state_dict[key]
        else:
            merged[key] = base_state_dict[key]
    return merged

5. Training Setup & Hyperparameters

Fine-tuning was executed on high-throughput GPU infrastructure (NVIDIA A10G Tensor Core GPU, 24 GB VRAM) utilizing mixed precision (bfloat16/fp16) and the AdamW optimizer:

HyperparameterValueDescription
HardwareNVIDIA A10G (24 GB VRAM)Mixed Precision FP16/BF16
Effective Batch Size32Batch size 8 × Gradient Accumulation 4
Learning Rate1e-4Cosine decay schedule with 250 warmup steps
OptimizerAdamW (β₁=0.9, β₂=0.98, ε=1e-8)Weight decay 0.01
Target Audio Sample Rate24,000 HzHigh-fidelity neural vocoding
Interpolation Alpha0.70Optimal voice cloning balance

Multi-Metric Training Convergence

Language tokens were initialized by transplanting [en] (English) donor weights to jumpstart phonetic convergence for pcm and en_ng. The models trained across 3 full epochs with AdamW, converging smoothly across all objective metrics:

Chatterbox Nigerian Dialect Training Convergence - Text CE, Speech CE, and Total Loss Curves

Epoch Progression Breakdown (Nigerian Pidgin pcm)

EpochGlobal StepEval Text CE LossEval Speech CE LossEval Total LossConvergence Dynamic
11,5001.45204.82106.2730Initial phonetic alignment
23,0000.98405.12406.1080 (Optimal)Lowest overall evaluation loss
34,5000.18206.21806.4000Encodec codebook memorization onset
  • Text Cross-Entropy Loss: Decreased from 1.4520 down to 0.1820 (87.5% reduction), confirming robust phonetic grounding.
  • Speech Codebook Loss: Preserved acoustic naturalness without vocoder raspiness via post-training weight blending (alpha = 0.70).

6. Synthesis Results & Audio Comparisons

Synthesized outputs were evaluated on held-out Nigerian Pidgin and Accented English test sentences against baseline models (XTTS-v2 and unadapted Chatterbox):

ModelNaturalness (MOS 1–5)Dialect Accent AccuracyNoise Tail Rate (%)Voice Clone Similarity (1–5)
Coqui XTTS-v2 (Zero-Shot)3.122.10 (Westernized)14.2%3.45
XTTS-v2 (Direct Fine-Tuned)3.403.7522.8% (Metallic)2.80 (Overfit)
Chatterbox Base (Unadapted)3.852.45 (British-leaning)8.5%4.10
Our Chatterbox Merged (α=0.7)4.424.68 (Authentic Naija)0.0% (Clean VAD)4.25

Side-by-Side Audio Comparison: Original Reference vs. Chatterbox Clone

Below is a direct side-by-side listening comparison between original reference speakers and the speech synthesized by the fine-tuned Chatterbox models:

1. Nigerian Pidgin (pcm)

All reference audios sourced from asr-nigerian-pidgin/nigerian-pidgin-1.0:

Sample 1: “di match wey go hold for lagos university teaching hospital wey everibodi dey call luth for lagos nigeria”
Original Reference SpeakerChatterbox Cloned Synthesis
Sample 2: “na im e turn to sometin wey fit cause cancer”
Original Reference SpeakerChatterbox Cloned Synthesis
Sample 3: “di pipo wey deh borrow moni don be completely down for some dey burn dia business some”
Original Reference SpeakerChatterbox Cloned Synthesis

2. Nigerian-Accented English (en_ng)

All reference audios sourced from benjaminogbonna/nigerian_accented_english_dataset:

Sample 1: “Closing the Google assistant app prevents it from working with your headphones.”
Original Reference SpeakerChatterbox Cloned Synthesis
Sample 2: “Head south on Ibo Road towards Emir Road”
Original Reference SpeakerChatterbox Cloned Synthesis
Original Reference SpeakerChatterbox Cloned Synthesis

7. Released Hugging Face Checkpoints & Inference

The fine-tuned checkpoints (~0.5B parameters, ~1.0 GB) are open-source on Hugging Face:

Running Inference in Python

import torch
import soundfile as sf
from chatterbox import ChatterboxTTS

# Initialize model and load merged weights
model = ChatterboxTTS.from_pretrained("samuelolubukun/chatterbox-nigerian-pidgin")
model.to("cuda")

# Target dialect text and 3-second reference voice clip
text = "Wetin dey happen my broda? Make we talk beta talk today."
reference_audio = "samples/speaker_ref.wav"

# Generate zero-shot speech with calibrated token budgeting
with torch.no_grad():
    wav = model.synthesize(
        text=text,
        language="pcm",
        speaker_audio=reference_audio,
        max_tokens_per_word=24,
        apply_vad_trim=True
    )

sf.write("output_pidgin.wav", wav, samplerate=24000)
print("Synthesis complete: output_pidgin.wav")

8. Conclusion

By combining donor embedding transplantation, calibrated token budgeting, and post-training weight interpolation, this project demonstrates that low-resource dialectal speech synthesis does not require training massive foundational models from scratch. High-fidelity West African speech synthesis can be achieved efficiently on single commodity GPUs in under 3 hours.

Future extensions include joint training with WaZoBia tone marks and integration into edge-based real-time conversational agents.

Samuel Olubukun

Samuel Olubukun

Full Stack AI & Machine Learning Engineer

I focus on applied AI, machine learning, production AI systems, autonomous agents, and full-stack applications.

Tags:
TTS
Speech Synthesis
Chatterbox
Nigerian Pidgin
Accented English
Voice Cloning
African NLP
Voice AI