Instructions to use Helsinki-NLP/opus-mt-es-ee with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-es-ee 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-ee")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-es-ee") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-es-ee", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
2f80b32
-
Adding generation config file(s)
0aa91d8
-
Add TF weights
Joao Gante1bacec9
-
metadata: add license
42f028f
-
Changed num_beams to 4
83a62d4
-
Update README.md
d002057
-
Update README.md
86fff50 -
Update config.json
42230df -
Update tokenizer_config.json
640d75e -
Update vocab.json
27981e9
-
Update README.md
4b14835 -
Update config.json
d652894 -
Update tokenizer_config.json
12dea3b -
Update vocab.json
57a8488 -
Update README.md
a9ea6c2
-
Update README.md
998196c -
Update README.md
5c5574b
-
Update README.md
942ce74
-
Update README.md
01c85f1
-
Update config.json
213bf27 -
Update config.json
7aa5539
-
Update config.json
464a2d1 -
Update config.json
c8275f5
-
Update target.spm
6aa72d8 -
Update tokenizer_config.json
44f36ba -
Update vocab.json
aca1af4 -
Update source.spm
bf84b69 -
Update config.json
59dad0a -
Update pytorch_model.bin
9844634 -
initial commit
12b2a2c