Papers › Multitask Prompted Training Enables Zero-Shot Task Generalization

Multitask Prompted Training Enables Zero-Shot Task Generalization

15 Oct 2021ICLR 2022 4arXiv:2110.08207archive 2025-07-28

Victor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, Manan Dey, M Saiful Bari, Canwen Xu, Urmish Thakker, Shanya Sharma Sharma, Eliza Szczechla, Taewoon Kim, Gunjan Chhablani, Nihal Nayak, Debajyoti Datta, Jonathan Chang, Mike Tian-Jian Jiang, Han Wang, Matteo Manica, Sheng Shen, Zheng Xin Yong, Harshit Pandey, Rachel Bawden, Thomas Wang, Trishala Neeraj, Jos Rozen, Abheesht Sharma, Andrea Santilli, Thibault Fevry, Jason Alan Fries, Ryan Teehan, Tali Bers, Stella Biderman, Leo Gao, Thomas Wolf, Alexander M. Rush

Large language models have recently been shown to attain reasonable zero-shot generalization on a diverse set of tasks (Brown et al., 2020). It has been hypothesized that this is a consequence of implicit multitask learning in language models' pretraining (Radford et al., 2019). Can zero-shot generalization instead be directly induced by explicit multitask learning? To test this question at scale, we develop a system for easily mapping any natural language tasks into a human-readable prompted form. We convert a large set of supervised datasets, each with multiple prompts with diverse wording. These prompted datasets allow for benchmarking the ability of a model to perform completely held-out tasks. We fine-tune a pretrained encoder-decoder model (Raffel et al., 2020; Lester et al., 2021) on this multitask mixture covering a wide variety of tasks. The model attains strong zero-shot performance on several standard datasets, often outperforming models up to 16x its size. Further, our approach attains strong performance on a subset of tasks from the BIG-bench benchmark, outperforming models up to 6x its size. All trained models are available at https://github.com/bigscience-workshop/t-zero and all prompts are available at https://github.com/bigscience-workshop/promptsource.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2110.08207")

Code

Syntology Ran 8 of 15 code samples harvested from 4 repositories linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 6 samples from 2 repositories, 6 ran; community (archive-listed): 9 samples from 2 repositories, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bigscience-workshop/promptsource officialmentioned in papermentioned on GitHub report
bigscience-workshop/t-zero officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
DevSinghSachan/art mentioned on GitHubpytorch report
facebookresearch/metaicl mentioned on GitHubpytorch report
gonglinyuan/metro_t0 mentioned on GitHubpytorch report
hojjat-mokhtarabadi/promptsource mentioned on GitHubApache-2.0 report
openbiolink/promptsource mentioned on GitHubApache-2.0 report
ukplab/arxiv2022-context-injection-stance mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 8 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
1ran · our draft was wrong
1ran · fixture could not drive it
5ran
7unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

choice bigscience-workshop/promptsource/promptsource/templates.py official repository ran · violated contract fingerprinted Apache-2.0 (permissive) · bb35fcd18dd842fb · report
feature_to_spec bigscience-workshop/t-zero/t0/seqio_tasks/utils.py official repository ran Apache-2.0 (permissive) · b7af70f17bfb5e07 · report
hf_dataset_to_tf_dataset bigscience-workshop/t-zero/t0/seqio_tasks/utils.py official repository ran Apache-2.0 (permissive) · de62b3eab371bdf6 · report
highlight bigscience-workshop/promptsource/promptsource/templates.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 406e3e3a9886da66 · report
most_frequent bigscience-workshop/promptsource/promptsource/templates.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 10c4b8cfda850b4c · report
strip_whitespace bigscience-workshop/t-zero/t0/seqio_tasks/tasks.py official repository ran Apache-2.0 (permissive) · 11b64b0a85dfb964 · report
removeHyphen hojjat-mokhtarabadi/promptsource/promptsource/utils.py community (archive-listed) ran Apache-2.0 (permissive) · 0b1cb631e6e315b0 · report
renameDatasetColumn hojjat-mokhtarabadi/promptsource/promptsource/utils.py community (archive-listed) ran Apache-2.0 (permissive) · a77010010d56e618 · report
fake_query ukplab/arxiv2022-context-injection-stance/src/retrieve/retrieve_t0pp_context.py community (archive-listed) unverified Apache-2.0 (permissive) · 9b27d71357f65d09 · report
get_attribution_stats ukplab/arxiv2022-context-injection-stance/src/analysis/analyse_attributions.py community (archive-listed) unverified Apache-2.0 (permissive) · aa86817b5ef44488 · report
get_dataset_builder hojjat-mokhtarabadi/promptsource/promptsource/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · e14d51a44fec9477 · report
get_divergence ukplab/arxiv2022-context-injection-stance/src/analysis/analyse_topics.py community (archive-listed) unverified Apache-2.0 (permissive) · 35a244de1ccdbabd · report
get_indomain_splits ukplab/arxiv2022-context-injection-stance/src/analysis/count_dataset_splits.py community (archive-listed) unverified Apache-2.0 (permissive) · dd07b1fdb8bc71a0 · report
jensen_shannon_divergence ukplab/arxiv2022-context-injection-stance/src/analysis/analyse_topics.py community (archive-listed) unverified Apache-2.0 (permissive) · f296f02f0a3d87ac · report
query ukplab/arxiv2022-context-injection-stance/src/retrieve/retrieve_t0pp_context.py community (archive-listed) unverified Apache-2.0 (permissive) · 279ad86d58c62ffb · report

Tasks

BenchmarkingDecoderLanguage ModellingPrompt EngineeringZero-shot Generalization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Test

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections