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

Monthly model downloads

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

eng-hin

Benchmarks

testset BLEU chr-F
newsdev2014.eng.hin 6.9 0.296
newstest2014-hien.eng.hin 9.9 0.323
Tatoeba-test.eng.hin 16.1 0.447

System Info: