Instructions to use Helsinki-NLP/opus-mt-eo-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-eo-de 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-de")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-eo-de") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-eo-de", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
30db869
-
Adding generation config file(s)
4e04082
-
Add TF weights
Joao Gante7b4a538
-
metadata: add license
dc99fd6
-
Changed num_beams to 4
040ea8f
-
Update README.md
2eb8bf7
-
Update README.md
b5981a8 -
Update config.json
b791ba4 -
Update tokenizer_config.json
11e930c -
Update vocab.json
25f3621
-
Update README.md
b898168 -
Update config.json
d10fc57 -
Update tokenizer_config.json
297ce2e -
Update vocab.json
65d8861 -
Update README.md
41fdedf
-
Update README.md
c4a512c -
Update README.md
78a0ec0
-
Update README.md
39b328a
-
Update README.md
e8f8ed4
-
Update config.json
5f2cd7e -
Update config.json
e63d972
-
Update config.json
2c7113c -
Update config.json
50d9f9a
-
Update tokenizer_config.json
bd6fe30 -
Update vocab.json
7a3cfcd -
Update source.spm
c337c1b -
Update target.spm
5e64f28 -
Update pytorch_model.bin
50089a5 -
Update config.json
79c46ec -
initial commit
11d5ab6