Instructions to use Nextcloud-AI/opus-mt-it-sv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-it-sv 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-sv")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-it-sv") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-it-sv", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
e33907b
-
Adding generation config file(s)
fa06f2d
-
Add TF weights
Joao Gante6d6057a
-
metadata: add license
ca009b2
-
Update README.md
de7946a
-
Update README.md
4415331 -
Update config.json
e9ad1af -
Update tokenizer_config.json
a5ab0e2 -
Update vocab.json
5f15fc9
-
Update README.md
1ed8bdf -
Update config.json
8850687 -
Update tokenizer_config.json
7985faa -
Update vocab.json
ea42efb -
Update README.md
0f919ec
-
Update README.md
680816b -
Update README.md
17c829b
-
Update README.md
afff597
-
Update README.md
59d3131
-
Update config.json
b133de8 -
Update config.json
03bcd02
-
Update config.json
ee79af1 -
Update config.json
802d02e
-
Update tokenizer_config.json
93cd910 -
Update vocab.json
591c058 -
Update source.spm
8e7b7c7 -
Update target.spm
ce4aad7 -
Update config.json
ff9579a -
Update pytorch_model.bin
5a91665 -
initial commit
52aabf8