Run this model with HF Jobs
Run Helsinki-NLP/opus-mt-eo-pt on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Helsinki-NLP/opus-mt-eo-pt. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Helsinki-NLP/opus-mt-eo-pt on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Helsinki-NLP/opus-mt-eo-pt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-eo-pt with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-eo-pt")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-eo-pt") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-eo-pt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384---language: eotags:- translation
license: apache-2.0---
### epo-por
* source group: Esperanto * target group: Portuguese * OPUS readme: [epo-por](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-por/README.md)
* model: transformer-align* source language(s): epo* target language(s): por* model: transformer-align* pre-processing: normalization + SentencePiece (spm4k,spm4k)* download original weights: [opus-2020-06-16.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-por/opus-2020-06-16.zip)* test set translations: [opus-2020-06-16.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-por/opus-2020-06-16.test.txt)* test set scores: [opus-2020-06-16.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-por/opus-2020-06-16.eval.txt)
## Benchmarks
| testset | BLEU | chr-F ||-----------------------|-------|-------|| Tatoeba-test.epo.por | 20.2 | 0.438 |
### System Info: - hf_name: epo-por
- source_languages: epo
- target_languages: por
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-por/README.md
- original_repo: Tatoeba-Challenge
- tags: ['translation']
- prepro: normalization + SentencePiece (spm4k,spm4k)
- url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/epo-por/opus-2020-06-16.zip
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/epo-por/opus-2020-06-16.test.txt
- src_alpha3: epo
- tgt_alpha3: por
- short_pair: eo-pt
- chrF2_score: 0.43799999999999994
- bleu: 20.2
- brevity_penalty: 0.895
- ref_len: 89991.0
- src_name: Esperanto
- tgt_name: Portuguese
- train_date: 2020-06-16
- src_alpha2: eo
- tgt_alpha2: pt
- prefer_old: False
- long_pair: epo-por
- helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535
- transformers_git_sha: 46e9f53347bbe9e989f0335f98465f30886d8173
- port_machine: brutasse
- port_time: 2020-08-18-01:48README.mdAdded+84