Skip to content
forked from timoschick/pet

This repository contains the code for "How many data points is a prompt worth?"

License

Notifications You must be signed in to change notification settings

TevenLeScao/pet

 
 

Repository files navigation

How many data points is a prompt worth?

This is companion code for our NAACL 2021 paper, "How many data points is a prompt worth?". Check out our interactive blog post and paper for more details.

You should place your MNLI/SuperGLUE data in data in folders named after each task. For SuperGLUE data, run python superglue_data_splitting first in order to have a dev/test split.

You may run a prompted experiment with .scripts/sequential_pvps.sh and a head experiment with .scripts/sequential_supervised.sh. Modify those scripts to change the SuperGLUE task you wish to train on.

Originally forked from https://github.com/timoschick/pet.

About

This repository contains the code for "How many data points is a prompt worth?"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Shell 1.1%