facebook / mms-tts-hin

huggingface.co
Total runs: 34.3K
24-hour runs: 0
7-day runs: -35.8K
30-day runs: -64.3K
Model's Last Updated: September 06 2023
text-to-speech

Introduction of mms-tts-hin

Model Details of mms-tts-hin

Massively Multilingual Speech (MMS): Hindi Text-to-Speech

This repository contains the Hindi (hin) language text-to-speech (TTS) model checkpoint.

This model is part of Facebook's Massively Multilingual Speech project, aiming to provide speech technology across a diverse range of languages. You can find more details about the supported languages and their ISO 639-3 codes in the MMS Language Coverage Overview , and see all MMS-TTS checkpoints on the Hugging Face Hub: facebook/mms-tts .

MMS-TTS is available in the 🤗 Transformers library from version 4.33 onwards.

Model Details

VITS ( V ariational I nference with adversarial learning for end-to-end T ext-to- S peech) is an end-to-end speech synthesis model that predicts a speech waveform conditional on an input text sequence. It is a conditional variational autoencoder (VAE) comprised of a posterior encoder, decoder, and conditional prior.

A set of spectrogram-based acoustic features are predicted by the flow-based module, which is formed of a Transformer-based text encoder and multiple coupling layers. The spectrogram is decoded using a stack of transposed convolutional layers, much in the same style as the HiFi-GAN vocoder. Motivated by the one-to-many nature of the TTS problem, where the same text input can be spoken in multiple ways, the model also includes a stochastic duration predictor, which allows the model to synthesise speech with different rhythms from the same input text.

The model is trained end-to-end with a combination of losses derived from variational lower bound and adversarial training. To improve the expressiveness of the model, normalizing flows are applied to the conditional prior distribution. During inference, the text encodings are up-sampled based on the duration prediction module, and then mapped into the waveform using a cascade of the flow module and HiFi-GAN decoder. Due to the stochastic nature of the duration predictor, the model is non-deterministic, and thus requires a fixed seed to generate the same speech waveform.

For the MMS project, a separate VITS checkpoint is trained on each langauge.

Usage

MMS-TTS is available in the 🤗 Transformers library from version 4.33 onwards. To use this checkpoint, first install the latest version of the library:

pip install --upgrade transformers accelerate

Then, run inference with the following code-snippet:

from transformers import VitsModel, AutoTokenizer
import torch

model = VitsModel.from_pretrained("facebook/mms-tts-hin")
tokenizer = AutoTokenizer.from_pretrained("facebook/mms-tts-hin")

text = "some example text in the Hindi language"
inputs = tokenizer(text, return_tensors="pt")

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

The resulting waveform can be saved as a .wav file:

import scipy

scipy.io.wavfile.write("techno.wav", rate=model.config.sampling_rate, data=output.float().numpy())

Or displayed in a Jupyter Notebook / Google Colab:

from IPython.display import Audio

Audio(output.numpy(), rate=model.config.sampling_rate)
BibTex citation

This model was developed by Vineel Pratap et al. from Meta AI. If you use the model, consider citing the MMS paper:

@article{pratap2023mms,
    title={Scaling Speech Technology to 1,000+ Languages},
    author={Vineel Pratap and Andros Tjandra and Bowen Shi and Paden Tomasello and Arun Babu and Sayani Kundu and Ali Elkahky and Zhaoheng Ni and Apoorv Vyas and Maryam Fazel-Zarandi and Alexei Baevski and Yossi Adi and Xiaohui Zhang and Wei-Ning Hsu and Alexis Conneau and Michael Auli},
    journal={arXiv},
    year={2023}
}
License

The model is licensed as CC-BY-NC 4.0 .

Runs of facebook mms-tts-hin on huggingface.co

34.3K
Total runs
0
24-hour runs
-2.9K
3-day runs
-35.8K
7-day runs
-64.3K
30-day runs

More Information About mms-tts-hin huggingface.co Model

More mms-tts-hin license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

mms-tts-hin huggingface.co

mms-tts-hin huggingface.co is an AI model on huggingface.co that provides mms-tts-hin's model effect (), which can be used instantly with this facebook mms-tts-hin model. huggingface.co supports a free trial of the mms-tts-hin model, and also provides paid use of the mms-tts-hin. Support call mms-tts-hin model through api, including Node.js, Python, http.

mms-tts-hin huggingface.co Url

https://huggingface.co/facebook/mms-tts-hin

facebook mms-tts-hin online free

mms-tts-hin huggingface.co is an online trial and call api platform, which integrates mms-tts-hin's modeling effects, including api services, and provides a free online trial of mms-tts-hin, you can try mms-tts-hin online for free by clicking the link below.

facebook mms-tts-hin online free url in huggingface.co:

https://huggingface.co/facebook/mms-tts-hin

mms-tts-hin install

mms-tts-hin is an open source model from GitHub that offers a free installation service, and any user can find mms-tts-hin on GitHub to install. At the same time, huggingface.co provides the effect of mms-tts-hin install, users can directly use mms-tts-hin installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

