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
Passing Target language:
#4
by Rizwan1000 - opened
When passing the payload, is there a way to pass source and target language (at least target language)?
Rizwan1000 changed discussion status to closed
Rizwan1000 changed discussion status to open
It would help a ton with batching!