Downloads · 30 days
32
5% of all-time downloads
joselobenitezg/mms-grn-tts
mms-grn-tts is a text-to-speech model from joselobenitezg. Use it when you need text read aloud. The card lists the license as mit.
This is a VITS-based text-to-speech model for the Guarani language, based on the MMS-TTS architecture.
Downloads · 30 days
32
5% of all-time downloads
All-time downloads
636
Public
Parameters
36.3M
2 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin145 MB · 50%
From the Hugging Face model README
This is a VITS-based text-to-speech model for the Guarani language, based on the MMS-TTS architecture.
This model can generate speech from Guarani text input using the VITS architecture.
from transformers import VitsModel, AutoTokenizer
import torch
model = VitsModel.from_pretrained("joselobenitezg/mms-grn-tts")
tokenizer = AutoTokenizer.from_pretrained("joselobenitezg/mms-grn-tts")
text = "some example text in the Guarani language"
inputs = tokenizer(text, return_tensors="pt")
with torch.no_grad():
output = model(**inputs).waveform
# Save the output as a wav file
import scipy
scipy.io.wavfile.write("output.wav", rate=model.config.sampling_rate, data=output)