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. 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.
翻译:提示源是一个创建、共享和使用自然语言提示的系统。 提示功能是将数据集的示例映射为自然语言输入和目标输出的功能。 使用提示培训和查询语言模型是国家语言平台中一个新兴领域,需要新的工具,让用户能够合作开发和完善这些提示。 提示源处理这一新环境中新出现的挑战, (1) 一种用于定义数据链接提示的提示语言, (2) 一种界面,使用户能够通过观察许多实例的提示输出而快速循环快速开发, (3) 一套社区驱动的向共同集合提供新提示的指南。 提示源中已有大约170个数据集的2,000多个提示。 提示源可在https://github.com/biggscience-workshop/proptource上查阅。