Instructions to use Helsinki-NLP/opus-mt-fi-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-fi-eo 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-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-fi-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-fi-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
4f18e41
-
Adding generation config file(s)
b9f85d1
-
Add TF weights
Joao Ganted09dbdc
-
Changed num_beams to 4
b95b6bc
-
Update README.md
0961dde -
Update README.md
8162f42 -
Update metadata.json
e8633d5
-
Update README.md
69d7aa0 -
Update config.json
43966a5 -
Update metadata.json
f2b6c6e -
Update tokenizer_config.json
08b3bb6 -
Update vocab.json
9fa9cba -
Update README.md
308229c -
Update metadata.json
f2ee964 -
Update README.md
c425d83 -
Update config.json
4233a98 -
Update metadata.json
6e76b4a -
Update pytorch_model.bin
5191003 -
Update source.spm
8e26399 -
Update target.spm
40e68c0 -
Update tokenizer_config.json
7d26f00 -
Update vocab.json
3bcafbf -
initial commit
8ada040