Instructions to use Helsinki-NLP/opus-mt-cs-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-cs-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-cs-de")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-cs-de") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-cs-de", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
021ed94
-
Adding generation config file(s)
aae31f1
-
Add TF weights
Joao Gantea21335c
-
metadata: add license
f5a1b14
-
Changed num_beams to 4
a50977a
-
Update README.md
c41b524
-
Update README.md
d904486 -
Update config.json
fe7aa97 -
Update tokenizer_config.json
3879f98 -
Update vocab.json
3294519
-
Update README.md
1103144 -
Update config.json
1494776 -
Update tokenizer_config.json
304a5f9 -
Update vocab.json
d64e3ab -
Update README.md
15739ef
-
Update README.md
517fa0f -
Update README.md
5dc418f
-
Update README.md
fdd7fc5
-
Update README.md
70dc96e
-
Update config.json
0e93d95 -
Update config.json
84fd031
-
Update config.json
b88da46 -
Update config.json
15ad6a0
-
Update source.spm
228d257 -
Update target.spm
4cc0d01 -
Update tokenizer_config.json
a59aeb5 -
Update vocab.json
f3f6649 -
Update pytorch_model.bin
2d49b48 -
Update config.json
0ea3a14 -
initial commit
564c903