Instructions to use Helsinki-NLP/opus-mt-eo-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-eo-es 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-es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-eo-es") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-eo-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
3b1f188
-
Adding generation config file(s)
c7b1bfd
-
Add TF weights
Joao Gantee490bb2
-
metadata: add license
a79df1b
-
Changed num_beams to 4
86dfbff
-
Update README.md
c6d1e53
-
Update README.md
4f9c2cf -
Update config.json
1d83bef -
Update tokenizer_config.json
3cfb3fc -
Update vocab.json
b6d35e2
-
Update README.md
03cb19d -
Update config.json
efd2c28 -
Update tokenizer_config.json
b8dedb1 -
Update vocab.json
b0eb0c1 -
Update README.md
92bcdc1
-
Update README.md
345018e -
Update README.md
279785e
-
Update README.md
8ed09f0
-
Update README.md
573140a
-
Update config.json
829d0bd -
Update config.json
080e9bd
-
Update config.json
94c7df7 -
Update config.json
4b9b8fd
-
Update source.spm
5b5fa6e -
Update target.spm
ded237a -
Update tokenizer_config.json
48035c1 -
Update vocab.json
1e5a5f4 -
Update config.json
82881fa -
Update pytorch_model.bin
34b5102 -
initial commit
52489ac