PromptSource: An Integrated Development Environment and Repository for Natural Language Prompts

Stephen H. Bach, Victor Sanh, Zheng-Xin Yong, Albert Webson, Colin Raffel +22 more
2/2/2022
cs.LGcs.CL

Official code: bigscience-workshop/promptsource (3,044 stars, Python, Apache-2.0, last commit 2023-10-23).

Abstract

PromptSource is a system for creating, sharing, and using natural language prompts. Prompts are functions that map an example from a dataset to a natural language input and target output.

Show full abstract

Using prompts to train and query language models is an emerging area in NLP that requires new tools that let users develop and refine these prompts collaboratively. PromptSource addresses the emergent challenges in this new setting with (1) a templating language for defining data-linked prompts, (2) an interface that lets users quickly iterate on prompt development by observing outputs of their prompts on many examples, and (3) a community-driven set of guidelines for contributing new prompts to a common pool. Over 2,000 prompts for roughly 170 datasets are already available in PromptSource. PromptSource is available at https://github.com/bigscience-workshop/promptsource.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Toolkit for creating, sharing and using natural language prompts.

3,044374Python, MakefileMay 19, 20213 years agoApache-2.0
machine-learningnatural-language-processingnlp

Similar Papers

Cite this paper

@article{bach2022promptsource,
  title  = {PromptSource: An Integrated Development Environment and Repository for Natural Language Prompts},
  author = {Stephen H. Bach and Victor Sanh and Zheng-Xin Yong and Albert Webson and Colin Raffel and Nihal V. Nayak and Abheesht Sharma and Taewoon Kim and M Saiful Bari and Thibault Fevry and Zaid Alyafeai and Manan Dey and Andrea Santilli and Zhiqing Sun and Srulik Ben-David and Canwen Xu and Gunjan Chhablani and Han Wang and Jason Alan Fries and Maged S. Al-shaibani and Shanya Sharma and Urmish Thakker and Khalid Almubarak and Xiangru Tang and Dragomir Radev and Mike Tian-Jian Jiang and Alexander M. Rush},
  year   = {2022},
  eprint = {2202.01279},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.01279}
}

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/2202.01279.svg)](https://codeofpaper.com/paper/2202.01279)

Discussion