ElemedexA pocket encyclopedia of AI architectures
No. 029

GPT-2

Karma

It read everything Reddit users deemed worthy of at least three net votes. When told about English-speaking unicorns in the Andes, it added that they had four horns and may have originated in Argentina. Its trainers kept it under lock and key for nine months before releasing it in full.

Height
48 (smaller versions: 12, 24, 36)
Weight
≈ 6 GB (fp32)
Parameters
1,542 M (≈ 1.5 B)
Context
1,024 tokens
Training data
WebText: 45 M Reddit links (≥ 3 karma) → 8 M documents, 40 GB
Year
2019
Generation
4 · Transformers
Creators
Radford, Wu, Child, Luan, Amodei & Sutskever (OpenAI)
Kind
Model

Base stats

Total
297

Approximate, ordinal scales meant for comparing species with each other; the hard numbers are in the data sheet.

Weaknesses

  • Fluent but unreliable: it makes up details with complete aplomb.
  • Without fine-tuning, its results on questions, summaries and translation are far below supervised systems.
  • It inherits the tastes and demographic skews of the people who vote on Reddit.
  • It memorizes texts that are repeated often in its data, such as the Gettysburg Address.

Habitat

It grew up on WebText: eight million pages linked from Reddit with at least 3 karma, with no Wikipedia and nothing after December 2017. Today it lives in tutorials, in interpretability labs that use it as a laboratory animal, and in the acronym of its successors.

Moves

Abilities

Unsupervised multitasking
The task is requested within the text itself; the model infers it because its corpus is full of examples of tasks.
Byte-level BPE
A 50,257-unit vocabulary built over bytes: any Unicode string can be represented, with no unknown words.
Pre-normalization
Layer normalization moves to the input of each sub-block, which stabilizes the training of deep stacks.

Anatomy

GPT-2 (1.5B), bottom to top: the same decoder stack as GPT-1, four times deeper (48 blocks, 1,600-dimensional vectors, 1,024-token context). Normalization moves to the input of each sub-block and one more is added at the end. There is no classification head: every task is solved by predicting text.

Evolution chain

  • ×10 scale and a cleaner web corpus (WebText)027 GPT-1
029 GPT-2

GPT-2 is GPT-1 at ten times the scale with a new corpus: a transformer decoder with 1.5 billion parameters trained to predict the next token on web pages. OpenAI announced it in February 2019, and it became famous both for what it did without task-specific training and for what its makers at first refused to publish.

Bigger, nearly the same

The paper trained four sizes, from 117 to 1,542 million parameters; the largest, the only one the paper calls GPT-2, has 48 layers and 1,600-dimensional vectors (Radford et al., 2019, secs. 2.3, 3; Alammar & Grootendorst, 2024, p. 20). The architectural changes are minor: layer normalization moves to the input of each sub-block, the context doubles to 1,024 tokens, and the vocabulary, a byte-level BPE, has 50,257 entries, so any Unicode string can be represented (Radford et al., 2019, secs. 2.2–2.3; Alammar & Grootendorst, 2024, p. 49).

A corpus chosen by votes

OpenAI wanted varied text, but Common Crawl was full of unintelligible documents, and manually filtering a web scrape would have been exceedingly expensive. The solution was to delegate curation to Reddit: they took the outbound links posted there that had received at least 3 karma, a "heuristic indicator" that other users had found them interesting, educational, "or just funny" (Radford et al., 2019, sec. 2.1). Since karma is a net vote balance, that means roughly three upvotes (Mollick, 2026). From those 45 million links came WebText: slightly over 8 million documents and 40 GB of text, with no links created after December 2017 and no Wikipedia, which was removed to avoid contaminating evaluations (Radford et al., 2019, sec. 2.1). Upvotes had been invented to rank links, not to teach a machine to write (Mollick, 2026).

Tasks without training

The paper's thesis is in its title: language models are unsupervised multitask learners. A task can be written down as text, and a model that predicts the web well should learn to do the tasks the web displays, because that helps it predict (Radford et al., 2019, sec. 2). WebText does in fact contain spontaneous translations between English and French (2019, Table 1).

With no fine-tuning at all (zero-shot), GPT-2 improved the state of the art on 7 of 8 language modeling datasets (Radford et al., 2019, sec. 3.1). To summarize, it was enough to append "TL;DR:" to an article; without that hint, performance dropped by 6.4 points (2019, sec. 3.6). To translate, it was given example pairs in the format "english sentence = french sentence" (2019, sec. 3.7): a preview of the prompt and of the few-shot learning of GPT-3.

"Too dangerous"

The February announcement published the paper and the small model but withheld the larger ones for fear of malicious uses: fake news, impersonation, automated abusive content. A staged release followed: 355 million parameters in May, 774 million in August, and the full model in November 2019. The final report found no evidence of direct misuse in public forums, though it did find discussions of how to try (Solaiman et al., 2019). The press summed it up as the model "too dangerous to release."

Limits

Without fine-tuning, results were promising but modest: on open questions it was right 4.1% of the time (Radford et al., 2019, sec. 3.8), and its summaries barely beat picking three sentences at random (2019, sec. 3.6). It memorized heavily repeated texts, such as the Gettysburg Address (2019, sec. 8.2). And its prose was fluent and often false: in the most quoted sample (the best of ten), the Andean unicorns had four horns (2019, Table 13).

Sources

  • Alammar, J., & Grootendorst, M. (2024). Hands-on large language models: Language understanding and generation. O’Reilly Media. §
  • Bender, E. M., Gebru, T., McMillan-Major, A., & Shmitchell, S. (2021). On the dangers of stochastic parrots: Can language models be too big? 🦜. In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency (pp. 610–623). Association for Computing Machinery. https://doi.org/10.1145/3442188.3445922 §
  • Brandom, R. B. (1994). Making it explicit: Reasoning, representing, and discursive commitment. Harvard University Press. §
  • Mollick, E. (2026). Built for something else: Sources and notes [Sources companion to the video "Built for something else: How a chain of accidents built ChatGPT"; written by Claude Opus 5.5, supervised by E. Mollick]. Retrieved September 30, 2026, from https://built-for-something-else.netlify.app/ §
  • Radford, A., Wu, J., Child, R., Luan, D., Amodei, D., & Sutskever, I. (2019). Language models are unsupervised multitask learners [Technical report]. OpenAI. https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf §
  • Solaiman, I., Brundage, M., Clark, J., Askell, A., Herbert-Voss, A., Wu, J., Radford, A., Krueger, G., Kim, J. W., Kreps, S., McCain, M., Newhouse, A., Blazakis, J., McGuffie, K., & Wang, J. (2019). Release strategies and the social impacts of language models (arXiv:1908.09203). arXiv. https://doi.org/10.48550/arXiv.1908.09203 §