Run this model with HF Jobs
Run predibase/tldr_content_gen 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/tldr_content_gen. 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/tldr_content_gen 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/tldr_content_gen. 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/tldr_content_gen. 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.
Instructions to use predibase/tldr_content_gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use predibase/tldr_content_gen with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1") model = PeftModel.from_pretrained(base_model, "predibase/tldr_content_gen") - Notebooks
- Google Colab
- Kaggle
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)
- Downloads last month
- 50
Model tree for predibase/tldr_content_gen
Base model
mistralai/Mistral-7B-v0.1