Instructions to use Helsinki-NLP/opus-mt-ro-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-ro-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-ro-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-ro-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-ro-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
e9802ad
-
Adding generation config file(s)
3ec01e0
-
Add TF weights
Joao Gantea564d11
-
Update README.md
a27d842 -
Update README.md
708ef9b -
Update metadata.json
1f20b5f
-
Update README.md
79ce57f -
Update config.json
5e2676b -
Update metadata.json
154ddb8 -
Update tokenizer_config.json
77b8aca -
Update vocab.json
7e58003 -
Update README.md
6575ab2 -
Update metadata.json
7cd634c -
Update README.md
25658c7 -
Update config.json
ffde2dc -
Update metadata.json
5a58ad6 -
Update pytorch_model.bin
8b33d58 -
Update source.spm
8b91530 -
Update target.spm
e9e95bc -
Update tokenizer_config.json
5614d23 -
Update vocab.json
7034c56 -
initial commit
0a08325