Instructions to use facebook/nllb-200-1.3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/nllb-200-1.3B with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="facebook/nllb-200-1.3B")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-1.3B") model = AutoModelForMultimodalLM.from_pretrained("facebook/nllb-200-1.3B") - Notebooks
- Google Colab
- Kaggle
Update README.md with CO2 emissions
#8 opened about 2 years ago
by
m-ric
Adding ONNX file of this model
3
#7 opened over 2 years ago
by
Gidz
Adding `safetensors` variant of this model
#5 opened about 3 years ago
by
SFconvertbot
Add multilingual to the language tag
🔥 1
#3 opened over 3 years ago
by
lbourdois
Does nllb-200 take context into account when splitting into sentences?
#2 opened almost 4 years ago
by
Vladislav951
No tokenizer works with AutoTokenizer
1
#1 opened almost 4 years ago
by
etamin