Instructions to use Helsinki-NLP/opus-mt-eo-he with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-eo-he 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-he")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-eo-he") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-eo-he", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
45e7a3a
-
Adding generation config file(s)
e8867a8
-
Add TF weights
Joao Gante728fcda
-
Changed num_beams to 4
9fa8175
-
Update README.md
9f110eb -
Update README.md
cd2cbea -
Update metadata.json
cdc71f0
-
Update README.md
c253c13 -
Update config.json
c4b139c -
Update metadata.json
be62af2 -
Update tokenizer_config.json
637d0c2 -
Update vocab.json
04f6d3f -
Update README.md
50ee794 -
Update metadata.json
f621bf2 -
Update README.md
2fdedce -
Update config.json
720b9a9 -
Update metadata.json
5d88c5d -
Update pytorch_model.bin
5839bb4 -
Update source.spm
c9713f5 -
Update target.spm
919ca25 -
Update tokenizer_config.json
7ad9743 -
Update vocab.json
e155132 -
initial commit
5996bbe