Run this model with HF Jobs
Run Helsinki-NLP/opus-mt-tr-es on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Helsinki-NLP/opus-mt-tr-es. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Helsinki-NLP/opus-mt-tr-es on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Helsinki-NLP/opus-mt-tr-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/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="Helsinki-NLP/opus-mt-tr-es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-tr-es") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/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