Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer

Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang +4 more
10/23/2019
28,443 citations
cs.LGcs.CLstat.ML
transformer-attention

No official code found. Best implementation: google-research/text-to-text-transfer-transformer (6,564 stars, Python, Apache-2.0, last commit 2026-10-12).

Abstract

Transfer learning, where a model is first pre-trained on a data-rich task before being fine-tuned on a downstream task, has emerged as a powerful technique in natural language processing (NLP). The effectiveness of transfer learning has given rise to a diversity of approaches, methodology, and practice.

Show full abstract

In this paper, we explore the landscape of transfer learning techniques for NLP by introducing a unified framework that converts all text-based language problems into a text-to-text format. Our systematic study compares pre-training objectives, architectures, unlabeled data sets, transfer approaches, and other factors on dozens of language understanding tasks. By combining the insights from our exploration with scale and our new ``Colossal Clean Crawled Corpus'', we achieve state-of-the-art results on many benchmarks covering summarization, question answering, text classification, and more. To facilitate future work on transfer learning for NLP, we release our data set, pre-trained models, and code.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for the paper "Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer"

6,564800Python, Jupyter NotebookOct 17, 20191 months agoApache-2.0

Similar Papers

Cite this paper

@article{raffel2019exploring,
  title  = {Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer},
  author = {Colin Raffel and Noam Shazeer and Adam Roberts and Katherine Lee and Sharan Narang and Michael Matena and Yanqi Zhou and Wei Li and Peter J. Liu},
  year   = {2019},
  eprint = {1910.10683},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.10683}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.10683.svg)](https://codeofpaper.com/paper/1910.10683)

Discussion