ryanyen22 commited on
Commit
151e089
·
verified ·
1 Parent(s): ccaf187

Add setup.py

Browse files
Files changed (1) hide show
  1. setup.py +26 -0
setup.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name="sensitive-attribute-circuit-analysis",
5
+ version="0.1.0",
6
+ description="Mechanistic interpretability study: Do LLMs route through sensitive-attribute circuits that shift analytical choices?",
7
+ author="ryanyen22",
8
+ packages=find_packages(),
9
+ python_requires=">=3.9",
10
+ install_requires=[
11
+ "torch>=2.0.0",
12
+ "transformers>=4.40.0",
13
+ "accelerate>=0.27.0",
14
+ "bitsandbytes>=0.43.0",
15
+ "scikit-learn>=1.3.0",
16
+ "numpy>=1.24.0",
17
+ "matplotlib>=3.7.0",
18
+ "huggingface_hub>=0.20.0",
19
+ ],
20
+ extras_require={
21
+ "nnsight": ["nnsight>=0.3.0"],
22
+ "pyvene": ["pyvene>=0.1.0"],
23
+ "viz": ["circuitsvis>=1.0.0", "plotly>=5.0.0"],
24
+ "all": ["nnsight>=0.3.0", "pyvene>=0.1.0", "circuitsvis>=1.0.0"],
25
+ },
26
+ )