Instructions to use Helsinki-NLP/opus-mt-de-ee with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-de-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-de-ee")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-de-ee") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-de-ee", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
b99a274
-
Adding generation config file(s)
6ee6a8c
-
Add TF weights
Joao Gante04b86ad
-
metadata: add license
42218c4
-
Changed num_beams to 4
cb1ddb3
-
Update README.md
bc0616a
-
Update README.md
0b0da2f -
Update config.json
e5f04a0 -
Update tokenizer_config.json
e74323c -
Update vocab.json
33db8e4
-
Update README.md
21e7bdc -
Update config.json
e16624c -
Update tokenizer_config.json
7d32c1b -
Update vocab.json
3f01a62 -
Update README.md
aea1e34
-
Update README.md
a4270bc -
Update README.md
a49ec7b
-
Update README.md
0e127bd
-
Update README.md
3e40038
-
Update config.json
57c9ba5 -
Update config.json
484ed7c
-
Update config.json
0e385ad -
Update config.json
35c7a96
-
Update source.spm
cec1ef0 -
Update target.spm
b7fbcaa -
Update tokenizer_config.json
d3573e4 -
Update vocab.json
6a4a279 -
Update config.json
dfd0928 -
Update pytorch_model.bin
3cc4e00 -
initial commit
47c6e9b