Instructions to use Helsinki-NLP/opus-mt-de-ilo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-de-ilo 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-ilo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-de-ilo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-de-ilo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
514ea77
-
Adding generation config file(s)
06c6674
-
Add TF weights
Joao Gante90948f8
-
metadata: add license
e9260ad
-
Changed num_beams to 4
decb9d2
-
Update README.md
fb0bd8a
-
Update README.md
e7d20d6 -
Update config.json
e9d3c7d -
Update tokenizer_config.json
93b2b51 -
Update vocab.json
418012a
-
Update README.md
883a312 -
Update config.json
23b6f8e -
Update tokenizer_config.json
451e5d2 -
Update vocab.json
bd52632 -
Update README.md
132b690
-
Update README.md
5027ea1 -
Update README.md
1d3084d
-
Update README.md
a64d11e
-
Update README.md
e141329
-
Update config.json
7388187 -
Update config.json
dcff9af
-
Update config.json
5a82b33 -
Update config.json
4f776ae
-
Update source.spm
2329698 -
Update target.spm
6b760c4 -
Update tokenizer_config.json
1da0721 -
Update vocab.json
b0cec4c -
Update config.json
e1dd431 -
Update pytorch_model.bin
0c50330 -
initial commit
6f40b7b