Downloads · 30 days
31
5% of all-time downloads
onecxi/mms-english-female-indic
mms-english-female-indic is a text-to-speech model from onecxi. Use it when you need text read aloud. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
This model is trained using IndicTTS dataset with Hindi female speaker.
Downloads · 30 days
31
5% of all-time downloads
All-time downloads
567
Public
Parameters
83M
332 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors332 MB · 100%
From the Hugging Face model README
This model is trained using IndicTTS dataset with Hindi female speaker.
mms-english-female-indic: English model with Hindi female speaker from the IndicTTS dataset.
| Text | Synthesized Audio |
|---|---|
| They decided to take a short break from work and travel to the mountains. | <audio controls src="https://huggingface.co/datasets/onecxi/cxi-sample-data/resolve/main/tts-examples/mms-english-female-indic/english_example_1.wav"></audio> |
| I think that movie had a very unexpected and thrilling ending. | <audio controls src="https://huggingface.co/datasets/onecxi/cxi-sample-data/resolve/main/tts-examples/mms-english-female-indic/english_example_2.wav"></audio> |
| It's always a good idea to double-check your work before submitting it. | <audio controls src="https://huggingface.co/datasets/onecxi/cxi-sample-data/resolve/main/tts-examples/mms-english-female-indic/english_example_3.wav"></audio> |
To use these models for inference, you'll need to install the transformers and accelerate libraries.
First, install the necessary libraries:
pip install --upgrade transformers accelerate
Then, run inference with the following code-snippet:
from transformers import VitsModel, AutoTokenizer
import torch
from IPython.display import Audio
model_path = "onecxi/mms-english-female-indic" # This is the path to your fine-tuned model
model = VitsModel.from_pretrained(model_path)
tokenizer = AutoTokenizer.from_pretrained(model_path)
text = "This is an English model trained using a Hindi female speaker."
inputs = tokenizer(text, return_tensors="pt")
with torch.no_grad():
output = model(**inputs).waveform
Audio(output.numpy(), rate=model.config.sampling_rate)
This Text-to-Speech (TTS) model is intended solely for research and educational use. Any use of the model must comply with all applicable laws, regulations, and ethical standards. The unauthorized use of this model for impersonating real individuals without their explicit consent is strictly prohibited. Additionally, the model must not be used to create or distribute deceptive, misleading, or fraudulent content, including but not limited to fake news or scams. Any use of the model for illegal, harmful, or malicious purposes is expressly forbidden.
By using this model, you acknowledge and agree to these terms. The creators and distributors of the model disclaim any liability for misuse and do not support or condone unethical or unlawful applications.