Downloads · 30 days
12
20% of all-time downloads
techolise/akan-twi-speaker17-tts-v2
akan-twi-speaker17-tts-v2 is a text-to-speech model from techolise. Use it when you need text read aloud. It is set up for voxcpm. The card lists the license as apache-2.0.
Production-grade Text-to-Speech system for Asante Twi (Akan), trained on the 15,560-sample multi-speaker speech corpus (ghanaopendata/twi-speech-text-multispeaker-16k) and specialized on the native female voice of Spe…
Downloads · 30 days
12
20% of all-time downloads
All-time downloads
59
Public
Repo size
338 MB
Likes
0
Public
Click a slice to open those files.
.pth301 MB · 88%
From the Hugging Face model README
Production-grade Text-to-Speech system for Asante Twi (Akan), trained on the 15,560-sample multi-speaker speech corpus (ghanaopendata/twi-speech-text-multispeaker-16k) and specialized on the native female voice of Speaker 17 (Age 21).
`python from voxcpm import VoxCPM from huggingface_hub import snapshot_download import soundfile as sf
base_dir = snapshot_download('ghananlpcommunity/ghana-tts-36k') spk17_dir = snapshot_download('techolise/akan-twi-speaker17-tts-v2')
model = VoxCPM(base_dir, enable_denoiser=True) anchor_wav = f'{spk17_dir}/speaker_17_dataset/speaker17_golden_anchor.wav' anchor_txt = 'Atoyerɛnkyɛm asi wɔ bea a wɔgu fangoo ɛgu ɛhyɛn mu.'
text = 'Mema mo akye me nuanom nyinaa! Wo ho te sɛn? Akwaaba ba Ghana!' wav = model.generate( text=text, prompt_wav_path=anchor_wav, prompt_text=anchor_txt, cfg_value=2.4, inference_timesteps=26 )
sf.write('twi_output.wav', wav, 16000) `