Back to all models
translation mask_token:
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint  

⚡️ Upgrade your account to access the Inference API

Share Copied link to clipboard

Monthly model downloads

Helsinki-NLP/opus-mt-en-fr Helsinki-NLP/opus-mt-en-fr
24,143 downloads
last 30 days

pytorch

tf

Contributed by

Language Technology Research Group at the University of Helsinki university
1 team member · 1323 models

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-fr") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-en-fr")
Uploaded in S3

opus-mt-en-fr

Benchmarks

testset BLEU chr-F
newsdiscussdev2015-enfr.en.fr 33.8 0.602
newsdiscusstest2015-enfr.en.fr 40.0 0.643
newssyscomb2009.en.fr 29.8 0.584
news-test2008.en.fr 27.5 0.554
newstest2009.en.fr 29.4 0.577
newstest2010.en.fr 32.7 0.596
newstest2011.en.fr 34.3 0.611
newstest2012.en.fr 31.8 0.592
newstest2013.en.fr 33.2 0.589
Tatoeba.en.fr 50.5 0.672