Run this model with HF Jobs
Run uclanlp/plbart-multi_task-python 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/uclanlp/plbart-multi_task-python. 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/uclanlp/plbart-multi_task-python 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 uclanlp/plbart-multi_task-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use uclanlp/plbart-multi_task-python with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("uclanlp/plbart-multi_task-python") model = AutoModelForSeq2SeqLM.from_pretrained("uclanlp/plbart-multi_task-python", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
eb09b2b
1
Parent(s): 04bae13
Add spiece model and update config files
Browse filesFiles changed (2)
- config.json+1-3
- sentencepiece.bpe.modelAdded+3
18 unmodified lines192021222324251 unmodified line272829303132333418 unmodified lines"encoder_layers": 6,"eos_token_id": 2,"forced_eos_token_id": 2,"gradient_checkpointing": false,"init_std": 0.02,"is_encoder_decoder": true,"max_position_embeddings": 1024,1 unmodified line"num_hidden_layers": 6,"pad_token_id": 1,"scale_embedding": true,"torch_dtype": "float32","transformers_version": "4.12.0.dev0","use_cache": true,"vocab_size": 50008}18 unmodified lines1920212223241 unmodified line2627282930313218 unmodified lines"encoder_layers": 6,"eos_token_id": 2,"forced_eos_token_id": 2,"init_std": 0.02,"is_encoder_decoder": true,"max_position_embeddings": 1024,1 unmodified line"num_hidden_layers": 6,"pad_token_id": 1,"scale_embedding": true,"transformers_version": "4.13.0.dev0","use_cache": true,"vocab_size": 50008}
123version https://git-lfs.github.com/spec/v1oid sha256:f72f5d040a176945623a255484d24066f8c0da89a294359154e226efbe494b80size 985833config.json+1-3
sentencepiece.bpe.modelAdded+3