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

Monthly model downloads

Helsinki-NLP/opus-mt-fr-de Helsinki-NLP/opus-mt-fr-de
87 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-fr-de") model = AutoModelWithLMHead.from_pretrained("Helsinki-NLP/opus-mt-fr-de")
Uploaded in S3

opus-mt-fr-de

Benchmarks

testset BLEU chr-F
euelections_dev2019.transformer-align.fr 26.4 0.571
newssyscomb2009.fr.de 22.1 0.524
news-test2008.fr.de 22.1 0.524
newstest2009.fr.de 21.6 0.520
newstest2010.fr.de 22.6 0.527
newstest2011.fr.de 21.5 0.518
newstest2012.fr.de 22.4 0.516
newstest2013.fr.de 24.2 0.532
newstest2019-frde.fr.de 27.9 0.595
Tatoeba.fr.de 49.1 0.676