Instructions to use Helsinki-NLP/opus-mt-eo-hu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-eo-hu 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-hu")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-eo-hu") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-eo-hu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
aec7f70
-
Adding generation config file(s)
e59e59d
-
Add TF weights
Joao Gante079a122
-
Changed num_beams to 4
6788309
-
Update README.md
c393c50 -
Update README.md
9a45351 -
Update metadata.json
77fc02a
-
Update README.md
02c08d3 -
Update config.json
6988dbb -
Update metadata.json
80f87c2 -
Update tokenizer_config.json
a6b702a -
Update vocab.json
b4381d9 -
Update README.md
e42f48a -
Update metadata.json
4629b3e -
Update README.md
d315256 -
Update config.json
39db490 -
Update metadata.json
8587d1e -
Update pytorch_model.bin
021f102 -
Update source.spm
ccb0838 -
Update target.spm
95bac60 -
Update tokenizer_config.json
d5e8d2d -
Update vocab.json
eb6768b -
initial commit
f8e1243