Instructions to use Helsinki-NLP/opus-mt-eo-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-eo-en 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-eo-en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-eo-en") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-eo-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
7c2b08d
-
Adding generation config file(s)
8918c1d
-
Add TF weights
Joao Gante7974ea7
-
metadata: add license
894c5ff
-
Changed num_beams to 4
67a66d9
-
Update README.md
14c565e
-
Update README.md
cf6013c -
Update config.json
2460e1a -
Update tokenizer_config.json
25bb4b6 -
Update vocab.json
c70f1cd
-
Update README.md
0959392 -
Update config.json
0244f8e -
Update tokenizer_config.json
1826d88 -
Update vocab.json
7acec0e -
Update README.md
cf1ca14
-
Update README.md
e71cd4c -
Update README.md
6e260ca
-
Update README.md
9c6fc83
-
Update README.md
e2c89d0
-
Update config.json
754bdbc -
Update config.json
8e86ca1
-
Update config.json
5d57e7e -
Update config.json
e6738b6
-
Update tokenizer_config.json
a6141b8 -
Update vocab.json
7d83192 -
Update source.spm
7aad7c9 -
Update target.spm
32f95fd -
Update config.json
f78ad1b -
Update pytorch_model.bin
9acc0eb -
initial commit
adfb4ea