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

Share Copied link to clipboard

Monthly model downloads

Helsinki-NLP/opus-mt-en-cpp Helsinki-NLP/opus-mt-en-cpp
N/a downloads
last 30 days



Contributed by

Language Technology Research Group at the University of Helsinki university
1 team member · 1325 models

How to use this model directly from the 🤗/transformers library:

Copy to clipboard
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-cpp") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-en-cpp")
Uploaded in S3


  • source group: English

  • target group: Creoles and pidgins, Portuguese-based

  • OPUS readme: eng-cpp

  • model: transformer

  • source language(s): eng

  • target language(s): ind max_Latn min pap tmw_Latn zlm_Latn zsm_Latn

  • model: transformer

  • pre-processing: normalization + SentencePiece (spm32k,spm32k)

  • a sentence initial language token is required in the form of >>id<< (id = valid target language ID)

  • download original weights:

  • test set translations: opus2m-2020-08-01.test.txt

  • test set scores: opus2m-2020-08-01.eval.txt


testset BLEU chr-F
Tatoeba-test.eng-msa.eng.msa 32.6 0.573
Tatoeba-test.eng.multi 32.7 0.574
Tatoeba-test.eng-pap.eng.pap 42.5 0.633

System Info: