Skip to content

danyoungday/6998latentbias

Repository files navigation

6998latentbias

This is my (Daniel Young's) project for COMS E6998 002 Natural Language Generation and Summarization. It is exploring underlying biases in large language models via. Contrast Consistent Search.

Method

  1. Hidden states are generated via. LLM in hs.ipynb
  2. CCS model and logistic regression models are trained on hidden states in train.ipynb
  3. Perplexities can be generated using msp.ipynb
  4. Cross-result analysis can be done with analysis.ipynb

Results

  • Results are saved in structure <Bias Type>/<Model Name>
  • Hidden states from hs.ipynb are stored in saved/
  • Results for CCS and perplexity analysis from train.ipynb and msp.ipynb are stored in results/crowspairs and results/msp & results/perp

Data

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published