Skip to content

david-jenny/LLM-Political-Study

Repository files navigation

LLM-Political-Study

This repository contains the data and code used in our research paper: "Navigating the Ocean of Biases: Political Bias Attribution in Language Models via Causal Structures". The study delves into the biases present in language models, particularly focusing on political biases, and employs causal structures to attribute and understand these biases. While this repository does not provide any readily usable tools, it allows using our dataset and reproducing or building on our results. Due to the size of the large dataset, we uploaded them to our GitLab.

Getting Started

Prerequisites

  • Python 3.x
  • OpenAI API key for accessing GPT models

Installation

Clone the repository and install the required Python packages:

git clone [repository URL]
cd [repository directory]
pip install -r requirements.txt

Usage

Dataset Exploration

Generating New Data

Input Dataset

Contributing

We welcome contributions to improve the dataset and tools. Please feel free to fork the repository and submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published