Translation
Transformers
nllb
How to use from the
Use from the
Transformers library
# 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="winstxnhdw/nllb-200-distilled-1.3B-ct2-int8")
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("winstxnhdw/nllb-200-distilled-1.3B-ct2-int8", device_map="auto")
Quick Links

nllb-200-distilled-1.3B-ct2-int8

This model is used in nllb-api.

Generation

The model was generated with the following command.

ct2-transformers-converter --model facebook/nllb-200-distilled-1.3B --quantization int8 --output_dir converted/nllb-200-distilled-1.3B-ct2-int8
Downloads last month
181
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Spaces using winstxnhdw/nllb-200-distilled-1.3B-ct2-int8 12