Instructions to use Helsinki-NLP/opus-mt-efi-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-efi-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-efi-de")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-efi-de") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-efi-de", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
a42ce68
-
Adding generation config file(s)
b5503f3
-
Add TF weights
Joao Ganted2701d5
-
metadata: add license
cedf269
-
Changed num_beams to 4
26893ec
-
Update README.md
2bf844f
-
Update README.md
a7b45f1 -
Update tokenizer_config.json
c8a273e -
Update vocab.json
50a4599 -
Update config.json
e38f4c1
-
Update README.md
3b033d7 -
Update config.json
b570589 -
Update tokenizer_config.json
a0132b1 -
Update vocab.json
9e42681 -
Update README.md
1c78f90
-
Update README.md
9d6ecad -
Update README.md
3e11021
-
Update README.md
55b8eb9
-
Update README.md
106797d
-
Update config.json
bdfc655 -
Update config.json
42ffb8c
-
Update config.json
ee94907 -
Update config.json
a674eb4
-
Update source.spm
cc3a8e5 -
Update target.spm
6aacbec -
Update tokenizer_config.json
4eb1b9c -
Update vocab.json
35c7cab -
Update config.json
b9df6b9 -
Update pytorch_model.bin
9f36cac -
initial commit
9d63366