GPT-3 (Generative Pre-trained Transformer 3) is a 175-billion-parameter autoregressive language model developed by OpenAI and described in the May 2020 paper "Language Models are Few-Shot Learners".1 It was roughly an order of magnitude larger than any previous dense language model, and its headline result reset the field's expectations: without any gradient updates, the model could perform new tasks from natural-language instructions and a handful of examples placed in its context: the behavior now called in-context learning.

Background

GPT-3 followed GPT-2's demonstration that scaling up a decoder-only Transformer trained on next-token prediction produced surprisingly general text capabilities. Where GPT-2 topped out at 1.5 billion parameters, the GPT series' third generation asked what another hundredfold of compute would buy.1

Architecture and training

GPT-3 is architecturally conservative: a 96-layer decoder-only Transformer using alternating dense and locally banded sparse attention patterns, a 2,048-token context, and byte-pair-encoding tokenization. It was trained on a filtered Common Crawl mixture supplemented with WebText2, two books corpora, and English Wikipedia. The paper evaluated eight model sizes, from 125 million to 175 billion parameters, establishing smooth scaling trends across them.1

What was new

The paper's contribution was less the architecture than the evaluation frame: zero-shot, one-shot, and few-shot performance measured purely through prompting. On many benchmarks few-shot GPT-3 approached or matched fine-tuned models of the prior generation, and on knowledge tests such as MMLU it substantially outperformed all predecessors, while still scoring far below expert humans; figures as reported by the authors.12

Reception and impact

GPT-3's API-only release model (weights withheld, access sold as a service) became the template for the commercial LLM industry, and drew criticism from researchers favoring open weights. Its instruction-following limitations motivated the post-training line of work, notably RLHF, that produced InstructGPT and ChatGPT.3 Successors in the family, including GPT-4, kept the scaling recipe while abandoning GPT-3's architectural transparency.

Lineage

Predecessor: GPT-2 (2019). Successors: the GPT-3.5 series and GPT-4. See GPT (model family) for the full tree.

References


  1. Brown, T., et al., "Language Models are Few-Shot Learners," arXiv:2005.14165, May 2020. ↩↩↩↩

  2. Hendrycks, D., et al., "Measuring Massive Multitask Language Understanding," arXiv:2009.03300, September 2020. ↩

  3. Ouyang, L., et al., "Training language models to follow instructions with human feedback," arXiv:2203.02155, March 2022. ↩