Sachin19/generative-classification

1

stars

34

commits

Python

primary language

Jul 24, 2024

updated

README

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

Contributors

Sachin19

25 commits

harisethuram

9 commits

Sachin19/generative-classification

1

stars

34

commits

Python

primary language

Jul 24, 2024

updated

README

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

Contributors

Sachin19

25 commits

harisethuram

9 commits

Languages

Python

82.0%

Shell

18.0%