Instructions to use Helsinki-NLP/opus-mt-it-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-it-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-it-de")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-it-de") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-it-de", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
11728e1
-
Adding generation config file(s)
05fc843
-
Add TF weights
Joao Ganteb66168b
-
metadata: add license
db0cf30
-
Update README.md
7878415
-
Update README.md
611a0a0 -
Update config.json
87b17de -
Update tokenizer_config.json
7ae211c -
Update vocab.json
fd363b8
-
Update README.md
ad84572 -
Update config.json
a28cc0a -
Update tokenizer_config.json
f9e6da1 -
Update vocab.json
d5e9a00 -
Update README.md
9f30a29
-
Update README.md
9f4fb3a -
Update README.md
7e9d19b
-
Update README.md
7373d45
-
Update README.md
2b39b37
-
Update config.json
5556a1b -
Update config.json
47cb6eb
-
Update config.json
7efaedd -
Update config.json
361ba83
-
Update source.spm
ff1b847 -
Update target.spm
ad372f6 -
Update tokenizer_config.json
b806bae -
Update vocab.json
4c375ff -
Update config.json
c3ac64b -
Update pytorch_model.bin
ceb9e82 -
initial commit
8ec0a08