Instructions to use facebook/mms-tts-eng with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/mms-tts-eng with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="facebook/mms-tts-eng")# Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("facebook/mms-tts-eng") model = AutoModelForTextToWaveform.from_pretrained("facebook/mms-tts-eng") - Notebooks
- Google Colab
- Kaggle
Token indices sequence length is longer than the specified maximum sequence length
#11
by bl0ckade - opened
Hi everyone.
I am trying to convert my text which is pretty large, but I run into this error:
Token indices sequence length is longer than the specified maximum sequence length for this model (510649 > 4096). Running this sequence through the model will result in indexing errors.
Is there any way to increase the maximum amount of tokens?
Thanks!