Skip to content

Sachin19/generative-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code for generative prompting

Requirements

Create a conda environment with all the dependencies using

conda env create -n genprompt --file ENV.yml

Activate the conda environment: conda activate genprompt

Reproducing results for SST2

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/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published