Create a conda environment with all the dependencies using
conda env create -n genprompt --file ENV.yml
Activate the conda environment: conda activate genprompt
This script runs the code for discriminative and generative prompting in all the settings for the sst2 dataset for all the models I experimented with. Look at run/sst2.sh to modify the code to run it only on gpt-j-6b
.
bash run/misc/sst2.sh
This file will create various plots under results/0923/
.