Instructions to use Helsinki-NLP/opus-mt-it-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-it-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-it-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-it-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-it-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
c8493d5
-
Adding generation config file(s)
bf30740
-
Add TF weights
Joao Gante96e42cd
-
Update README.md
9de5660 -
Update README.md
9f46101 -
Update metadata.json
7688de6
-
Update README.md
1827713 -
Update config.json
5d3bb93 -
Update metadata.json
fe5c5a8 -
Update tokenizer_config.json
0e93217 -
Update vocab.json
f9ceb47 -
Update README.md
748e118 -
Update metadata.json
6056868 -
Update README.md
7068e2b -
Update config.json
45f7b3b -
Update metadata.json
f365d8b -
Update pytorch_model.bin
4e7df49 -
Update source.spm
bee2843 -
Update target.spm
1df7706 -
Update tokenizer_config.json
d7dbe66 -
Update vocab.json
12694c0 -
initial commit
8a84b50