Downloads · 30 days
39
15% of all-time downloads
ynnov/ekodi-bambara-tts-female
ekodi-bambara-tts-female is a text-to-speech model from ynnov. Use it when you need text read aloud. The card lists the license as apache-2.0.
Bambara (Bamanankan) text-to-speech with a woman's voice.
Downloads · 30 days
39
15% of all-time downloads
All-time downloads
258
Public
Parameters
36.3M
145 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors145 MB · 100%
From the Hugging Face model README
Bambara (Bamanankan) text-to-speech with a woman's voice.
from transformers import VitsModel, AutoTokenizer
import torch
model = VitsModel.from_pretrained("ynnov/ekodi-bambara-tts-female")
tokenizer = AutoTokenizer.from_pretrained("ynnov/ekodi-bambara-tts-female")
model.config.speaking_rate = 0.82
text = "I ni ce"
inputs = tokenizer(text, return_tensors="pt")
with torch.no_grad():
output = model(**inputs)
waveform = output.waveform[0].numpy()