Instructions to use facebook/mms-1b-all with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/mms-1b-all with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="facebook/mms-1b-all")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("facebook/mms-1b-all") model = AutoModelForCTC.from_pretrained("facebook/mms-1b-all") - Notebooks
- Google Colab
- Kaggle
Translation - Will this model works with translation as well, i.e. if we have audio in Spanish, and set the model to give transcription in English?
#19
by rizwanishaq - opened
Translation - Will this model works with translation as well, i.e. if we have audio in Spanish, and set the model to give transcription in English?
This model is trained for speech transcription only! For speech translation, you can check out this guide: https://huggingface.co/learn/audio-course/en/chapter5/asr_models#graduation-to-seq2seq