Instructions to use Nextcloud-AI/opus-mt-fi-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-fi-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-fi-es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-fi-es") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-fi-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
398dd3f
-
Adding generation config file(s)
4ecf751
-
Add TF weights
Joao Gante99b22d7
-
metadata: add license
1d81789
-
Changed num_beams to 4
e993336
-
Update README.md
4efebe8
-
Update README.md
b911298 -
Update config.json
a58237e -
Update tokenizer_config.json
6cb02d3 -
Update vocab.json
59df012
-
Update README.md
328ca46 -
Update config.json
235ffc6 -
Update tokenizer_config.json
dd1391c -
Update vocab.json
d3592cc -
Update README.md
f965bfd
-
Update README.md
b39bf8b -
Update README.md
96ba708
-
Update README.md
c339768
-
Update README.md
8ce0921
-
Update config.json
41cdbe7 -
Update config.json
2c050d8
-
Update tokenizer_config.json
e474fd9 -
Update vocab.json
89171ec -
Update source.spm
ae7b594 -
Update target.spm
daf459d -
Update config.json
f68fb32 -
Update pytorch_model.bin
e3b5d6a -
initial commit
1a97b96