Turaco-csm-tts-wes-1b is a specialized text-to-speech model built on Sesame CSM 1B and trained to generate spoken Cameroon Pidgin English (WES) from text.
This model is part of the Turaco family, an initiative exploring modern language and speech models for low-resource and underrepresented African languages. By combining Sesame CSM's speech-generation capabilities with targeted training on Cameroon Pidgin recordings, the model aims to support natural, culturally relevant speech technology for Cameroon Pidgin.
The model was trained using Common Voice Scripted Speech 27.0 — Cameroon Pidgin, available through Mozilla Data Collective.
This release is an initial, single-speaker research pilot. The repository provides the complete merged FP16 CSM checkpoint and processor; the measured results and evaluation limits are documented below.
| Measurement | Result |
|---|---|
| Baseline validation loss | 6.102216 |
| Post-training validation loss | 5.130048 |
| Relative validation-loss decrease | 15.93% |
| Mean training loss across all steps | 5.271788 |
| Optimizer steps | 60 |
| Training duration (Trainer) | 228.34 seconds |
| Effective epochs | 1.2 |
| Training / validation recordings used | 400 / 32 |
| Held-out test recordings | 51 |
These are teacher-forced model losses, not word error rate, pronunciation accuracy, or perceptual quality scores. Validation uses the same 32 held-out utterances before and after training. The 51 test recordings were not scored. No MOS, WER, CER, speaker-similarity metric, repeated-seed study, confidence interval, or independent human listening score is available.
The light line shows every logged optimizer step; the dark line is a five-step trailing average. Each step accumulates four minibatches of two clips. The run covers 1.2 effective epochs of the 400-recording training subset.
Validation was measured at two endpoints only. This bar chart does not imply that validation was monitored continuously.
Machine-readable values are in experiment.json, training_history.csv, and training_log.json. Export verification is recorded in metrics/export_verification.json after the merged checkpoint is reloaded.
Source and split metadata recorded for this run:
{}
The run uses 400 training, 32 validation and 51 test rows. The preprocessing cell checks transcript overlap, local audio paths, decoding, finite audio and duration; it resamples mono audio to 24 kHz. Refer to reproduction scripts and metrics/configuration.json for the exact recipe.
| Setting | Value |
|---|---|
| Method | LoRA, merged into the full checkpoint for release |
| Rank / alpha | 32 / 32 |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| LoRA dropout / bias | 0 / none |
| Trainable parameters reported by runtime | 29,032,448 (1.75%) |
| Batch size / accumulation | 2 / 4 (effective batch 8) |
| Learning rate | 0.0002 |
| Schedule / warmup | Linear / 5 steps |
| Optimizer / weight decay | AdamW 8-bit / 0.001 |
| Precision | FP16 on Tesla T4 |
| Gradient checkpointing | Unsloth |
| Seed | 3407 |
| Steps | 60 |
Training runtime: PyTorch 2.14.1+cu130, Transformers 4.57.6, Unsloth 2026.11.5. The exact export environment is recorded in metrics/report_environment.json.
The before and after samples use the same held-out text, training-speaker audio reference, seed, and generation limit (125 audio frames, up to roughly 10 seconds). Audio outputs are 24 kHz WAV files. The before files are generated by the base model with the initially zero-effect LoRA adapters attached.
| Prompt | Before training | After training |
|---|---|---|
| I di kam na for kam. | before_0.wav | after_0.wav |
| Dey di bon soya. No be so? | before_1.wav | after_1.wav |
These examples are provided for human review. This experiment has not established that the outputs sound natural or faithfully pronounce Cameroon Pidgin. Reference recording metadata and generation prompts are in prompts.json; the original corpus audio is not redistributed in this model repository.
Use Transformers 4.57.6 or a tested compatible version with CSM support. The weights are merged, so loading does not require PEFT or separately fetching the base model.
import torch
import soundfile as sf
from transformers import AutoProcessor, CsmForConditionalGeneration
repo_id = "fotiecodes/turaco-csm-tts-wes-1b"
processor = AutoProcessor.from_pretrained(repo_id)
model = CsmForConditionalGeneration.from_pretrained(
repo_id, torch_dtype=torch.float16, device_map="auto",
).eval()
inputs = processor("[0]I di kam na for kam.", add_special_tokens=True).to(model.device)
with torch.inference_mode():
values = model.generate(**inputs, max_new_tokens=125, output_audio=True)
audio = values[0].float().cpu().numpy().squeeze()
sf.write("turaco_wes.wav", audio, 24000)
For speaker/style consistency, provide a matching text/audio reference in the CSM conversation template. The included comparison samples used such a reference. Text-only generation may yield a different voice or less consistent style.
Intended for reproducible research and testing Cameroon Pidgin TTS adaptation. This is one short run on one speaker and a narrow set of read sentences. Language coverage, accents, long-form synthesis, conversational prosody, other speakers, and out-of-domain text have not been evaluated. A lower validation loss does not establish improvements in all those dimensions. There is no production-readiness claim.
Use voice data and synthesized speech with appropriate permission; do not misrepresent generated recordings as authentic statements by a real person. This pilot does not identify or name its source speaker.
wes), release 27.0, CC0 as stated in the supplied dataset datasheet.reproduction/. The corpus itself is not included.model-00003-of-00004.safetensors 995 MBmodel-00001-of-00004.safetensors 987 MBmodel-00002-of-00004.safetensors 973 MBmodel-00004-of-00004.safetensors 344 MBunsloth/csm-1b