Papers / Text
T5 (2019)
Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
Every language task written as text in, text out, and a careful study of which pretraining choices actually matter.
Why it matters
After BERT, new pretraining methods appeared monthly and were hard to compare. T5 tested them head to head under one setup, settled on span corruption as the objective, and released C4 and its models. The text-to-text framing became the way instruction-tuned models are trained, and C4 became a standard pretraining corpus.
- Year
- 2019
- Authors
- Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J. Liu
- Venue
- JMLR 2020
- Data
- C4, GLUE, SuperGLUE, SQuAD, CNN/DailyMail, WMT14 English–German
The idea
Cast every task, from translation to classification to question answering, as feeding the model a string with a task prefix ("summarize:", "translate English to German:") and training it to produce a string. With one encoder–decoder Transformer and one loss, compare pretraining objectives, architectures, data sets and fine-tuning strategies one at a time, then scale the best recipe up to 11 billion parameters on C4, a new cleaned crawl of the web.
The result
The 11B model set records on GLUE (90.3), SuperGLUE (88.9, against a human baseline of 89.8), SQuAD and CNN/DailyMail summarization.
The data
C4
2019The Colossal Clean Crawled Corpus: 365 million English web pages, filtered with simple rules. (same year)
“Mucha Firebasket, by Jake Bowers. Last Saturday’s open meeting of the St Leonards Community Forum saw most present agree that the area has b…”
GLUE
2018Nine English language-understanding tasks rolled into one score. (1 year earlier)
John will rain tomorrow.
SuperGLUE
2019GLUE's harder successor: eight tasks, from yes/no questions to pronoun resolution. (same year)
The Magicians (Grossman novel) -- The Magicians is a new adult fantasy novel by the American author Lev Grossman, published in 2009 by Vikin…
SQuAD
2016100k+ questions about Wikipedia paragraphs; the answer is a span of the text. (3 years earlier)
How many people lived in Fresno in 2000, according to the Census Bureau?
CNN/DailyMail
2015312,000 news articles paired with the bullet-point highlights their editors wrote. (4 years earlier)
“Alison Hall, 48, almost choked to death after a false nail in her pocket worked its way into her asthma inhaler. It then shot to the back of…”
WMT14 English–German
20144.5M English–German sentence pairs: the benchmark in the Transformer paper. (5 years earlier)
He wrote a 'Theology of the Computer' and questioned what separates humans from… → Er schrieb eine Theologie des Computers und fragte, was einen Menschen von einer…
Builds on
- Transformer (2017): A translation model built only from attention, and the architecture behind every large language model since.
- BERT (2018): Pretrain a Transformer to fill in masked words, then fine-tune it for almost any language task.
Led to
- Chronos (2024): Turn numbers into tokens, train an unmodified language model on them, and forecast series it has never seen.
