Instructions to use Helsinki-NLP/opus-mt-fi-ee with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-fi-ee 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-ee")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-fi-ee") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-fi-ee", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
ea699d2
-
Adding generation config file(s)
b8c07d3
-
Add TF weights
Joao Gantecbf6cbf
-
metadata: add license
1bcb147
-
Changed num_beams to 4
a454f1b
-
Update README.md
443d220
-
Update README.md
7bc4252 -
Update config.json
f62a74a -
Update tokenizer_config.json
68bb8c0 -
Update vocab.json
c8bfd21
-
Update README.md
73de23c -
Update config.json
6fb525d -
Update tokenizer_config.json
e1a2123 -
Update vocab.json
e0ddbbe -
Update README.md
650d6ec
-
Update README.md
b90e226 -
Update README.md
665d180
-
Update README.md
d7d5b51
-
Update README.md
edd5ab9
-
Update config.json
dc47201 -
Update config.json
f896efd
-
Update config.json
cd47f0b -
Update config.json
a625629
-
Update target.spm
3f1b29d -
Update tokenizer_config.json
4e44c83 -
Update vocab.json
2e1a4b2 -
Update source.spm
b21f8c9 -
Update config.json
97a3aaf -
Update pytorch_model.bin
bdf9f29 -
initial commit
f6f6e64