Instructions to use Helsinki-NLP/opus-mt-pl-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-pl-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-pl-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-pl-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-pl-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
96e1e07
-
Adding generation config file(s)
2d341e3
-
Add TF weights
Joao Gante3a31052
-
Update README.md
7f02da4 -
Update README.md
7fca89c -
Update metadata.json
001b844
-
Update README.md
581559e -
Update config.json
e479243 -
Update metadata.json
55a8a9e -
Update tokenizer_config.json
9a5541d -
Update vocab.json
5550604 -
Update README.md
b5553ec -
Update metadata.json
b8fb2e5 -
Update README.md
bc29571 -
Update config.json
1b32472 -
Update metadata.json
63cb9a3 -
Update pytorch_model.bin
2cc55a6 -
Update source.spm
50d7c55 -
Update target.spm
0ab691a -
Update tokenizer_config.json
7452dc5 -
Update vocab.json
52a5bc5 -
initial commit
43133e5