Run this model with HF Jobs

Run predibase/cnn 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/predibase/cnn. 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/predibase/cnn 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/predibase/cnn. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/predibase/cnn. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Description: News article summarization
Original dataset: https://huggingface.co/datasets/cnn_dailymail
---
Try querying this adapter for free in Lora Land at https://predibase.com/lora-land!
The adapter_category is Summarization and the name is News Summarization (cnn)
---
Sample input: You are given a news article below. Please summarize the article, including only its highlights.\n\n### Article: (CNN)Former Vice President Walter Mondale was released from the Mayo Clinic on Saturday after being admitted with influenza, hospital spokeswoman Kelley Luckstein said. "He's doing well. We treated him for flu and cold symptoms and he was released today," she said. Mondale, 87, was diagnosed after he went to the hospital for a routine checkup following a fever, former President Jimmy Carter said Friday. "He is in the bed right this moment, but looking forward to come back home," Carter said during a speech at a Nobel Peace Prize Forum in Minneapolis. "He said tell everybody he is doing well." Mondale underwent treatment at the Mayo Clinic in Rochester, Minnesota. The 42nd vice president served under Carter between 1977 and 1981, and later ran for President, but lost to Ronald Reagan. But not before he made history by naming a woman, U.S. Rep. Geraldine A. Ferraro of New York, as his running mate. Before that, the former lawyer was a U.S. senator from Minnesota. His wife, Joan Mondale, died last year.\n\n### Summary:
---
Sample output: Walter Mondale was admitted to the Mayo Clinic on Friday . He was released Saturday after being treated for flu and cold symptoms . Mondale served as vice president under Jimmy Carter .
---
Try using this adapter yourself!

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "mistralai/Mistral-7B-v0.1"
peft_model_id = "predibase/cnn"

model = AutoModelForCausalLM.from_pretrained(model_id)
model.load_adapter(peft_model_id)
Downloads last month
62
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for predibase/cnn

Adapter
(2,463)
this model

Collection including predibase/cnn