Instructions to use Helsinki-NLP/opus-mt-ee-fi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-ee-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-ee-fi")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-ee-fi") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-ee-fi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
249adb4
-
Adding generation config file(s)
81595cd
-
Add TF weights
Joao Ganteda23cc9
-
metadata: add license
8547cfc
-
Changed num_beams to 4
630c6d4
-
Update README.md
a7095df
-
Update README.md
d198223 -
Update config.json
b89a352 -
Update tokenizer_config.json
b5c6c2f -
Update vocab.json
1edbb6f
-
Update README.md
5dd596a -
Update config.json
850b8bc -
Update tokenizer_config.json
9a4efe3 -
Update vocab.json
dfd0c97 -
Update README.md
da532c4
-
Update README.md
ce7f31f -
Update README.md
01525cd
-
Update README.md
30f3bc4
-
Update README.md
6f91b67
-
Update config.json
1f7aec4 -
Update config.json
b2d46d2
-
Update config.json
b08e7fb -
Update config.json
fa7a61a
-
Update vocab.json
5c76630 -
Update source.spm
8177e50 -
Update target.spm
71c1ba6 -
Update tokenizer_config.json
320ed23 -
Update config.json
eaf19db -
Update pytorch_model.bin
9216523 -
initial commit
e5379ea