Instructions to use facebook/m2m100_418M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/m2m100_418M with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("facebook/m2m100_418M") model = AutoModelForSeq2SeqLM.from_pretrained("facebook/m2m100_418M") - Notebooks
- Google Colab
- Kaggle
wrong output
#21
by Nastarang - opened
I tried to deploy this model on a cluster to do a translation from English to French with simple phrases like "nice to meet you" or "Thank you"
it does it all wrong on gpu.
But it gave the correct answer when I ran it on the login node. what should I do to make it compatible with GPU?
Can anyone help?