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
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
0d10ce7
-
Adding generation config file(s)
dc7e4eb
-
Add TF weights
Joao Ganteec9246e
-
Update README.md
9417c84 -
Update README.md
1e2acdc -
Update metadata.json
2ee6748
-
Update README.md
0f4cc2c -
Update config.json
d534998 -
Update metadata.json
cca2a2d -
Update tokenizer_config.json
24078cd -
Update vocab.json
daefd17 -
Update README.md
4b116a6 -
Update metadata.json
56125ce -
Update README.md
ba40d0d -
Update config.json
1c97c9e -
Update metadata.json
6ee221d -
Update pytorch_model.bin
ca6822b -
Update source.spm
29cd048 -
Update target.spm
1557c5a -
Update tokenizer_config.json
1546574 -
Update vocab.json
0269af5 -
initial commit
d5de1f3