-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
179 lines (171 loc) 路 4.17 KB
/
Copy pathpyproject.toml
File metadata and controls
179 lines (171 loc) 路 4.17 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
[build-system]
requires = ["flit_core >=3.11,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "garak"
version = "0.13.2.pre1"
authors = [
{ name = "Leon Derczynski", email="lderczynski@nvidia.com" },
{ name = "Subho Majumdar", email="subho@vijil.ai" },
{ name = "nv052193" },
{ name = "Mads Kongsbak" },
{ name = "Erick Galinkin", email="egalinkin@nvidia.com" },
{ name = "Tianhao Li" },
{ name = "Phyllis Poh" },
{ name = "Razvan Dinu" },
{ name = "Zander Mackie" },
{ name = "Greg Stephens" },
{ name = "Jeffrey Martin", email="jemartin@nvidia.com" },
{ name = "Ahsan Ayub" },
{ name = "Jonathan Liberman" },
{ name = "Gustav Fredrikson" },
{ name = "Oh Tien Cheng" },
{ name = "Brain John" },
{ name = "Naman Mishra" },
{ name = "Soumili Nandi" },
{ name = "Arjun Krishna" },
{ name = "Mihailo Milenkovic" },
{ name = "Kai Greshake" },
{ name = "Martin Borup-Larsen" },
{ name = "Emmanuel Ferdman" },
{ name = "Eric Therond" },
{ name = "Zoe Nolan" },
{ name = "Harsh Raj" },
{ name = "Shine-afk" },
{ name = "Rafael Sandroni" },
{ name = "Eric Hacker" },
{ name = "Blessed Uyo" },
{ name = "Ikko Eltociear Ashimine" },
{ name = "iamnotcj" },
{ name = "Dwight Temple" },
{ name = "Shane Rosse" },
{ name = "Masaya Ogushi" },
{ name = "Viktor T. Zetterberg" },
{ name = "Erwan Roussel" },
{ name = "Matthew Rowe" },
{ name = "Aishwarya Padmakumar" },
{ name = "Marco Rosa" },
{ name = "Ian Chu" },
{ name = "Mike McKiernan" },
{ name = "Divya Chitimalla" },
{ name = "Katherine Luna" },
{ name = "Dave Baker" },
{ name = "Jack Kelly" },
{ name = "Amrit Prakash" },
{ name = "C谩ssia Sampaio" },
{ name = "Nakul Rajpal" },
{ name = "Noah Oeksuez" },
{ name = "Dhruv Malik" },
{ name = "Patricia Pampanelli" },
{ name = "Joseph Davis Chamdani" },
]
license = "Apache-2.0"
license-files = ["LICENSE"]
description = "LLM vulnerability scanner"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dependencies = [
"base2048>=0.1.3",
"transformers>=4.51.3",
"datasets>=3.0.0,<4.0",
"colorama>=0.4.3",
"tqdm>=4.67.1",
"cohere>=5.16.0",
"openai>=1.45.0,<2",
"replicate>=0.8.3",
"google-api-python-client>=2.0",
"backoff>=2.1.1",
"rapidfuzz>=3.0.0",
"jinja2>=3.1.6",
"nltk>=3.9.1",
"accelerate>=0.23.0",
"avidtools==0.1.2",
"stdlibs>=2022.10.9",
"langchain>=0.3.25",
"nemollm>=0.3.0",
"cmd2==2.4.3",
"torch>=2.6.0",
"sentencepiece>=0.1.99",
"markdown>=3.4.3",
"numpy>=2.0.0",
"zalgolib>=0.2.2",
"ecoji>=0.1.1",
"deepl==1.17.0",
"fschat>=0.2.36",
"litellm>=1.68.1",
"jsonpath-ng>=1.6.1",
"huggingface_hub>=0.21.0",
'python-magic-bin>=0.4.14; sys_platform == "win32"',
'python-magic>=0.4.21; sys_platform != "win32"',
"lorem==0.1.1",
"xdg-base-dirs>=6.0.1",
"wn==0.9.5",
"ollama>=0.4.7",
"nvidia-riva-client==2.16.0",
"google-cloud-translate>=2.0.4",
"grpcio-tools>=1.71.0",
"langdetect==1.0.9",
"tiktoken>=0.7.0",
"mistralai==1.5.2",
"pillow>=10.4.0",
"ftfy>=6.3.1",
]
[project.optional-dependencies]
tests = [
"pytest>=8.0",
"pytest-mock>=3.14.0",
"requests-mock==1.12.1",
"respx>=0.21.1",
"pytest-cov>=5.0.0",
"pytest_httpserver>=1.1.0",
"langcodes>=3.4.0",
]
lint = [
"black==24.4.2",
"pylint>=3.1.0",
]
calibration = [
"scipy>=1.14.0",
]
audio = [
"soundfile>=0.13.1",
"librosa>=0.10.2"
]
dra = [
"detoxify>=0.5.0"
]
[project.urls]
"Homepage" = "https://github.com/NVIDIA/garak"
"Bug Tracker" = "https://github.com/NVIDIA/garak/issues"
[project.scripts]
garak = "garak.__main__:main"
[tool.flit.module]
name = "garak"
[tool.flit.sdist]
include = [
"*.md",
"*.txt",
"garak/analyze/templates/*",
"garak/configs/*",
"garak/resources/*.json",
"garak/resources/*.yaml",
]
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
[tool.pytest.ini_options]
filterwarnings = [
"ignore",
"default:::garak",
]
[tool.coverage.run]
source = ["./garak"]
omit = ["tests/*"]