Downloads · 30 days
36
14% of all-time downloads
LyngualLabs/VoxCPM2-Yoruba
VoxCPM2-Yoruba is a text-to-speech model from LyngualLabs. Use it when you need text read aloud. It is set up for voxcpm. The card lists the license as apache-2.0.
⚠️ Experimental research model. An early full fine-tune of VoxCPM2 for Yoruba and Yoruba–English code-switched speech. Promising but not production-grade — expect occasional mispronunciations, tone errors, and artifacts.
Downloads · 30 days
36
14% of all-time downloads
All-time downloads
261
Public
Parameters
2.3B
9.6 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors9.2 GB · 96%
From the Hugging Face model README
⚠️ Experimental research model. An early full fine-tune of VoxCPM2 for Yoruba and Yoruba–English code-switched speech. Promising but not production-grade — expect occasional mispronunciations, tone errors, and artifacts.
A Yoruba text-to-speech model from LyngualLabs, full fine-tuned from openbmb/VoxCPM2 — a 2B, tokenizer-free, voice-cloning TTS. It speaks Yoruba in native script, including code-switching with English, with no G2P / espeak / language tags.
VoxCPM2 ships 30 languages but not Yoruba. Adapting a new language is a high-rank change, so LoRA plateaued; this is the full fine-tune (all 2B weights) that installs Yoruba phonetics and tones.
| Source | Hours | Notes |
|---|---|---|
| YECS (LyngualLabs) | ~95 h | Yoruba–English code-switch, multi-speaker, 16 kHz |
WAXAL Yoruba (google/WaxalNLP) | ~7.5 h | spontaneous |
| Total | ~102 h | pooled, 16 kHz |
A voice-cloning model: give a short reference clip + its transcript, and it speaks your text in that voice — or use voice-design (a text description, no reference).
# pip install git+https://github.com/OpenBMB/VoxCPM.git
from huggingface_hub import snapshot_download
from voxcpm import VoxCPM
import soundfile as sf
model_dir = snapshot_download("LyngualLabs/VoxCPM2-Yoruba")
model = VoxCPM.from_pretrained(model_dir, load_denoiser=False)
# --- voice cloning: a reference clip + its exact transcript ---
wav = model.generate(
text="Mo fẹ́ learn how to code, ṣùgbọ́n mi ò mọ programming language wo ló make sense.",
prompt_wav_path="reference.wav",
prompt_text="Ìròyìn ti sọ pé the government will ensure electricity tariff goes down ní January.",
cfg_value=2.0,
inference_timesteps=22,
)
sf.write("output.wav", wav, model.tts_model.sample_rate)
# --- or voice-design (no reference): prepend a voice description in parentheses ---
wav = model.generate(
text="(A young Nigerian woman, clear voice) Ẹ kú àárọ̀, ẹ jọ̀ọ́ ẹ jẹ́ ká bẹ̀rẹ̀ ìpàdé.",
cfg_value=2.0,
inference_timesteps=22,
)
sf.write("voice_design.wav", wav, model.tts_model.sample_rate)
Tips: raise inference_timesteps (20–25) for smoother audio; cfg_value higher sticks
closer to the reference.
Synthesized by this model (step 5000) — code-switched Yoruba–English, cloned from a single reference voice.
If rain falls tomorrow, jọ̀ọ́ rántí láti mú umbrella àti raincoat. <audio controls src="https://huggingface.co/LyngualLabs/VoxCPM2-Yoruba/resolve/main/samples/sample_4.wav"></audio>
Ìròyìn ti sọ pé the government will ensure electricity tariff goes down ní January. <audio controls src="https://huggingface.co/LyngualLabs/VoxCPM2-Yoruba/resolve/main/samples/sample_5.wav"></audio>
Ẹ̀gbọ́n mi tó ń ṣiṣẹ́ ní bank ti gba promotion, we're all so so happy. <audio controls src="https://huggingface.co/LyngualLabs/VoxCPM2-Yoruba/resolve/main/samples/sample_6.wav"></audio>
Mo fẹ́ learn how to code, ṣùgbọ́n mi ò mọ programming language wo ló make sense. <audio controls src="https://huggingface.co/LyngualLabs/VoxCPM2-Yoruba/resolve/main/samples/sample_7.wav"></audio>
Wọ́n ní ìpàdé ní hotel tó wà ní Victoria Island, kì í ṣe ní office wa. <audio controls src="https://huggingface.co/LyngualLabs/VoxCPM2-Yoruba/resolve/main/samples/sample_8.wav"></audio>
The same model can render different voices via voice-design (a text description, no reference clip):
Woman — Wọ́n ní ìpàdé ní hotel tó wà ní Victoria Island, kì í ṣe ní office wa. <audio controls src="https://huggingface.co/LyngualLabs/VoxCPM2-Yoruba/resolve/main/voices/woman.wav"></audio>
Young man — Mo fẹ́ learn how to code, ṣùgbọ́n mi ò mọ programming language wo ló make sense. <audio controls src="https://huggingface.co/LyngualLabs/VoxCPM2-Yoruba/resolve/main/voices/youngman.wav"></audio>
Energetic — Ẹ̀gbọ́n mi tó ń ṣiṣẹ́ ní bank ti gba promotion, we're all so so happy. <audio controls src="https://huggingface.co/LyngualLabs/VoxCPM2-Yoruba/resolve/main/voices/energetic.wav"></audio>
Base: OpenBMB/VoxCPM2 (Apache-2.0) · Data: YECS
(LyngualLabs), WAXAL (google/WaxalNLP) · Part of the WAXAL speech effort · Apache-2.0.