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="Helsinki-NLP/opus-mt-cau-en")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-cau-en")
model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-cau-en", device_map="auto")
Quick Links

cau-eng

Benchmarks

testset BLEU chr-F
Tatoeba-test.abk-eng.abk.eng 0.3 0.134
Tatoeba-test.ady-eng.ady.eng 0.4 0.104
Tatoeba-test.che-eng.che.eng 0.6 0.128
Tatoeba-test.kat-eng.kat.eng 18.6 0.366
Tatoeba-test.multi.eng 16.6 0.351

System Info:

Downloads last month
75
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Helsinki-NLP/opus-mt-cau-en

Finetunes
3 models

Spaces using Helsinki-NLP/opus-mt-cau-en 16