Instructions to use Helsinki-NLP/opus-mt-de-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-de-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-de-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-de-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-de-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
d7cf0d2
-
Adding generation config file(s)
bc6d44f
-
Add TF weights
Joao Gante16e6262
-
metadata: add license
9188e53
-
Changed num_beams to 4
4b201ae
-
Update README.md
546e87d
-
Update README.md
a891a54 -
Update config.json
79c0ed8 -
Update tokenizer_config.json
86237e1 -
Update vocab.json
ee91a39
-
Update README.md
c74bb79 -
Update config.json
29c9152 -
Update tokenizer_config.json
9352371 -
Update vocab.json
2fa94f1 -
Update README.md
b92ec65
-
Update README.md
631b8e7 -
Update README.md
61a1b95
-
Update README.md
d0600b8
-
Update README.md
5600fb9
-
Update config.json
53c5659 -
Update config.json
203d943
-
Update config.json
a8dcae7 -
Update config.json
837ef49
-
Update target.spm
24e753a -
Update tokenizer_config.json
7ef3663 -
Update vocab.json
549017a -
Update source.spm
099fd40 -
Update pytorch_model.bin
576f660 -
Update config.json
46654aa -
initial commit
955ed5b