Instructions to use Nextcloud-AI/opus-mt-tr-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-tr-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-tr-es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-tr-es") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-tr-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
7157c68
-
Adding generation config file(s)
9198a7d
-
Add TF weights
Joao Gantecaeb69f
-
metadata: add license
25c7e64
-
Update README.md
4f32216
-
Update README.md
b25e2b9
-
Update README.md
97803c9 -
Update config.json
6ec2e60 -
Update tokenizer_config.json
44f1a63 -
Update vocab.json
2ab189f -
Update README.md
0bff723
-
Update README.md
3428eb6 -
Update README.md
91cfb51
-
Update README.md
9074939
-
Update README.md
4f0ee5f
-
Update config.json
acc2fb3 -
Update config.json
1f68ba0
-
Update source.spm
22e2578 -
Update target.spm
81553e1 -
Update tokenizer_config.json
13b169f -
Update vocab.json
e6445b5 -
Update config.json
b08ba7c -
Update pytorch_model.bin
7bdf4a9 -
initial commit
bfa47ec