Instructions to use Nextcloud-AI/opus-mt-es-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-es-it 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="Nextcloud-AI/opus-mt-es-it")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-es-it") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-es-it", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
fceafc8
-
Adding generation config file(s)
e6b5ab8
-
Add TF weights
Joao Gantebcd35a5
-
metadata: add license
435897f
-
Changed num_beams to 4
9d76ec4
-
Update README.md
687c843
-
Update README.md
b008b5b -
Update config.json
89a3450 -
Update tokenizer_config.json
679c1da -
Update vocab.json
4e88e2d
-
Update README.md
a01c065 -
Update config.json
a26c378 -
Update tokenizer_config.json
e34adec -
Update vocab.json
432a753 -
Update README.md
bad0225
-
Update README.md
5e213f6 -
Update README.md
02861e1
-
Update README.md
9536e52
-
Update README.md
3b4fc54
-
Update config.json
853a8f0 -
Update config.json
9c19ed2
-
Update config.json
4fc4835 -
Update config.json
861ea83
-
Update target.spm
1a732df -
Update tokenizer_config.json
1f9c2ef -
Update vocab.json
9251c11 -
Update source.spm
413cadc -
Update config.json
d5e2c98 -
Update pytorch_model.bin
d5ca51c -
initial commit
362c218