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
								$
								curl -X POST \
-H "Authorization: Bearer YOUR_ORG_OR_USER_API_TOKEN" \
-H "Content-Type: application/json" \
-d '"json encoded string"' \
https://api-inference.huggingface.co/models/Helsinki-NLP/opus-mt-de-fr
Share Copied link to clipboard

Monthly model downloads

Helsinki-NLP/opus-mt-de-fr Helsinki-NLP/opus-mt-de-fr
58 downloads
last 30 days

pytorch

tf

Contributed by

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

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

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

opus-mt-de-fr

Benchmarks

testset BLEU chr-F
euelections_dev2019.transformer-align.de 32.2 0.590
newssyscomb2009.de.fr 26.8 0.553
news-test2008.de.fr 26.4 0.548
newstest2009.de.fr 25.6 0.539
newstest2010.de.fr 29.1 0.572
newstest2011.de.fr 26.9 0.551
newstest2012.de.fr 27.7 0.554
newstest2013.de.fr 29.5 0.560
newstest2019-defr.de.fr 36.6 0.625
Tatoeba.de.fr 49.2 0.664