Instructions to use Nextcloud-AI/opus-mt-tr-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-tr-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-tr-en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-tr-en") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-tr-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
19c6542
-
Adding generation config file(s)
d8105b0
-
Add TF weights
Joao Gante2c7fdee
-
metadata: add license
3252b40
-
Update README.md
3d2ea7d
-
Update README.md
6c84a4c
-
Update README.md
ff1b3e7 -
Update config.json
129330f -
Update tokenizer_config.json
f5038ed -
Update vocab.json
34675b2 -
Update README.md
e63734d
-
Update README.md
83c996b -
Update README.md
b7bc030
-
Update README.md
019979a
-
Update README.md
912da46
-
Update config.json
9c3c9e3 -
Update config.json
579ad51
-
Update source.spm
e25b59a -
Update target.spm
8f0734f -
Update tokenizer_config.json
30d3c1d -
Update vocab.json
5652e1a -
Update config.json
d836bdc -
Update pytorch_model.bin
a111f45 -
initial commit
5fdc98f