Instructions to use Helsinki-NLP/opus-mt-cs-fi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-cs-fi 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-fi")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-cs-fi") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-cs-fi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
9e0d5eb
-
Adding generation config file(s)
382c3e6
-
Add TF weights
Joao Gante607e473
-
metadata: add license
d60a357
-
Changed num_beams to 4
cc15531
-
Update README.md
d5787c9
-
Update README.md
33da105 -
Update config.json
ea12160 -
Update tokenizer_config.json
379a9b4 -
Update vocab.json
d36af2d
-
Update README.md
3ac29cf -
Update config.json
2dd703e -
Update tokenizer_config.json
b877cbc -
Update vocab.json
aff7803 -
Update README.md
a45d4a4
-
Update README.md
cc00db7 -
Update README.md
b60eb54
-
Update README.md
1a92eb8
-
Update README.md
5d50ce9
-
Update config.json
4e70ea0 -
Update config.json
4663821
-
Update config.json
bd82fa6 -
Update config.json
b07090d
-
Update tokenizer_config.json
e8c39af -
Update vocab.json
05fa259 -
Update source.spm
3efb855 -
Update target.spm
c15400e -
Update config.json
826a547 -
Update pytorch_model.bin
e7a0edd -
initial commit
b0148c3