Instructions to use Helsinki-NLP/opus-mt-es-ilo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-es-ilo 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-es-ilo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-es-ilo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-es-ilo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
e84f212
-
Adding generation config file(s)
4dd9f88
-
Add TF weights
Joao Gante897a87f
-
metadata: add license
2402ac3
-
Changed num_beams to 4
e4e0fd3
-
Update README.md
fed5b95
-
Update README.md
1e7fcda -
Update config.json
f961156 -
Update tokenizer_config.json
ca131c7 -
Update vocab.json
282b924
-
Update README.md
3ecc4c3 -
Update config.json
84f971a -
Update tokenizer_config.json
822c4fa -
Update vocab.json
eeaaacc -
Update README.md
39dd2f6
-
Update README.md
8a2d73b -
Update README.md
45bc0fa
-
Update README.md
8a7e88f
-
Update README.md
f8ba3dd
-
Update config.json
d09f5c0 -
Update config.json
75dbcf3
-
Update config.json
d9a5c5f -
Update config.json
1b8b4f3
-
Update tokenizer_config.json
b59fe01 -
Update vocab.json
64b8607 -
Update source.spm
25cd687 -
Update target.spm
a1ec9de -
Update config.json
8da1d1b -
Update pytorch_model.bin
e45a7c2 -
initial commit
68c4e35