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

							$
							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-en
Share Copied link to clipboard

Monthly model downloads

Helsinki-NLP/opus-mt-de-en Helsinki-NLP/opus-mt-de-en
3,382 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, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-de-en") model = AutoModelWithLMHead.from_pretrained("Helsinki-NLP/opus-mt-de-en")
Uploaded in S3

opus-mt-de-en

Benchmarks

testset BLEU chr-F
newssyscomb2009.de.en 29.4 0.557
news-test2008.de.en 27.8 0.548
newstest2009.de.en 26.8 0.543
newstest2010.de.en 30.2 0.584
newstest2011.de.en 27.4 0.556
newstest2012.de.en 29.1 0.569
newstest2013.de.en 32.1 0.583
newstest2014-deen.de.en 34.0 0.600
newstest2015-ende.de.en 34.2 0.599
newstest2016-ende.de.en 40.4 0.649
newstest2017-ende.de.en 35.7 0.610
newstest2018-ende.de.en 43.7 0.667
newstest2019-deen.de.en 40.1 0.642
Tatoeba.de.en 55.4 0.707