This model is trained using IndicTTS dataset with Hindi male speaker.
Model
mms-english-male-indic: English model with Hindi male speaker from the IndicTTS dataset.
Sample Examples
Text
Synthesized Audio
They decided to take a short break from work and travel to the mountains.
I think that movie had a very unexpected and thrilling ending.
It's always a good idea to double-check your work before submitting it.
Inference
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:
python
1from transformers import VitsModel, AutoTokenizer
2import torch
3from IPython.display import Audio
45model_path ="onecxi/mms-english-male-indic"# This is the path to your fine-tuned model6model = VitsModel.from_pretrained(model_path)7tokenizer = AutoTokenizer.from_pretrained(model_path)89text ="This is an English model trained using a Hindi male speaker."10inputs = tokenizer(text, return_tensors="pt")1112with torch.no_grad():13 output = model(**inputs).waveform
1415Audio(output.numpy(), rate=model.config.sampling_rate)
Disclaimer
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.