Downloads · 30 days
46
0% of all-time downloads
predibase/tldr_content_gen
tldr_content_gen is a text generation model from predibase. Use it when you need the model to write or continue text. It is set up for peft.
Description: Content generation given a headline\ Original dataset: https://huggingface.co/datasets/JulesBelveze/tldrnews \ ---\ Try querying this adapter for free in Lora Land at https://predibase.com/lora-land! \ Th…
Downloads · 30 days
46
0% of all-time downloads
All-time downloads
10K
Public
Repo size
13.6 MB
Likes
9
Public
Click a slice to open those files.
.safetensors13.6 MB · 100%
From the Hugging Face model README
Description: Content generation given a headline
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 Other and the name is News Content Generation (tldr_news)
---
Sample input: The following headline is the headline of a news report. Please write the content of the news passage based on only this headline.\n\nHeadline: Latest success from Google’s AI group: Controlling a fusion reactor \n\nContent:
---
Sample output: Google's AI group has developed a system that can control a fusion reactor. The system uses a deep reinforcement learning algorithm to control the reactor's magnetic field. It can control the reactor's magnetic field with a precision of 0.001%. The system can also learn to control the reactor's plasma. A video is available that shows the system controlling the reactor.
---
Try using this adapter yourself!
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "mistralai/Mistral-7B-v0.1"
peft_model_id = "predibase/tldr_content_gen"
model = AutoModelForCausalLM.from_pretrained(model_id)
model.load_adapter(peft_model_id)