Downloads · 30 days
9
3% of all-time downloads
RickBrannan/opus-mt-en-tpi-finetune
opus-mt-en-tpi-finetune is a translation model from RickBrannan. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tune of the opus-mt-en-tpi model.
Downloads · 30 days
9
3% of all-time downloads
All-time downloads
348
Public
Parameters
69.4M
279 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors278 MB · 99%
From the Hugging Face model README
This model is a fine-tune of the opus-mt-en-tpi model.
This model is intended for translation of English material into Tok Pisin. It is fine-tuned on material from Bible stories, from selected articles of a Bible Dictionary translated into Tok Pisin, and from translation of the deuterocanon (apocrypha) into Tok Pisin.
Use the code below to get started with the model.
from transformers import pipeline
pipe = pipeline("translation", model="RickBrannan/opus-mt-en-tpi-finetune")
translation = pipe(">>tpi<< In the beginning, God created the heavens and the earth.")
The first two sources are available via CC-BY-SA license and available in the RickBrannan/tpi_eng_sentence_pairs dataset. The Tok Pisin of the last source is available via CC-BY-NC-ND from the website listed. For the English, we used the text of the deuterocanon of the World English Bible (WEB) where references matched. Where WEB did not have a reference, we used the deuterocanon of the English Revised Version (RV).
Testing data was 10% of the sentences from the above specified training data.