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
- 1,219
Model tree for predibase/cnn
Base model
mistralai/Mistral-7B-v0.1