MatteoFasulo
commited on
Commit
•
f3b8813
1
Parent(s):
976b6b9
Added project deps
Browse files- pyproject.toml +31 -0
- requirements.txt +415 -0
pyproject.toml
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[project]
|
2 |
+
name = "sexism-detection"
|
3 |
+
version = "0.1.0"
|
4 |
+
description = "A sexism detection model using recurrent neural architectures and transformers."
|
5 |
+
readme = "README.md"
|
6 |
+
requires-python = ">=3.12"
|
7 |
+
dependencies = [
|
8 |
+
"datasets>=3.2.0",
|
9 |
+
"gensim>=4.3.3",
|
10 |
+
"gradio>=5.9.1",
|
11 |
+
"iprogress>=0.4",
|
12 |
+
"ipykernel>=6.29.5",
|
13 |
+
"ipywidgets>=8.1.5",
|
14 |
+
"matplotlib>=3.10.0",
|
15 |
+
"nltk>=3.9.1",
|
16 |
+
"numpy>=1.26.4",
|
17 |
+
"pandas>=2.2.3",
|
18 |
+
"pip>=24.3.1",
|
19 |
+
"requests>=2.32.3",
|
20 |
+
"scikit-learn>=1.6.0",
|
21 |
+
"torch>=2.5.1",
|
22 |
+
"torchaudio>=2.5.1",
|
23 |
+
"torchvision>=0.20.1",
|
24 |
+
"tqdm>=4.67.1",
|
25 |
+
"transformers[torch]>=4.47.1",
|
26 |
+
]
|
27 |
+
|
28 |
+
[[tool.uv.index]]
|
29 |
+
name = "pytorch-cu124"
|
30 |
+
url = "https://download.pytorch.org/whl/cu124"
|
31 |
+
explicit = true
|
requirements.txt
ADDED
@@ -0,0 +1,415 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file was autogenerated by uv via the following command:
|
2 |
+
# uv pip compile pyproject.toml -o requirements.txt
|
3 |
+
accelerate==1.2.1
|
4 |
+
# via transformers
|
5 |
+
aiofiles==23.2.1
|
6 |
+
# via gradio
|
7 |
+
aiohappyeyeballs==2.4.4
|
8 |
+
# via aiohttp
|
9 |
+
aiohttp==3.11.11
|
10 |
+
# via
|
11 |
+
# datasets
|
12 |
+
# fsspec
|
13 |
+
aiosignal==1.3.2
|
14 |
+
# via aiohttp
|
15 |
+
annotated-types==0.7.0
|
16 |
+
# via pydantic
|
17 |
+
anyio==4.7.0
|
18 |
+
# via
|
19 |
+
# gradio
|
20 |
+
# httpx
|
21 |
+
# starlette
|
22 |
+
asttokens==3.0.0
|
23 |
+
# via stack-data
|
24 |
+
attrs==24.3.0
|
25 |
+
# via aiohttp
|
26 |
+
certifi==2024.12.14
|
27 |
+
# via
|
28 |
+
# httpcore
|
29 |
+
# httpx
|
30 |
+
# requests
|
31 |
+
charset-normalizer==3.4.0
|
32 |
+
# via requests
|
33 |
+
click==8.1.8
|
34 |
+
# via
|
35 |
+
# nltk
|
36 |
+
# typer
|
37 |
+
# uvicorn
|
38 |
+
comm==0.2.2
|
39 |
+
# via
|
40 |
+
# ipykernel
|
41 |
+
# ipywidgets
|
42 |
+
contourpy==1.3.1
|
43 |
+
# via matplotlib
|
44 |
+
cycler==0.12.1
|
45 |
+
# via matplotlib
|
46 |
+
datasets==3.2.0
|
47 |
+
# via sexism-detection (pyproject.toml)
|
48 |
+
debugpy==1.8.11
|
49 |
+
# via ipykernel
|
50 |
+
decorator==5.1.1
|
51 |
+
# via ipython
|
52 |
+
dill==0.3.8
|
53 |
+
# via
|
54 |
+
# datasets
|
55 |
+
# multiprocess
|
56 |
+
executing==2.1.0
|
57 |
+
# via stack-data
|
58 |
+
fastapi==0.115.6
|
59 |
+
# via gradio
|
60 |
+
ffmpy==0.5.0
|
61 |
+
# via gradio
|
62 |
+
filelock==3.16.1
|
63 |
+
# via
|
64 |
+
# datasets
|
65 |
+
# huggingface-hub
|
66 |
+
# torch
|
67 |
+
# transformers
|
68 |
+
# triton
|
69 |
+
fonttools==4.55.3
|
70 |
+
# via matplotlib
|
71 |
+
frozenlist==1.5.0
|
72 |
+
# via
|
73 |
+
# aiohttp
|
74 |
+
# aiosignal
|
75 |
+
fsspec==2024.9.0
|
76 |
+
# via
|
77 |
+
# datasets
|
78 |
+
# gradio-client
|
79 |
+
# huggingface-hub
|
80 |
+
# torch
|
81 |
+
gensim==4.3.3
|
82 |
+
# via sexism-detection (pyproject.toml)
|
83 |
+
gradio==5.9.1
|
84 |
+
# via sexism-detection (pyproject.toml)
|
85 |
+
gradio-client==1.5.2
|
86 |
+
# via gradio
|
87 |
+
h11==0.14.0
|
88 |
+
# via
|
89 |
+
# httpcore
|
90 |
+
# uvicorn
|
91 |
+
httpcore==1.0.7
|
92 |
+
# via httpx
|
93 |
+
httpx==0.28.1
|
94 |
+
# via
|
95 |
+
# gradio
|
96 |
+
# gradio-client
|
97 |
+
# safehttpx
|
98 |
+
huggingface-hub==0.27.0
|
99 |
+
# via
|
100 |
+
# accelerate
|
101 |
+
# datasets
|
102 |
+
# gradio
|
103 |
+
# gradio-client
|
104 |
+
# tokenizers
|
105 |
+
# transformers
|
106 |
+
idna==3.10
|
107 |
+
# via
|
108 |
+
# anyio
|
109 |
+
# httpx
|
110 |
+
# requests
|
111 |
+
# yarl
|
112 |
+
iprogress==0.4
|
113 |
+
# via sexism-detection (pyproject.toml)
|
114 |
+
ipykernel==6.29.5
|
115 |
+
# via sexism-detection (pyproject.toml)
|
116 |
+
ipython==8.31.0
|
117 |
+
# via
|
118 |
+
# ipykernel
|
119 |
+
# ipywidgets
|
120 |
+
ipywidgets==8.1.5
|
121 |
+
# via sexism-detection (pyproject.toml)
|
122 |
+
jedi==0.19.2
|
123 |
+
# via ipython
|
124 |
+
jinja2==3.1.5
|
125 |
+
# via
|
126 |
+
# gradio
|
127 |
+
# torch
|
128 |
+
joblib==1.4.2
|
129 |
+
# via
|
130 |
+
# nltk
|
131 |
+
# scikit-learn
|
132 |
+
jupyter-client==8.6.3
|
133 |
+
# via ipykernel
|
134 |
+
jupyter-core==5.7.2
|
135 |
+
# via
|
136 |
+
# ipykernel
|
137 |
+
# jupyter-client
|
138 |
+
jupyterlab-widgets==3.0.13
|
139 |
+
# via ipywidgets
|
140 |
+
kiwisolver==1.4.7
|
141 |
+
# via matplotlib
|
142 |
+
markdown-it-py==3.0.0
|
143 |
+
# via rich
|
144 |
+
markupsafe==2.1.5
|
145 |
+
# via
|
146 |
+
# gradio
|
147 |
+
# jinja2
|
148 |
+
matplotlib==3.10.0
|
149 |
+
# via sexism-detection (pyproject.toml)
|
150 |
+
matplotlib-inline==0.1.7
|
151 |
+
# via
|
152 |
+
# ipykernel
|
153 |
+
# ipython
|
154 |
+
mdurl==0.1.2
|
155 |
+
# via markdown-it-py
|
156 |
+
mpmath==1.3.0
|
157 |
+
# via sympy
|
158 |
+
multidict==6.1.0
|
159 |
+
# via
|
160 |
+
# aiohttp
|
161 |
+
# yarl
|
162 |
+
multiprocess==0.70.16
|
163 |
+
# via datasets
|
164 |
+
nest-asyncio==1.6.0
|
165 |
+
# via ipykernel
|
166 |
+
networkx==3.4.2
|
167 |
+
# via torch
|
168 |
+
nltk==3.9.1
|
169 |
+
# via sexism-detection (pyproject.toml)
|
170 |
+
numpy==1.26.4
|
171 |
+
# via
|
172 |
+
# sexism-detection (pyproject.toml)
|
173 |
+
# accelerate
|
174 |
+
# contourpy
|
175 |
+
# datasets
|
176 |
+
# gensim
|
177 |
+
# gradio
|
178 |
+
# matplotlib
|
179 |
+
# pandas
|
180 |
+
# scikit-learn
|
181 |
+
# scipy
|
182 |
+
# torchvision
|
183 |
+
# transformers
|
184 |
+
nvidia-cublas-cu12==12.4.5.8
|
185 |
+
# via
|
186 |
+
# nvidia-cudnn-cu12
|
187 |
+
# nvidia-cusolver-cu12
|
188 |
+
# torch
|
189 |
+
nvidia-cuda-cupti-cu12==12.4.127
|
190 |
+
# via torch
|
191 |
+
nvidia-cuda-nvrtc-cu12==12.4.127
|
192 |
+
# via torch
|
193 |
+
nvidia-cuda-runtime-cu12==12.4.127
|
194 |
+
# via torch
|
195 |
+
nvidia-cudnn-cu12==9.1.0.70
|
196 |
+
# via torch
|
197 |
+
nvidia-cufft-cu12==11.2.1.3
|
198 |
+
# via torch
|
199 |
+
nvidia-curand-cu12==10.3.5.147
|
200 |
+
# via torch
|
201 |
+
nvidia-cusolver-cu12==11.6.1.9
|
202 |
+
# via torch
|
203 |
+
nvidia-cusparse-cu12==12.3.1.170
|
204 |
+
# via
|
205 |
+
# nvidia-cusolver-cu12
|
206 |
+
# torch
|
207 |
+
nvidia-nccl-cu12==2.21.5
|
208 |
+
# via torch
|
209 |
+
nvidia-nvjitlink-cu12==12.4.127
|
210 |
+
# via
|
211 |
+
# nvidia-cusolver-cu12
|
212 |
+
# nvidia-cusparse-cu12
|
213 |
+
# torch
|
214 |
+
nvidia-nvtx-cu12==12.4.127
|
215 |
+
# via torch
|
216 |
+
orjson==3.10.12
|
217 |
+
# via gradio
|
218 |
+
packaging==24.2
|
219 |
+
# via
|
220 |
+
# accelerate
|
221 |
+
# datasets
|
222 |
+
# gradio
|
223 |
+
# gradio-client
|
224 |
+
# huggingface-hub
|
225 |
+
# ipykernel
|
226 |
+
# matplotlib
|
227 |
+
# transformers
|
228 |
+
pandas==2.2.3
|
229 |
+
# via
|
230 |
+
# sexism-detection (pyproject.toml)
|
231 |
+
# datasets
|
232 |
+
# gradio
|
233 |
+
parso==0.8.4
|
234 |
+
# via jedi
|
235 |
+
pexpect==4.9.0
|
236 |
+
# via ipython
|
237 |
+
pillow==11.0.0
|
238 |
+
# via
|
239 |
+
# gradio
|
240 |
+
# matplotlib
|
241 |
+
# torchvision
|
242 |
+
pip==24.3.1
|
243 |
+
# via sexism-detection (pyproject.toml)
|
244 |
+
platformdirs==4.3.6
|
245 |
+
# via jupyter-core
|
246 |
+
prompt-toolkit==3.0.48
|
247 |
+
# via ipython
|
248 |
+
propcache==0.2.1
|
249 |
+
# via
|
250 |
+
# aiohttp
|
251 |
+
# yarl
|
252 |
+
psutil==6.1.1
|
253 |
+
# via
|
254 |
+
# accelerate
|
255 |
+
# ipykernel
|
256 |
+
ptyprocess==0.7.0
|
257 |
+
# via pexpect
|
258 |
+
pure-eval==0.2.3
|
259 |
+
# via stack-data
|
260 |
+
pyarrow==18.1.0
|
261 |
+
# via datasets
|
262 |
+
pydantic==2.10.4
|
263 |
+
# via
|
264 |
+
# fastapi
|
265 |
+
# gradio
|
266 |
+
pydantic-core==2.27.2
|
267 |
+
# via pydantic
|
268 |
+
pydub==0.25.1
|
269 |
+
# via gradio
|
270 |
+
pygments==2.18.0
|
271 |
+
# via
|
272 |
+
# ipython
|
273 |
+
# rich
|
274 |
+
pyparsing==3.2.0
|
275 |
+
# via matplotlib
|
276 |
+
python-dateutil==2.9.0.post0
|
277 |
+
# via
|
278 |
+
# jupyter-client
|
279 |
+
# matplotlib
|
280 |
+
# pandas
|
281 |
+
python-multipart==0.0.20
|
282 |
+
# via gradio
|
283 |
+
pytz==2024.2
|
284 |
+
# via pandas
|
285 |
+
pyyaml==6.0.2
|
286 |
+
# via
|
287 |
+
# accelerate
|
288 |
+
# datasets
|
289 |
+
# gradio
|
290 |
+
# huggingface-hub
|
291 |
+
# transformers
|
292 |
+
pyzmq==26.2.0
|
293 |
+
# via
|
294 |
+
# ipykernel
|
295 |
+
# jupyter-client
|
296 |
+
regex==2024.11.6
|
297 |
+
# via
|
298 |
+
# nltk
|
299 |
+
# transformers
|
300 |
+
requests==2.32.3
|
301 |
+
# via
|
302 |
+
# sexism-detection (pyproject.toml)
|
303 |
+
# datasets
|
304 |
+
# huggingface-hub
|
305 |
+
# transformers
|
306 |
+
rich==13.9.4
|
307 |
+
# via typer
|
308 |
+
ruff==0.8.4
|
309 |
+
# via gradio
|
310 |
+
safehttpx==0.1.6
|
311 |
+
# via gradio
|
312 |
+
safetensors==0.4.5
|
313 |
+
# via
|
314 |
+
# accelerate
|
315 |
+
# transformers
|
316 |
+
scikit-learn==1.6.0
|
317 |
+
# via sexism-detection (pyproject.toml)
|
318 |
+
scipy==1.13.1
|
319 |
+
# via
|
320 |
+
# gensim
|
321 |
+
# scikit-learn
|
322 |
+
semantic-version==2.10.0
|
323 |
+
# via gradio
|
324 |
+
setuptools==75.6.0
|
325 |
+
# via torch
|
326 |
+
shellingham==1.5.4
|
327 |
+
# via typer
|
328 |
+
six==1.17.0
|
329 |
+
# via
|
330 |
+
# iprogress
|
331 |
+
# python-dateutil
|
332 |
+
smart-open==7.1.0
|
333 |
+
# via gensim
|
334 |
+
sniffio==1.3.1
|
335 |
+
# via anyio
|
336 |
+
stack-data==0.6.3
|
337 |
+
# via ipython
|
338 |
+
starlette==0.41.3
|
339 |
+
# via
|
340 |
+
# fastapi
|
341 |
+
# gradio
|
342 |
+
sympy==1.13.1
|
343 |
+
# via torch
|
344 |
+
threadpoolctl==3.5.0
|
345 |
+
# via scikit-learn
|
346 |
+
tokenizers==0.21.0
|
347 |
+
# via transformers
|
348 |
+
tomlkit==0.13.2
|
349 |
+
# via gradio
|
350 |
+
torch==2.5.1
|
351 |
+
# via
|
352 |
+
# sexism-detection (pyproject.toml)
|
353 |
+
# accelerate
|
354 |
+
# torchaudio
|
355 |
+
# torchvision
|
356 |
+
# transformers
|
357 |
+
torchaudio==2.5.1
|
358 |
+
# via sexism-detection (pyproject.toml)
|
359 |
+
torchvision==0.20.1
|
360 |
+
# via sexism-detection (pyproject.toml)
|
361 |
+
tornado==6.4.2
|
362 |
+
# via
|
363 |
+
# ipykernel
|
364 |
+
# jupyter-client
|
365 |
+
tqdm==4.67.1
|
366 |
+
# via
|
367 |
+
# sexism-detection (pyproject.toml)
|
368 |
+
# datasets
|
369 |
+
# huggingface-hub
|
370 |
+
# nltk
|
371 |
+
# transformers
|
372 |
+
traitlets==5.14.3
|
373 |
+
# via
|
374 |
+
# comm
|
375 |
+
# ipykernel
|
376 |
+
# ipython
|
377 |
+
# ipywidgets
|
378 |
+
# jupyter-client
|
379 |
+
# jupyter-core
|
380 |
+
# matplotlib-inline
|
381 |
+
transformers==4.47.1
|
382 |
+
# via sexism-detection (pyproject.toml)
|
383 |
+
triton==3.1.0
|
384 |
+
# via torch
|
385 |
+
typer==0.15.1
|
386 |
+
# via gradio
|
387 |
+
typing-extensions==4.12.2
|
388 |
+
# via
|
389 |
+
# anyio
|
390 |
+
# fastapi
|
391 |
+
# gradio
|
392 |
+
# gradio-client
|
393 |
+
# huggingface-hub
|
394 |
+
# pydantic
|
395 |
+
# pydantic-core
|
396 |
+
# torch
|
397 |
+
# typer
|
398 |
+
tzdata==2024.2
|
399 |
+
# via pandas
|
400 |
+
urllib3==2.3.0
|
401 |
+
# via requests
|
402 |
+
uvicorn==0.34.0
|
403 |
+
# via gradio
|
404 |
+
wcwidth==0.2.13
|
405 |
+
# via prompt-toolkit
|
406 |
+
websockets==14.1
|
407 |
+
# via gradio-client
|
408 |
+
widgetsnbextension==4.0.13
|
409 |
+
# via ipywidgets
|
410 |
+
wrapt==1.17.0
|
411 |
+
# via smart-open
|
412 |
+
xxhash==3.5.0
|
413 |
+
# via datasets
|
414 |
+
yarl==1.18.3
|
415 |
+
# via aiohttp
|