Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.59 KB

File metadata and controls

35 lines (28 loc) · 1.59 KB

Are the Values of LLMs Structurally Aligned with Humans? A Causal Perspective

Welcome! This codebase accompanies the ACL2025 paper Are the Values of LLMs Structurally Aligned with Humans? A Causal Perspective and is based on SAELens.

1. Python Environment Setup

pip install -r requirements_vsa.txt

2. Directory Structure Setup

Set up the following directory structure outside the main project directory:

3. Execution Instructions

Generate Data

Run the following notebook to generate data with different role and SAE settings for all values:

tutorials/value_causal_graph.ipynb

Analyze Data

After generating the result CSV files, use the following notebook for data analysis by loading the CSV files:

tutorials/value_causal_graph_analysis.ipynb