Instructions to use Helsinki-NLP/opus-mt-ilo-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-ilo-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-ilo-de")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-ilo-de") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-ilo-de", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
fb4bab7
-
Adding generation config file(s)
9ec1e1a
-
Add TF weights
Joao Gantefac71c3
-
metadata: add license
d04ede2
-
Update README.md
aa51e5b
-
Update README.md
131bc6d -
Update config.json
fa29067 -
Update tokenizer_config.json
d0ba756 -
Update vocab.json
36579dc
-
Update README.md
e6541e5 -
Update config.json
fab55d8 -
Update tokenizer_config.json
8d5b2fc -
Update vocab.json
923e713 -
Update README.md
3e2d7b9
-
Update README.md
7ba5484 -
Update README.md
a063806
-
Update README.md
cf213d9
-
Update README.md
4c5f479
-
Update config.json
67edd29 -
Update config.json
ddac877
-
Update config.json
70becca -
Update config.json
f210d4a
-
Update target.spm
0048f23 -
Update tokenizer_config.json
80ede8c -
Update vocab.json
8d38a8d -
Update source.spm
9dc680e -
Update config.json
63cd28f -
Update pytorch_model.bin
2e4b596 -
initial commit
dfd2c83