Instructions to use facebook/mms-tts-hin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/mms-tts-hin with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="facebook/mms-tts-hin")# Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("facebook/mms-tts-hin") model = AutoModelForTextToWaveform.from_pretrained("facebook/mms-tts-hin") - Notebooks
- Google Colab
- Kaggle
It is unable to parse the language if written in english but the words are hindi
#2
by HiteshKapoor - opened
Expected tensor for argument #1 'indices' to have one of the following scalar types: Long, Int; but got torch.FloatTensor instead (while checking arguments for embedding)
HiteshKapoor changed discussion title from Getting error Expected tensor for argument #1 'indices' to have one of the following scalar types: Long, Int; but got torch.FloatTensor instead (while checking arguments for embedding) to It is unable to parse the language if written in english but the words are hindi