mms-tts-hin install url in huggingface.co:

https://huggingface.co/facebook/mms-tts-hin

Url of mms-tts-hin

mms-tts-hin huggingface.co Url

Provider of mms-tts-hin huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 8.0M
Run Growth: 18.9K
Growth Rate: 0.24%
Updated:January 20 2022
huggingface.co

Total runs: 7.9M
Run Growth: -9.0M
Growth Rate: -113.24%
Updated:September 15 2023
huggingface.co

Total runs: 3.7M
Run Growth: -956.9K
Growth Rate: -25.81%
Updated:September 06 2023
huggingface.co

Total runs: 3.3M
Run Growth: 881.3K
Growth Rate: 27.28%
Updated:January 17 2024
huggingface.co

Total runs: 2.8M
Run Growth: -596.8K
Growth Rate: -21.95%
Updated:December 28 2021
huggingface.co

Total runs: 2.3M
Run Growth: 210.2K
Growth Rate: 9.50%
Updated:March 23 2023
huggingface.co

Total runs: 2.2M
Run Growth: 468.2K
Growth Rate: 20.84%
Updated:January 25 2024
huggingface.co

Total runs: 1.9M
Run Growth: -434.9K
Growth Rate: -23.25%
Updated:November 21 2025
huggingface.co

Total runs: 821.6K
Run Growth: -184.9K
Growth Rate: -25.05%
Updated:September 06 2023
huggingface.co

Total runs: 473.6K
Run Growth: -142.4K
Growth Rate: -29.96%
Updated:May 22 2023
huggingface.co

Total runs: 452.0K
Run Growth: 75.0K
Growth Rate: 16.95%
Updated:February 29 2024
huggingface.co

Total runs: 426.2K
Run Growth: -69.0K
Growth Rate: -16.06%
Updated:March 17 2025
huggingface.co

Total runs: 381.8K
Run Growth: -206.1K
Growth Rate: -53.73%
Updated:January 12 2024
huggingface.co

Total runs: 333.7K
Run Growth: -73.3K
Growth Rate: -22.19%
Updated:January 12 2024
huggingface.co

Total runs: 311.3K
Run Growth: -64.5K
Growth Rate: -20.98%
Updated:September 06 2023
huggingface.co

Total runs: 308.1K
Run Growth: 32.9K
Growth Rate: 10.65%
Updated:September 15 2023
huggingface.co

Total runs: 288.5K
Run Growth: 53.5K
Growth Rate: 19.03%
Updated:June 15 2023
huggingface.co

Total runs: 286.2K
Run Growth: -37.1K
Growth Rate: -13.19%
Updated:November 17 2022
huggingface.co

Total runs: 258.8K
Run Growth: 165.2K
Growth Rate: 63.55%
Updated:May 22 2023
huggingface.co

Total runs: 236.9K
Run Growth: 14.3K
Growth Rate: 6.02%
Updated:July 23 2024
huggingface.co

Total runs: 211.3K
Run Growth: -148.8K
Growth Rate: -70.85%
Updated:July 25 2023
huggingface.co

Total runs: 187.2K
Run Growth: 78.9K
Growth Rate: 42.04%
Updated:February 12 2023
huggingface.co

Total runs: 179.6K
Run Growth: 74.8K
Growth Rate: 42.42%
Updated:September 06 2023
huggingface.co

Total runs: 168.2K
Run Growth: -207.4K
Growth Rate: -122.30%
Updated:November 17 2023
huggingface.co

Total runs: 162.8K
Run Growth: -984
Growth Rate: -0.60%
Updated:September 01 2023
huggingface.co

Total runs: 146.1K
Run Growth: 107.3K
Growth Rate: 72.91%
Updated:November 16 2023
huggingface.co

Total runs: 119.7K
Run Growth: -6.4K
Growth Rate: -5.35%
Updated:June 03 2022
huggingface.co

Total runs: 113.7K
Run Growth: 26.5K
Growth Rate: 24.14%
Updated:November 20 2023
huggingface.co

Total runs: 112.9K
Run Growth: 26.2K
Growth Rate: 23.95%
Updated:January 25 2023
huggingface.co

Total runs: 108.3K
Run Growth: -10.3K
Growth Rate: -9.51%
Updated:September 15 2023
huggingface.co

Total runs: 105.2K
Run Growth: -12.9K
Growth Rate: -12.29%
Updated:June 13 2023
huggingface.co

Total runs: 100.4K
Run Growth: -207.3K
Growth Rate: -206.66%
Updated:June 13 2023
huggingface.co

Total runs: 87.8K
Run Growth: 60.8K
Growth Rate: 70.16%
Updated:February 12 2023
huggingface.co

Total runs: 61.7K
Run Growth: -17.5K
Growth Rate: -28.31%
Updated:March 28 2026
huggingface.co

Total runs: 59.5K
Run Growth: 16.8K
Growth Rate: 28.34%
Updated:January 25 2023
huggingface.co

Total runs: 48.5K
Run Growth: -19.8K
Growth Rate: -39.48%
Updated:January 29 2026