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

Monthly model downloads

Helsinki-NLP/opus-mt-en-de Helsinki-NLP/opus-mt-en-de
37,345 downloads
last 30 days

pytorch

tf

Contributed by

Language Technology Research Group at the University of Helsinki university
1 team member · 1011 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-en-de") model = AutoModelWithLMHead.from_pretrained("Helsinki-NLP/opus-mt-en-de")
Uploaded in S3

opus-mt-en-de

Benchmarks

testset BLEU chr-F
newssyscomb2009.en.de 23.5 0.540
news-test2008.en.de 23.5 0.529
newstest2009.en.de 22.3 0.530
newstest2010.en.de 24.9 0.544
newstest2011.en.de 22.5 0.524
newstest2012.en.de 23.0 0.525
newstest2013.en.de 26.9 0.553
newstest2015-ende.en.de 31.1 0.594
newstest2016-ende.en.de 37.0 0.636
newstest2017-ende.en.de 29.9 0.586
newstest2018-ende.en.de 45.2 0.690
newstest2019-ende.en.de 40.9 0.654
Tatoeba.en.de 47.3 0.664