forked from EleutherAI/elk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
42 lines (37 loc) · 1008 Bytes
/
pyproject.toml
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "elk"
description = "Keeping language models honest by directly eliciting knowledge encoded in their activations"
readme = "README.md"
requires-python = ">=3.9"
keywords = ["nlp", "interpretability", "language-models", "explainable-ai"]
license = {text = "MIT License"}
dependencies = [
"accelerate==0.16.0",
"datasets==2.8.0",
"einops==0.6.0",
"matplotlib==3.6.3",
"numpy==1.23.5",
"pandas==1.5.1",
"promptsource@git+https://github.com/NotodAI-Research/promptsource.git",
"protobuf==3.20.*",
"scikit-learn==1.2.0",
"sentencepiece==0.1.97",
"torch",
"tqdm==4.64.1",
"transformers==4.25.1",
]
version = "0.0.1"
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest",
]
[project.scripts]
elk = "elk.__main__:run"
[tool.setuptools]
packages = ["elk"]
[tool.pytest.ini_options]
markers = ["cpu: Marker for tests that do not depend on GPUs"]