Run this model with HF Jobs
Run Matthijs/mms-tts-abp on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Matthijs/mms-tts-abp. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Matthijs/mms-tts-abp on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Matthijs/mms-tts-abp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Matthijs/mms-tts-abp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="Matthijs/mms-tts-abp")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("Matthijs/mms-tts-abp") model = AutoModelForTextToWaveform.from_pretrained("Matthijs/mms-tts-abp", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Massively Multilingual Speech (MMS) : Text-to-Speech Models
This repository contains the Ayta, Abellen (abp) 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.
Usage
Using this checkpoint from Hugging Face Transformers:
from transformers import VitsModel, VitsMmsTokenizer
import torch
model = VitsModel.from_pretrained("Matthijs/mms-tts-abp")
tokenizer = VitsMmsTokenizer.from_pretrained("Matthijs/mms-tts-abp")
text = "some example text in the Ayta, Abellen language"
inputs = tokenizer(text, return_tensors="pt")
with torch.no_grad():
output = model(**inputs)
from IPython.display import Audio
Audio(output.audio[0], rate=16000)
Note: For certain checkpoints, the input text must be converted to the Latin alphabet first using the uroman tool.
Model credits
This model was developed by Vineel Pratap et al. and is licensed as CC-BY-NC 4.0
@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}
}
- Downloads last month
- 126