Run this model with HF Jobs
Run Helsinki-NLP/opus-mt-lt-eo 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-lt-eo. 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-lt-eo 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-lt-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-lt-eo 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-lt-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-lt-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-lt-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files1234535 unmodified lines41424344454630 unmodified lines7778798081828384---language: lttags:- translation35 unmodified lines- tags: ['translation']- prepro: normalization + SentencePiece (spm4k,spm4k)- url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/lit-epo/opus-2020-06-16.zip30 unmodified lines- helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535- transformers_git_sha: 46e9f53347bbe9e989f0335f98465f30886d8173- port_machine: brutasse- port_time: 2020-08-18-01:481234567835 unmodified lines4445464748495051525354555657585930 unmodified lines9091929394959697---language:-lt-eotags:- translation35 unmodified lines- tags: ['translation']- languages: ['lt', 'eo']- src_constituents: {'lit'}- tgt_constituents: {'epo'}- src_multilingual: False- tgt_multilingual: False- prepro: normalization + SentencePiece (spm4k,spm4k)- url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/lit-epo/opus-2020-06-16.zip30 unmodified lines- helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535- transformers_git_sha: 6bdf998dffa70030e42f512a586f33a15e648edd- port_machine: brutasse- port_time: 2020-08-19-00:09
README.md+16-3