Instructions to use Helsinki-NLP/opus-mt-hu-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-hu-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-hu-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-hu-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-hu-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
22e78ea
-
Adding generation config file(s)
7196796
-
Add TF weights
Joao Gantea467256
-
Update README.md
1640b75 -
Update README.md
1b893f7 -
Update metadata.json
f4315f0
-
Update README.md
a16e04d -
Update config.json
03bef47 -
Update metadata.json
0c35a58 -
Update tokenizer_config.json
4428ff6 -
Update vocab.json
524ed29 -
Update README.md
de53c64 -
Update metadata.json
b411d05 -
Update README.md
2f79551 -
Update config.json
6bad744 -
Update metadata.json
f778fea -
Update pytorch_model.bin
4c2caef -
Update source.spm
8b4652b -
Update target.spm
0b56047 -
Update tokenizer_config.json
9177dc8 -
Update vocab.json
32dac27 -
initial commit
f8acf60