Instructions to use Helsinki-NLP/opus-mt-sv-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-sv-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-sv-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-sv-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-sv-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
a2e4d39
-
Adding generation config file(s)
b72697e
-
Add TF weights
Joao Gante94865bc
-
Update README.md
b6d5b9f -
Update README.md
dffb1a8 -
Update metadata.json
ebed121
-
Update README.md
d867442 -
Update README.md
49d54b5 -
Update metadata.json
d971379 -
Update README.md
2c38cf2 -
Update config.json
ab84ce0 -
Update metadata.json
1a79448 -
Update pytorch_model.bin
f9015c8 -
Update source.spm
5018875 -
Update target.spm
f0a9f60 -
Update tokenizer_config.json
a9905b0 -
Update vocab.json
5331f7f
-
Update README.md
675b898 -
Update config.json
71b45d4 -
Update tokenizer_config.json
c185389 -
Update vocab.json
f994df6 -
Update README.md
b869b0b
-
Update README.md
3bb7181 -
Update README.md
d463584
-
Update README.md
d3934ad
-
Update README.md
217fa97
-
Update config.json
2ad3cea -
Update config.json
a3a349f
-
Update config.json
fbfe8ca -
Update config.json
2761da0
-
Update source.spm
edb0505 -
Update target.spm
bfb452f -
Update tokenizer_config.json
95995b0 -
Update vocab.json
e3200ef -
Update config.json
3347ed4 -
initial commit
7d40877