Instructions to use Helsinki-NLP/opus-mt-fi-cs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-fi-cs 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-fi-cs")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-fi-cs") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-fi-cs", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
0aafb9f
-
Adding generation config file(s)
719266b
-
Add TF weights
Joao Gante6c2abfd
-
metadata: add license
4e08d5c
-
Changed num_beams to 4
02192d2
-
Update README.md
2dc69fb
-
Update README.md
5285c2c -
Update config.json
994dbf2 -
Update tokenizer_config.json
02db05d -
Update vocab.json
29edfa4
-
Update README.md
953a3be -
Update config.json
7281f4c -
Update tokenizer_config.json
6f6e2d2 -
Update vocab.json
0011630 -
Update README.md
ef6b25a
-
Update README.md
55e1c37 -
Update README.md
ff9dc0b
-
Update README.md
80f57e1
-
Update README.md
b59a696
-
Update config.json
55212ee -
Update config.json
79936a3
-
Update config.json
1932cf1 -
Update config.json
559f0cf
-
Update source.spm
268b303 -
Update target.spm
e39813f -
Update tokenizer_config.json
795f6d7 -
Update vocab.json
9539726 -
Update config.json
f53f482 -
Update pytorch_model.bin
34d07d8 -
initial commit
73ab0e2