Run this model with HF Jobs

Run google/pegasus-large 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/google/pegasus-large. 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/google/pegasus-large 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.
pegasus-large / generation_config_for_summarization_pubmed.json
joaogante's picture
Adding generation config file(s)
dec7796
Raw History Blame Contribute Delete
260 Bytes
{
"_from_model_config": true,
"bos_token_id": 0,
"decoder_start_token_id": 0,
"eos_token_id": 1,
"forced_eos_token_id": 1,
"length_penalty": 0.8,
"max_length": 256,
"num_beams": 8,
"pad_token_id": 0,
"transformers_version": "4.27.0.dev0"
}