Description: Headline generation given news content
Original dataset: https://huggingface.co/datasets/JulesBelveze/tldr_news
---
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 Headline Generation (tldr_news)
---
Sample input: The following passage is content from a news report. Please summarize this passage in one sentence or less.\n\nPassage: Jeffrey Berns, CEO of Blockchains LLC, wants the Nevada government to allow companies like his to form local governments on land they own, granting them power over everything from schools to law enforcement. Berns envisions a city based on digital currencies and blockchain storage. His company is proposing to build a 15,000 home town 12 miles east of Reno. Nevada Lawmakers have responded with intrigue and skepticism. The proposed legislation has yet to be formally filed or discussed in public hearings.\n\nSummary:
---
Sample output: Blockchain CEO wants to build a city in Nevada
---
Try using this adapter yourself!
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "mistralai/Mistral-7B-v0.1"
peft_model_id = "predibase/tldr_headline_gen"
model = AutoModelForCausalLM.from_pretrained(model_id)
model.load_adapter(peft_model_id)
- Downloads last month
- 265
Model tree for predibase/tldr_headline_gen
Base model
mistralai/Mistral-7B-v0.1