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

Monthly model downloads

Helsinki-NLP/opus-mt-en-es Helsinki-NLP/opus-mt-en-es
1,681 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-en-es") model = AutoModelWithLMHead.from_pretrained("Helsinki-NLP/opus-mt-en-es")
Uploaded in S3

eng-spa

Benchmarks

testset BLEU chr-F
newssyscomb2009-engspa.eng.spa 31.0 0.583
news-test2008-engspa.eng.spa 29.7 0.564
newstest2009-engspa.eng.spa 30.2 0.578
newstest2010-engspa.eng.spa 36.9 0.620
newstest2011-engspa.eng.spa 38.2 0.619
newstest2012-engspa.eng.spa 39.0 0.625
newstest2013-engspa.eng.spa 35.0 0.598
Tatoeba-test.eng.spa 54.9 0.721

System Info: