Instructions to use Helsinki-NLP/opus-mt-fi-ceb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-fi-ceb 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-ceb")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-fi-ceb") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-fi-ceb", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
91b4731
-
Adding generation config file(s)
b844325
-
Add TF weights
Joao Gantedd2a44f
-
metadata: add license
93149e2
-
Changed num_beams to 4
3164d69
-
Update README.md
d9e05ca
-
Update README.md
2c5d9e8 -
Update config.json
06b03c4 -
Update tokenizer_config.json
5a7b387 -
Update vocab.json
5b12c9c
-
Update README.md
1518d98 -
Update config.json
a31e0fe -
Update tokenizer_config.json
e74cfb1 -
Update vocab.json
c955bc2 -
Update README.md
ceb7196
-
Update README.md
5ff5409 -
Update README.md
b27e4c2
-
Update README.md
b15f5da
-
Update README.md
2d8107e
-
Update config.json
d46ec13 -
Update config.json
b26bd9e
-
Update config.json
26f5db8 -
Update config.json
3d703d8
-
Update tokenizer_config.json
a507a5d -
Update vocab.json
74c2400 -
Update source.spm
cc03d54 -
Update target.spm
b669847 -
Update config.json
639834e -
Update pytorch_model.bin
b91fe36 -
initial commit
68bd69f