Archive of AI

Source Snapshot / 2020-06-11-openai-3-1

Language Models are Few-Shot Learners (GPT-3 arXiv)

Linked event: 2020-06-11 · OpenAI Launches Private Beta for GPT-3 Series API

Publisher
arXiv
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / ab71cfaa5b3b9faf
Original URL
Open source ↗
Wayback Backup
Wayback archive ↗
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

Skip to main content

Press Enter to search · Advanced search

Computer Science > Computation and Language

arXiv:2005.14165 (cs)

[Submitted on 28 May 2020 (v1), last revised 22 Jul 2020 (this version, v4)]

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, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, Dario Amodei

View a PDF of the paper titled Language Models are Few-Shot Learners, by Tom B. Brown and 30 other authors

HTML (experimental)

Abstract:Recent work has demonstrated substantial gains on many NLP tasks and benchmarks by pre-training on a large corpus of text followed by fine-tuning on a specific task. While typically task-agnostic in architecture, this method still requires task-specific fine-tuning datasets of thousands or tens of thousands of examples. By contrast, humans can generally perform a new language task from only a few examples or from simple instructions - something which current NLP systems still largely struggle to do. Here we show that scaling up language models greatly improves task-agnostic, few-shot performance, sometimes even reaching competitiveness with prior state-of-the-art fine-tuning approaches. Specifically, we train GPT-3, an autoregressive language model with 175 billion parameters, 10x more than any previous non-sparse language model, and test its performance in the few-shot setting. For all tasks, GPT-3 is applied without any gradient updates or fine-tuning, with tasks and few-shot demonstrations specified purely via text interaction with the model. GPT-3 achieves strong performance on many NLP datasets, including translation, question-answering, and cloze tasks, as well as several tasks that require on-the-fly reasoning or domain adaptation, such as unscrambling words, using a novel word in a sentence, or performing 3-digit arithmetic. At the same time, we also identify some datasets where GPT-3's few-shot learning still struggles, as well as some datasets where GPT-3 faces methodological issues related to training on large web corpora. Finally, we find that GPT-3 can generate samples of news articles which human evaluators have difficulty distinguishing from articles written by humans. We discuss broader societal impacts of this finding and of GPT-3 in general.

Computation and Language (cs.CL)

arXiv:2005.14165 [cs.CL]

arXiv:2005.14165v4 [cs.CL] for this version)

https://doi.org/10.48550/arXiv.2005.14165

Focus to learn more

arXiv-issued DOI via DataCite

Submission history

From: Tom B Brown [view email] [v1]

Thu, 28 May 2020 17:29:03 UTC (6,995 KB)

Mon, 1 Jun 2020 17:08:53 UTC (6,997 KB)

Fri, 5 Jun 2020 02:52:35 UTC (6,998 KB)

Wed, 22 Jul 2020 19:47:17 UTC (6,998 KB)

Full-text links:

Access Paper:

view license

Additional Features

Audio Summary

Current browse context:

Change to browse by:

References & Citations

Google Scholar

Semantic Scholar

74 blog links

(what is this?)

DBLP - CS Bibliography

listing | bibtex

Tom B. BrownNick RyderJared KaplanPrafulla DhariwalArvind Neelakantan

export BibTeX citation

BibTeX formatted citation

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? |

Disable MathJax (What is MathJax?)