-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (65 loc) · 1.38 KB
/
pyproject.toml
File metadata and controls
75 lines (65 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "prompt-mining"
version = "0.1.0"
description = "Activation Capture and Mechanistic Interpretability Platform"
readme = "README.md"
requires-python = ">=3.9"
authors = [
{name = "Max Fomin"}
]
dependencies = [
"torch>=2.8.0",
"numpy>=1.24.0",
"pandas>=2.0.0",
"polars>=0.18.0",
"zarr>=2.16.0",
"pyarrow>=12.0.0",
"scikit-learn>=1.3.0",
"transformers>=4.57.3",
"transformer-lens>=2.16.1",
"sae-lens>=6.22.3",
"matplotlib>=3.7.0",
"tqdm>=4.65.0",
"pyyaml>=6.0",
"python-dotenv>=1.0.0",
"rich>=14.2.0",
"xgboost>=3.1.2",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.4.0",
]
s3 = [
"fsspec>=2023.6.0",
"s3fs>=2023.6.0",
"boto3>=1.28.0",
]
circuit-tracer = [
"circuit-tracer",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["prompt_mining*"]
[tool.pytest.ini_options]
testpaths = ["test"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.black]
line-length = 100
target-version = ['py39']
[tool.isort]
profile = "black"
line_length = 100
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false