Run this model with HF Jobs
Run Helsinki-NLP/opus-mt-ca-nl 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-ca-nl. 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-ca-nl 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-ca-nl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-ca-nl 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-ca-nl")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-ca-nl") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-ca-nl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update metadata.json
Browse files1{"hf_name":"cat-nld","source_languages":"cat","target_languages":"nld","opus_readme_url":"https:\/\/github.com\/Helsinki-NLP\/Tatoeba-Challenge\/tree\/master\/models\/cat-nld\/README.md","original_repo":"Tatoeba-Challenge","tags":["translation"],"prepro":" normalization + SentencePiece (spm12k,spm12k)","url_model":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/cat-nld\/opus-2020-06-16.zip","url_test_set":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/cat-nld\/opus-2020-06-16.test.txt","src_alpha3":"cat","tgt_alpha3":"nld","short_pair":"ca-nl","chrF2_score":0.632,"bleu":45.1,"brevity_penalty":0.965,"ref_len":4157.0,"src_name":"Catalan","tgt_name":"Dutch","train_date":"2020-06-16","src_alpha2":"ca","tgt_alpha2":"nl","prefer_old":false,"long_pair":"cat-nld","helsinki_git_sha":"480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535","transformers_git_sha":"46e9f53347bbe9e989f0335f98465f30886d8173","port_machine":"brutasse","port_time":"2020-08-18-01:48"}metadata.jsonAdded+1