-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
45 lines (45 loc) · 1.08 KB
/
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
43
44
45
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
target-version = "py39"
line-length = 119
output-format = "github"
[project]
name = "jailbreakeval"
version = "0.0.1"
authors = [{ name = "Delong Ran", email = "[email protected]" }]
description = "A collection of automated evaluators for assessing jailbreak attempts"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"openai>=1.0.0",
"google-api-python-client",
"scikit-learn",
"PyYAML",
"click",
"pandas",
"numpy",
"tqdm",
"jinja2",
"transformers>=4.38.0",
"torch",
"accelerate",
"sentencepiece",
"prettytable"
]
[project.optional-dependencies]
test = ["pytest","pytest-cov"]
[project.scripts]
JailbreakEval = "jailbreakeval.commands.main:main"
[project.urls]
Homepage = "https://github.com/ThuCCSLab/JailbreakEval"
Issues = "https://github.com/ThuCCSLab/JailbreakEval/issues"
[tool.hatch.build]
include = [
"/jailbreakeval",
]