mmarius / pet

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

Home Page:https://arxiv.org/abs/2103.08493

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?"

https://arxiv.org/abs/2103.08493

License:Apache License 2.0


Languages

Language:Python 98.9%Language:Shell 1.1%