# GPT-3 (2020)

> A 175-billion-parameter language model that learns new tasks from a few examples in its prompt.

Page: https://mralbu.github.io/ai-datasets/p/gpt-3

## Key facts

- Title: Language Models are Few-Shot Learners
- Authors: Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al.
- Venue: NeurIPS 2020
- Category: LLMs
- Paper: https://www.alphaxiv.org/abs/2005.14165

## Why it matters

GPT-3 turned prompting into a way of programming models and made scale the main lever in AI research. It also changed evaluation: benchmarks were now run zero-shot and few-shot, and the paper's own checks for test questions leaking into the training data became standard practice.

## The idea

Scale a decoder-only Transformer to 175 billion parameters and train it to predict the next word on about 300 billion tokens of web text and books. Then, instead of fine-tuning, describe the task and give a few examples in the prompt ("in-context learning").

## The result

Few-shot GPT-3 scored 71.8 on SuperGLUE, above a fine-tuned BERT-Large, without any task-specific training.

## The data

- [SuperGLUE (2019)](https://mralbu.github.io/ai-datasets/d/superglue.md): GLUE's harder successor: eight tasks, from yes/no questions to pronoun resolution.
- [HellaSwag (2019)](https://mralbu.github.io/ai-datasets/d/hellaswag.md): Pick the most plausible ending for a video caption or how-to step. Easy for people, hard for 2019 models.
- [AI2 ARC (2018)](https://mralbu.github.io/ai-datasets/d/ai2-arc.md): 7,787 real science exam questions; the Challenge set is the 2,590 that simple methods fail.

## Builds on

- [GPT-2 (2019)](https://mralbu.github.io/ai-datasets/p/gpt-2.md)

## Led to

- [Codex (2021)](https://mralbu.github.io/ai-datasets/p/codex.md)
- [Chain of thought (2022)](https://mralbu.github.io/ai-datasets/p/chain-of-thought.md)
- [Chinchilla (2022)](https://mralbu.github.io/ai-datasets/p/chinchilla.md)
- [Flamingo (2022)](https://mralbu.github.io/ai-datasets/p/flamingo.md)
- [InstructGPT (2022)](https://mralbu.github.io/ai-datasets/p/instructgpt.md)

## Part of

- [Scaling language models](https://mralbu.github.io/ai-datasets/t/llm-scaling.md) (step 3 of 5)
- [Aligning language models](https://mralbu.github.io/ai-datasets/t/llm-alignment.md) (step 1 of 4)
- [Reasoning models](https://mralbu.github.io/ai-datasets/t/llm-reasoning.md) (step 1 of 5)
