Language models are few-shot learners

OpenAI Blog Papers

Summary

OpenAI introduces GPT-3, a 175-billion parameter autoregressive language model that demonstrates strong few-shot learning capabilities across diverse NLP tasks without gradient updates or fine-tuning, representing a paradigm shift in how language models can be applied to new tasks through text interactions alone.

No content available
Original Article
View Cached Full Text

Cached at: 04/20/26, 02:46 PM

# Language models are few-shot learners Source: [https://openai.com/index/language-models-are-few-shot-learners/](https://openai.com/index/language-models-are-few-shot-learners/) 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\.

Similar Articles

Better language models and their implications

OpenAI Blog

OpenAI introduces GPT-2, a 1.5 billion parameter transformer-based language model trained on 40GB of internet text that achieves state-of-the-art performance on language modeling benchmarks and demonstrates zero-shot capabilities in reading comprehension, translation, question answering, and summarization. Due to safety concerns, only a smaller model and technical paper are released publicly rather than the full trained model.

First look at GPT-5

OpenAI Blog

OpenAI provides a first look at GPT-5, representing a major advancement in large language models with potential paradigm-shifting capabilities.

Aligning language models to follow instructions

OpenAI Blog

OpenAI introduces InstructGPT, a GPT-3 variant fine-tuned using reinforcement learning from human feedback (RLHF) to better follow instructions and reduce harmful outputs. A 1.3B InstructGPT model is preferred by human evaluators over a 175B GPT-3 model, now becoming the default on OpenAI's API.

GPT-4

OpenAI Blog

OpenAI releases GPT-4, a large multimodal model that accepts image and text inputs and demonstrates human-level performance on professional and academic benchmarks, significantly outperforming GPT-3.5 across various evaluation metrics.