Instructions to use Helsinki-NLP/opus-mt-en-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-en-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-en-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-en-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
f92317e
-
Adding generation config file(s)
509f90f
-
Add TF weights
Joao Gantef755aa7
-
metadata: add license
20a8920
-
Changed num_beams to 4
aa39225
-
Update README.md
44ac8df
-
Update README.md
28d8bdf -
Update config.json
131b84f -
Update tokenizer_config.json
cb8569e -
Update vocab.json
ba6a240
-
Update README.md
afc387b -
Update config.json
ad76d8b -
Update tokenizer_config.json
1653fe0 -
Update vocab.json
e05d261 -
Update README.md
08633a9
-
Update README.md
ef684fa -
Update README.md
a89d797
-
Update README.md
bb17acb
-
Update README.md
26efba7
-
Update config.json
74a825a -
Update config.json
0bb4243
-
Update config.json
5b6c273 -
Update config.json
dc16bc9
-
Update target.spm
a898391 -
Update tokenizer_config.json
7f946e7 -
Update vocab.json
ea4220c -
Update source.spm
edc82f6 -
Update config.json
4aaa6ec -
Update pytorch_model.bin
7dac9cc -
initial commit
eb346ea