How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-to-audio", model="Matthijs/mms-tts-fra")
# Load model directly
from transformers import AutoTokenizer, AutoModelForTextToWaveform

tokenizer = AutoTokenizer.from_pretrained("Matthijs/mms-tts-fra")
model = AutoModelForTextToWaveform.from_pretrained("Matthijs/mms-tts-fra")
Quick Links