Instructions to use LyngualLabs/YorubaEnglish-CodeSwitching-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- VoxCPM
How to use LyngualLabs/YorubaEnglish-CodeSwitching-TTS with VoxCPM:
import soundfile as sf from voxcpm import VoxCPM model = VoxCPM.from_pretrained("LyngualLabs/YorubaEnglish-CodeSwitching-TTS") wav = model.generate( text="VoxCPM is an innovative end-to-end TTS model from ModelBest, designed to generate highly expressive speech.", prompt_wav_path=None, # optional: path to a prompt speech for voice cloning prompt_text=None, # optional: reference text cfg_value=2.0, # LM guidance on LocDiT, higher for better adherence to the prompt, but maybe worse inference_timesteps=10, # LocDiT inference timesteps, higher for better result, lower for fast speed normalize=True, # enable external TN tool denoise=True, # enable external Denoise tool retry_badcase=True, # enable retrying mode for some bad cases (unstoppable) retry_badcase_max_times=3, # maximum retrying times retry_badcase_ratio_threshold=6.0, # maximum length restriction for bad case detection (simple but effective), it could be adjusted for slow pace speech ) sf.write("output.wav", wav, 16000) print("saved: output.wav") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature414803c -
Update README.md
Verified signature735517b
-
Trim overfitting comparison from Training status note
Verified signaturedd04b3b -
Restore credits edit (org names only) + apply CC BY-NC-4.0 license
Verified signaturec21e81f -
Correct license to CC BY-NC-4.0 to respect NaijaVoices' NC terms
Verified signaturec6dc7f4
-
Update README.md
Verified signature50dc707
-
Update README.md
Verified signature17107ce -
Swap Energetic for Angry in diverse voices
Verified signaturedd48228 -
Replace Energetic voice with Angry (cloned from real YECS clip)
Verified signature57c8498 -
Add English-only long-form sample with YECS attribution
Verified signature22c398e -
Update code-switch text, add English-only long sample, shorten energetic line
Verified signature0838c11 -
Switch diverse voices to cloning; document voice-design limitation
Verified signature6aef123 -
Add code-switched long sample; clone diverse voices from old repo's clips
Verified signatured22d9aa -
Prominently disclose ~1 epoch training budget; update samples
Verified signature0346f84 -
Regenerate weak samples, add long-form sample
Verified signatureef9dad4 -
Add model card
Verified signature00cd70e -
Add audio samples
Verified signature66fda02 -
Full fine-tune on ~1039h pooled Yoruba data, step 28000
Verified signatureac08baa -
initial commit
Verified signatured529f5f