arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.07852cs.CLcs.HCcs.LG
收藏

基于大语言模型的Ad-hoc任务自适应交互式可视化提示工程

Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Models

IBM Research(IBM研究院);Brown University(布朗大学);Huggingface;Harvard SEAS(哈佛大学工程与应用科学学院);Cornell Tech(康奈尔科技校区)

Hendrik Strobelt, Albert Webson, Victor Sanh, Benjamin Hoover, Johanna Beyer, Hanspeter Pfister, Alexander M. Rush

摘要:

最先进的神经语言模型现在可以通过zero-shot提示来解决特定的语言任务,而无需监督训练。近年来,这种方法越来越流行,研究人员已经证明提示在特定的NLP任务上实现了很高的准确性。然而,找到新任务的提示需要实验。不同的提示模板,不同的措辞选择导致显着的准确性差异。PractIDE允许用户试验提示的变化,可视化提示的性能,并迭代地优化提示。我们开发了一个工作流程,允许用户首先专注于使用小数据的模型反馈,然后再转向大数据机制,该机制允许使用任务的定量测量对有希望的提示进行经验基础。然后,该工具允许轻松部署新创建的ad-hoc模型。我们使用几个真实的用例来演示ApplotIDE的实用程序(在http://prompt.vizhub.ai上演示)和我们的工作流程。

英文摘要:

State-of-the-art neural language models can now be used to solve ad-hoc language tasks through zero-shot prompting without the need for supervised training. This approach has gained popularity in recent years, and researchers have demonstrated prompts that achieve strong accuracy on specific NLP tasks. However, finding a prompt for new tasks requires experimentation. Different prompt templates with different wording choices lead to significant accuracy differences. PromptIDE allows users to experiment with prompt variations, visualize prompt performance, and iteratively optimize prompts. We developed a workflow that allows users to first focus on model feedback using small data before moving on to a large data regime that allows empirical grounding of promising prompts using quantitative measures of the task. The tool then allows easy deployment of the newly created ad-hoc models. We demonstrate the utility of PromptIDE (demo at http://prompt.vizhub.ai) and our workflow using several real-world use cases.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