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-cpp-cpp Helsinki-NLP/opus-mt-cpp-cpp
17 downloads
last 30 days

pytorch

tf

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-cpp-cpp") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-cpp-cpp")
Uploaded in S3

cpp-cpp

  • source group: Creoles and pidgins, Portuguese-based

  • target group: Creoles and pidgins, Portuguese-based

  • OPUS readme: cpp-cpp

  • model: transformer

  • source language(s): ind pap

  • target language(s): ind pap

  • 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: opus-2020-07-26.zip

  • test set translations: opus-2020-07-26.test.txt

  • test set scores: opus-2020-07-26.eval.txt

Benchmarks

testset BLEU chr-F
Tatoeba-test.msa-msa.msa.msa 0.7 0.149
Tatoeba-test.msa-pap.msa.pap 31.7 0.577
Tatoeba-test.multi.multi 21.1 0.369
Tatoeba-test.pap-msa.pap.msa 17.7 0.197

System Info: