Instructions to use Nextcloud-AI/opus-mt-it-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-it-es 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-es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-it-es") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-it-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
bf60834
-
Adding generation config file(s)
e69df8a
-
Add TF weights
Joao Gantee305782
-
metadata: add license
04994af
-
Update README.md
b2891b8
-
Update README.md
9984876 -
Update config.json
5958962 -
Update tokenizer_config.json
4d41349 -
Update vocab.json
b1e2c57
-
Update README.md
ea232fe -
Update config.json
7d7c8f5 -
Update tokenizer_config.json
cd05d01 -
Update vocab.json
cc72ade -
Update README.md
35cbd02
-
Update README.md
4c3c6e3 -
Update README.md
7b98d31
-
Update README.md
b2e44ba
-
Update README.md
d2c48fe
-
Update config.json
0733015 -
Update config.json
91666a5
-
Update config.json
9d1ace0 -
Update config.json
c75398e
-
Update source.spm
c3237b7 -
Update target.spm
b06c488 -
Update tokenizer_config.json
45aa320 -
Update vocab.json
8210955 -
Update config.json
5b359f5 -
Update pytorch_model.bin
3c151ff -
initial commit
211f674