Run this model with HF Jobs
Run Helsinki-NLP/opus-mt-ar-pl 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-ar-pl. 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-ar-pl 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-ar-pl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-ar-pl 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-ar-pl")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-ar-pl") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-ar-pl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
1a3b970
-
Adding generation config file(s)
ca6cdbc
-
Add TF weights
Joao Gante62e4daa
-
Changed num_beams to 4
623776f
-
Update README.md
def8de5 -
Update README.md
4773fc6 -
Update metadata.json
cdd0fac
-
Update README.md
b0fce04 -
Update config.json
0cdfbb6 -
Update metadata.json
3034b68 -
Update tokenizer_config.json
677954d -
Update vocab.json
7c3cfa4 -
Update README.md
724d6f6 -
Update metadata.json
7b9e45e -
Update README.md
02b73aa -
Update config.json
5f5accd -
Update metadata.json
a245f6c -
Update pytorch_model.bin
81e2347 -
Update source.spm
0538575 -
Update target.spm
748bc96 -
Update tokenizer_config.json
63f7866 -
Update vocab.json
e57c0a8 -
initial commit
2719a03