MMS Hindi Male

This model is trained using IndicTTS dataset with Hindi male speaker.

Model

mms-hindi-male-indic: Hindi model with Hindi male speaker from the IndicTTS dataset.

Sample Examples

Text Synthesized Audio
नमस्ते, आप कैसे हैं? आज का दिन कैसा रहा?
आज मौसम बहुत अच्छा है। बाहर ठंडी हवा चल रही है।
बच्चों को पार्क में खेलना बहुत पसंद है। वे हर शाम वहाँ जाते हैं।

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:

from transformers import VitsModel, AutoTokenizer
import torch
from IPython.display import Audio

model_path = "onecxi/mms-hindi-male-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 a Hindi model trained using a Hindi male speaker."
inputs = tokenizer(text, return_tensors="pt")

with torch.no_grad():
    output = model(**inputs).waveform

Audio(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.

Downloads last month
47
Safetensors
Model size
83M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for onecxi/mms-hindi-male-indic

Base model

facebook/mms-tts
Finetuned
(12)
this model

Collection including onecxi/mms-hindi-male-indic