Instructions to use Nextcloud-AI/opus-mt-ar-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-ar-de 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-ar-de")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-ar-de") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-ar-de", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
8e6cbcc
-
Adding generation config file(s)
9f8b13b
-
Add TF weights
Joao Gantea89f0cd
-
Changed num_beams to 4
8f2a486
-
Update README.md
27de184 -
Update README.md
9c9933d -
Update metadata.json
84bb4df
-
Update README.md
de7ee78 -
Update config.json
2b3a08a -
Update metadata.json
79414a3 -
Update tokenizer_config.json
8cbd260 -
Update vocab.json
00cb1db -
Update README.md
da0f057 -
Update metadata.json
28a6358 -
Update README.md
a48cad6 -
Update config.json
622bbc2 -
Update metadata.json
6ce1056 -
Update pytorch_model.bin
b7d738b -
Update source.spm
de9c486 -
Update target.spm
098203d -
Update tokenizer_config.json
582d4f1 -
Update vocab.json
fae1529
-
Update README.md
bf7942e -
Update config.json
a393195 -
Update tokenizer_config.json
30b8584 -
Update vocab.json
86ec411 -
Update README.md
a0ea838
-
Update README.md
c10d89a -
Update README.md
dcf33be
-
Update README.md
ac87384
-
Update README.md
4ebe706
-
Update config.json
d211ac3 -
Update config.json
1752b80
-
Update config.json
9410357 -
Update config.json
af8149e
-
Update source.spm
8f45a71 -
Update target.spm
5f1f66c -
Update tokenizer_config.json
2019ba8 -
Update vocab.json
de73cb3 -
Update config.json
9442ef8 -
initial commit
54b5851