Language Models are Unsupervised Multitask Learners logo

Language Models are Unsupervised Multitask Learners

Free

Unsupervised multitask learning via large-scale language modeling

FreeFree tier
Inputs: textOutputs: text
Type
Open Source
Company
OpenAI

About Language Models are Unsupervised Multitask Learners

This paper introduces GPT-2, a large-scale unsupervised language model trained on a diverse web corpus (WebText). It demonstrates that language models can perform a variety of natural language tasks—such as reading comprehension, question answering, summarization, and translation—in a zero-shot setting without task-specific training. The research highlights the potential of unsupervised multitask learning and raises important considerations about the societal impact of such powerful generative models.

Key Features

Zero-shot transfer to multiple NLP tasks without fine-tuning
Large-scale Transformer architecture with 1.5B parameters
Trained on the WebText dataset (8 million documents)
Demonstrates reading comprehension, translation, summarization, and question answering

Pros & Cons

Pros
  • Shows that language models can generalize across tasks without labeled data
  • Open-source model weights released (eventually)
  • Large capacity enables high-quality text generation
Cons
  • Potential for misuse in generating misleading or harmful content
  • Large computational resources required for training and inference
  • Biases present in training data may be amplified

Best For

Zero-shot text generationQuestion answering without task-specific dataDocument summarization in a few-shot or zero-shot mannerMachine translation using language model prompting

FAQ

What is the main contribution of this paper?
It demonstrates that large-scale unsupervised language models can perform multiple natural language tasks without explicit supervision, performing at a competitive level in zero-shot settings.
Is GPT-2 open source?
Yes, OpenAI released the model weights and code under a permissive license, though initially in a staged manner due to concerns about misuse.
What architecture does GPT-2 use?
GPT-2 is a Transformer-based language model with up to 1.5 billion parameters, using a decoder-only architecture with masked self-attention.