Skip to content

Dataset · trl-lib

Reddit posts and their TL;DR summaries

trl-lib/tldr

Pairs of long Reddit posts and author summaries for training summarization models.

What's inside

The dataset is a processed sample of posts from the Reddit platform, where users added a «TL;DR» summary at the end of long text. The data is organized in a prompt-completion format for use with the TRL library. The volume ranges from 100k to 1 million text pairs.

What you can do with it

  • Supervised fine-tuning (SFT) of language models for summarizing long texts
  • Preparing models for subsequent alignment (RLHF) in summarization tasks
  • Evaluating LLM ability to extract key points from informal text
Size
100K–1M rows
Downloads this month
3.1K
Likes
32

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("trl-lib/tldr")