forked from Pyasapanchi/verbalized-sampling
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (93 loc) · 2.27 KB
/
pyproject.toml
File metadata and controls
101 lines (93 loc) · 2.27 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "verbalized-sampling"
version = "0.1.3"
description = "A library for running controlled experiments with LLMs using different sampling methods"
readme = "README.md"
requires-python = ">=3.8"
license = { text = "Apache-2.0" }
authors = [
{ name = "Simon Yu", email = "yu.chi@northeastern.edu" },
{ name = "Jiayi Zhang", email = "zhang.jiayi12@northeastern.edu" },
{ name = "Derek Chong", email = "cderekch@stanford.edu" },
{ name = "Weiyan Shi", email = "we.shi@northeastern.edu" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"openrouter",
"matplotlib",
"numpy>=1.24,<2.0.0",
"scipy>=1.10.0",
"tqdm>=4.65.0",
"openai",
"nltk",
"unidecode",
"sacremoses",
"seaborn",
"scikit-learn",
"litellm",
"google-genai",
"datasets",
"torch",
"transformers"
]
[project.optional-dependencies]
gpu = [
"vllm>=0.8.0",
]
dev = [
"pytest>=7.0",
"black>=23.0",
"isort>=5.0",
"mypy>=1.0",
"ruff>=0.1.0",
"sphinx>=7.0",
"sphinx-rtd-theme>=1.0",
"sphinx-autodoc-typehints>=1.0",
"myst-parser>=2.0",
]
[project.scripts]
verbalize = "verbalized_sampling.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["verbalized_sampling"]
exclude = [
"ablation_data/**",
"generated_data/**",
"results/**",
"plots/**",
"submission_paper/**",
"persuasion_simulation/log/**",
"ICLR 2026 Verbalized Sampling.zip",
]
[tool.black]
line-length = 100
target-version = ["py38"]
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[tool.ruff]
line-length = 100
target-version = "py38"
select = ["E", "F", "B", "I"]
ignore = []