Instructions to use Helsinki-NLP/opus-mt-ee-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-ee-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-ee-de")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-ee-de") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-ee-de", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
dffc52c
-
Adding generation config file(s)
f64e1e5
-
Add TF weights
Joao Gantee6e5e76
-
metadata: add license
5e01b79
-
Changed num_beams to 4
dc6eb6f
-
Update README.md
11176bc
-
Update README.md
d259f5c -
Update config.json
de8473c -
Update tokenizer_config.json
6c8cead -
Update vocab.json
4952eb4
-
Update README.md
694669e -
Update config.json
7931e28 -
Update tokenizer_config.json
d2aebef -
Update vocab.json
8e68078 -
Update README.md
5fce856
-
Update README.md
620dec5 -
Update README.md
5647ee0
-
Update README.md
1e031f1
-
Update README.md
e7808a2
-
Update config.json
5623e33 -
Update config.json
659ff4b
-
Update config.json
c93855b -
Update config.json
c2e15be
-
Update source.spm
17516be -
Update target.spm
ac2b253 -
Update tokenizer_config.json
b35713f -
Update vocab.json
7b0ae0d -
Update config.json
61b1b73 -
Update pytorch_model.bin
4e86c36 -
initial commit
297518d