Skip to content
Welcome, thoughtbot's Giant Robots listeners!Start here
WebText
AI-generated illustration
TechnologyUS

WebText

Web-scraped dataset OpenAI built in 2019 to train GPT-2.

OpenAI described WebText in its 2019 GPT-2 research paper. The collection selected web pages through Reddit links, using votes as a signal before cleaning and deduplicating the text.

Last refreshed: 22 October 2026 · Appears in 1 active topic

Timeline for WebText

View full timeline →

Background

WebText is a collection of web documents assembled for training OpenAI’s GPT-2 language model. Researchers selected outbound links from Reddit posts that had received at least three karma points. This provided a way to choose pages that people had already shared and endorsed, rather than collecting an unrestricted sample of every website. The training material came from the linked pages. [GPT-2 research paper, Section 2.1](https://cdn.OpenAI.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf).

The researchers cleaned and deduplicated that material before training. Their preliminary collection contained more than eight million documents. They removed Wikipedia pages to reduce overlap with evaluation datasets commonly used to test language models. WebText’s identity rests on this selection and preparation method: it is a particular training collection assembled from online writing, with choices about which sources and documents remain.

Common Questions
How did OpenAI select material for WebText?
It scraped pages linked from Reddit posts whose links had received at least three karma points.Source: OpenAI
What model was trained on WebText?
WebText was the training corpus for GPT-2.Source: OpenAI
Why did WebText exclude Wikipedia?
The researchers wanted to limit overlap between training material and datasets used to evaluate the model.Source: OpenAI
Source Material

Written with AI from Lowdown's published reporting. Not individually reviewed by an editor. Updated 22 October 2026. Editorial standards.