Instructions to use Nextcloud-AI/opus-mt-fi-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-fi-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-fi-it")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-fi-it") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-fi-it", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
6622969
-
Adding generation config file(s)
abd0f1e
-
Add TF weights
Joao Gante851e3af
-
metadata: add license
da46e9f
-
Changed num_beams to 4
4b6dc1e
-
Update README.md
4f02438
-
Update README.md
77b456e -
Update config.json
71744d0 -
Update tokenizer_config.json
cfed80d -
Update vocab.json
8b14626
-
Update README.md
87e633e -
Update config.json
e2583c1 -
Update tokenizer_config.json
975f564 -
Update vocab.json
25d241d -
Update README.md
1d66a46
-
Update README.md
39427e5 -
Update README.md
3cd03de
-
Update README.md
7225ef6
-
Update README.md
7d6c50c
-
Update config.json
b1f3660 -
Update config.json
d5585e9
-
Update config.json
6b3f49d -
Update config.json
63b8790
-
Update target.spm
44dc690 -
Update tokenizer_config.json
1989f5b -
Update vocab.json
bc6baaf -
Update source.spm
4e4be92 -
Update pytorch_model.bin
ddc36be -
Update config.json
579c4e5 -
initial commit
6ec0a3c