Instructions to use Nextcloud-AI/opus-mt-de-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-de-en 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-de-en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-de-en") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-de-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
1a922f3
-
Adding generation config file(s)
aa4414d
-
Add TF weights
Joao Ganteb71145b
-
metadata: add license
6137149
-
Changed num_beams to 4
2ae01f3
-
Update README.md
9bf1bf0
-
Update README.md
505ddf5 -
Update config.json
cfb42d3 -
Update tokenizer_config.json
ea8efa9 -
Update vocab.json
d39bcb1
-
Update README.md
cefe0dc -
Update config.json
6d714c3 -
Update tokenizer_config.json
b784069 -
Update vocab.json
3fe6d6e -
Update README.md
f76292a
-
Update README.md
d9606c6 -
Update README.md
7b5350c
-
Update README.md
afe28fb
-
Update rust_model.ot
8e129c9
-
Update README.md
c0905bf
-
Update config.json
b0a4d19 -
Update config.json
35f7b1b
-
Update config.json
0170db4 -
Update config.json
1095e13
-
Update target.spm
eaf8922 -
Update tokenizer_config.json
0805e7a -
Update vocab.json
b4d160b -
Update source.spm
4975bee -
Update pytorch_model.bin
bbe2e3b -
Update config.json
f3abf16 -
initial commit
cc2c334