facebook / mms-tts-bam

huggingface.co
Total runs: 162.8K
24-hour runs: 0
7-day runs: 2.4K
30-day runs: -734
Model's Last Updated: September 01 2023
text-to-speech

Introduction of mms-tts-bam

Model Details of mms-tts-bam

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

This repository contains the Bamanankan (bam) 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-bam")
tokenizer = AutoTokenizer.from_pretrained("facebook/mms-tts-bam")

text = "some example text in the Bamanankan 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)

Or displayed in a Jupyter Notebook / Google Colab:

from IPython.display import Audio

Audio(output, 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-bam on huggingface.co

162.8K
Total runs
0
24-hour runs
118
3-day runs
2.4K
7-day runs
-734
30-day runs

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

More mms-tts-bam license Visit here:

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

mms-tts-bam huggingface.co

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

mms-tts-bam huggingface.co Url

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

facebook mms-tts-bam online free

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

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

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

mms-tts-bam install

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

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

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

Url of mms-tts-bam

mms-tts-bam huggingface.co Url

Provider of mms-tts-bam huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 8.0M
Run Growth: -8.9M
Growth Rate: -110.38%
Updated:September 15 2023
huggingface.co

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

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

Total runs: 3.2M
Run Growth: 876.4K
Growth Rate: 27.17%
Updated:January 17 2024
huggingface.co

Total runs: 2.7M
Run Growth: -574.4K
Growth Rate: -20.96%
Updated:December 28 2021
huggingface.co

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

Total runs: 2.2M
Run Growth: 159.7K
Growth Rate: 7.39%
Updated:March 23 2023
huggingface.co

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

Total runs: 738.2K
Run Growth: -201.5K
Growth Rate: -27.91%
Updated:September 06 2023
huggingface.co

Total runs: 475.3K
Run Growth: -136.5K
Growth Rate: -28.37%
Updated:May 22 2023
huggingface.co

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

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

Total runs: 383.6K
Run Growth: -200.9K
Growth Rate: -51.66%
Updated:January 12 2024
huggingface.co

Total runs: 330.5K
Run Growth: -60.2K
Growth Rate: -17.53%
Updated:January 12 2024
huggingface.co

Total runs: 308.7K
Run Growth: 35.7K
Growth Rate: 11.47%
Updated:September 15 2023
huggingface.co

Total runs: 307.7K
Run Growth: -66.3K
Growth Rate: -21.68%
Updated:September 06 2023
huggingface.co

Total runs: 281.7K
Run Growth: -26.8K
Growth Rate: -9.17%
Updated:November 17 2022
huggingface.co

Total runs: 280.9K
Run Growth: 61.9K
Growth Rate: 21.40%
Updated:June 15 2023
huggingface.co

Total runs: 260.0K
Run Growth: 167.8K
Growth Rate: 63.90%
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: 210.0K
Run Growth: -142.4K
Growth Rate: -65.85%
Updated:July 25 2023
huggingface.co

Total runs: 187.6K
Run Growth: 79.9K
Growth Rate: 42.35%
Updated:February 12 2023
huggingface.co

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

Total runs: 169.5K
Run Growth: -205.2K
Growth Rate: -119.47%
Updated:November 17 2023
huggingface.co

Total runs: 147.1K
Run Growth: 108.3K
Growth Rate: 73.09%
Updated:November 16 2023
huggingface.co

Total runs: 120.4K
Run Growth: -3.4K
Growth Rate: -2.72%
Updated:June 03 2022
huggingface.co

Total runs: 107.8K
Run Growth: -8.5K
Growth Rate: -7.79%
Updated:September 15 2023
huggingface.co

Total runs: 104.7K
Run Growth: -8.1K
Growth Rate: -7.35%
Updated:June 13 2023
huggingface.co

Total runs: 109.8K
Run Growth: 26.2K
Growth Rate: 23.91%
Updated:November 20 2023
huggingface.co

Total runs: 109.5K
Run Growth: 25.9K
Growth Rate: 23.71%
Updated:January 25 2023
huggingface.co

Total runs: 100.3K
Run Growth: -210.0K
Growth Rate: -215.14%
Updated:June 13 2023
huggingface.co

Total runs: 86.7K
Run Growth: 59.4K
Growth Rate: 69.67%
Updated:February 12 2023
huggingface.co

Total runs: 61.6K
Run Growth: -19.2K
Growth Rate: -31.67%
Updated:March 28 2026
huggingface.co

Total runs: 59.2K
Run Growth: 16.3K
Growth Rate: 27.79%
Updated:January 25 2023
huggingface.co

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