Instructions to use Helsinki-NLP/opus-mt-es-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-es-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-es-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-es-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-es-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
e107cec
-
Adding generation config file(s)
8a01128
-
Add TF weights
Joao Gante10e8f67
-
metadata: add license
328750d
-
Changed num_beams to 4
f000834
-
Update README.md
e0fc29f
-
Update README.md
1d37007 -
Update config.json
2627023 -
Update tokenizer_config.json
29cc9a0 -
Update vocab.json
c452121
-
Update README.md
600031d -
Update config.json
7875d98 -
Update tokenizer_config.json
05be5e2 -
Update vocab.json
f2d0f71 -
Update README.md
477ac50
-
Update README.md
b52c60b -
Update README.md
0e7409f
-
Update README.md
e4f14f4
-
Update README.md
f29f455
-
Update config.json
3872d25 -
Update config.json
aa63472
-
Update config.json
caad66f -
Update config.json
66e3235
-
Update target.spm
99b33fe -
Update tokenizer_config.json
fa54dcb -
Update vocab.json
55802cc -
Update source.spm
a47fa24 -
Update config.json
e5db89a -
Update pytorch_model.bin
92a7161 -
initial commit
ec0bb59