Instructions to use Helsinki-NLP/opus-mt-he-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-he-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-he-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-he-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-he-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
91d20a3
-
Adding generation config file(s)
0a72cd4
-
Add TF weights
Joao Gante6f62257
-
Changed num_beams to 4
3182c24
-
Update README.md
9d6e13e -
Update README.md
fbee549 -
Update metadata.json
d9915bb
-
Update README.md
4f042dc -
Update config.json
d362229 -
Update metadata.json
41c9994 -
Update tokenizer_config.json
4b7e25e -
Update vocab.json
9a6ed5e -
Update README.md
6038edf -
Update metadata.json
7543d0a -
Update README.md
9ef1f9d -
Update config.json
f330fe8 -
Update metadata.json
48651c6 -
Update pytorch_model.bin
48c019f -
Update source.spm
c873750 -
Update target.spm
19323f1 -
Update tokenizer_config.json
d3c19bb -
Update vocab.json
6b6c956 -
initial commit
82dd825