Evaluating Prompts Across Multiple Choice Tasks In a Zero-Shot Setting

Gabriel Orlanski
3/29/2022
cs.CLcs.AIcs.LG

Official code: gabeorlanski/zero-shot-cross-task (1 star, Python, Apache-2.0, last commit 2022-03-30).

Abstract

Large language models have shown that impressive zero-shot performance can be achieved through natural language prompts (Radford et al., 2019; Brown et al., 2020; Sanh et al., 2021). Creating an effective prompt, however, requires significant trial and error.

Show full abstract

That \textit{prompts} the question: how do the qualities of a prompt effects its performance? To this end, we collect and standardize prompts from a diverse range of tasks for use with tasks they were not designed for. We then evaluate these prompts across fixed multiple choice datasets for a quantitative analysis of how certain attributes of a prompt affect performance. We find that including the choices and using prompts not used during pre-training provide significant improvements. All experiments and code can be found https://github.com/gabeorlanski/zero-shot-cross-task.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Course Project for CSCI-GA:2590 Natural Language Processing. Looked at cross-task zero-shot performance of prompts across a wide range of tasks.

10Python, Jupyter NotebookOct 24, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{orlanski2022evaluating,
  title  = {Evaluating Prompts Across Multiple Choice Tasks In a Zero-Shot Setting},
  author = {Gabriel Orlanski},
  year   = {2022},
  eprint = {2203.15754},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.15754}
}

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

Discussion