Instructions to use Helsinki-NLP/opus-mt-ru-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-ru-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-ru-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-ru-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-ru-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
4ef2a5f
-
Adding generation config file(s)
aa17b1c
-
Add TF weights
Joao Gante6a2e57d
-
Update README.md
cdde46f -
Update README.md
bae3cff -
Update metadata.json
704d438
-
Update README.md
a732be2 -
Update config.json
1d8960c -
Update metadata.json
669cb67 -
Update tokenizer_config.json
f5cee6e -
Update vocab.json
9f22e81 -
Update README.md
aa1bffa -
Update metadata.json
423d369 -
Update README.md
e35c4dc -
Update config.json
2b562fa -
Update metadata.json
d1cc7b6 -
Update pytorch_model.bin
3600aeb -
Update source.spm
bb94720 -
Update target.spm
7fdcd45 -
Update tokenizer_config.json
cf0d8cc -
Update vocab.json
21c3583 -
initial commit
8fd4d04