Instructions to use Nextcloud-AI/opus-mt-it-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-it-en 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-it-en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-it-en") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-it-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
42556a0
-
Adding generation config file(s)
406ffdc
-
Add TF weights
Joao Gante571fdda
-
metadata: add license
23f2c7f
-
Update README.md
7182725
-
Update README.md
bc3729f -
Update config.json
6482b9a -
Update tokenizer_config.json
6713e35 -
Update vocab.json
a15038d
-
Update README.md
66954d9 -
Update config.json
30346ec -
Update tokenizer_config.json
a716446 -
Update vocab.json
1fac81f -
Update README.md
811cbc4
-
Update README.md
837cbd1 -
Update README.md
539f501
-
Update README.md
f61d610
-
Update README.md
c8b6ae6
-
Update config.json
bd39712 -
Update config.json
f697453
-
Update config.json
8c6f494 -
Update config.json
015647a
-
Update source.spm
93c37c8 -
Update target.spm
db6c74a -
Update tokenizer_config.json
293ace2 -
Update vocab.json
ebffab2 -
Update config.json
c4f3169 -
Update pytorch_model.bin
6c91a46 -
initial commit
e519895