Update requirements.txt
Browse files- requirements.txt +28 -136
requirements.txt
CHANGED
@@ -1,136 +1,28 @@
|
|
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 |
-
fastapi==0.115.12
|
30 |
-
fastrlock==0.8.3
|
31 |
-
ffmpy==0.5.0
|
32 |
-
filelock==3.16.1
|
33 |
-
fonttools==4.57.0
|
34 |
-
frozenlist==1.5.0
|
35 |
-
fsspec==2024.9.0
|
36 |
-
gitdb==4.0.12
|
37 |
-
GitPython==3.1.44
|
38 |
-
gradio==4.44.1
|
39 |
-
gradio_client==1.3.0
|
40 |
-
h11==0.14.0
|
41 |
-
httpcore==1.0.8
|
42 |
-
httpx==0.28.1
|
43 |
-
huggingface-hub==0.30.2
|
44 |
-
idna==3.10
|
45 |
-
importlib_resources==6.4.5
|
46 |
-
Jinja2==3.1.6
|
47 |
-
joblib==1.4.2
|
48 |
-
jsonschema==4.23.0
|
49 |
-
jsonschema-specifications==2023.12.1
|
50 |
-
kiwisolver==1.4.7
|
51 |
-
langcodes==3.4.1
|
52 |
-
language_data==1.3.0
|
53 |
-
marisa-trie==1.2.1
|
54 |
-
markdown-it-py==3.0.0
|
55 |
-
MarkupSafe==2.1.5
|
56 |
-
matplotlib==3.7.5
|
57 |
-
mdurl==0.1.2
|
58 |
-
mpmath==1.3.0
|
59 |
-
multidict==6.1.0
|
60 |
-
multiprocess==0.70.16
|
61 |
-
murmurhash==1.0.12
|
62 |
-
narwhals==1.35.0
|
63 |
-
networkx==3.1
|
64 |
-
nltk==3.9.1
|
65 |
-
numpy==1.24.4
|
66 |
-
orjson==3.10.15
|
67 |
-
packaging==24.2
|
68 |
-
pandas==2.0.3
|
69 |
-
pathlib_abc==0.1.1
|
70 |
-
pathy==0.11.0
|
71 |
-
peft==0.13.2
|
72 |
-
pillow==10.2.0
|
73 |
-
pkgutil_resolve_name==1.3.10
|
74 |
-
preshed==3.0.9
|
75 |
-
propcache==0.2.0
|
76 |
-
protobuf==3.20.3
|
77 |
-
psutil==7.0.0
|
78 |
-
pyarrow==17.0.0
|
79 |
-
pydantic==1.10.21
|
80 |
-
pydantic_core==2.27.2
|
81 |
-
pydeck==0.9.1
|
82 |
-
pydub==0.25.1
|
83 |
-
Pygments==2.19.1
|
84 |
-
pyparsing==3.1.4
|
85 |
-
python-dateutil==2.9.0.post0
|
86 |
-
python-multipart==0.0.20
|
87 |
-
pytz==2025.2
|
88 |
-
PyYAML==6.0.2
|
89 |
-
referencing==0.35.1
|
90 |
-
regex==2024.11.6
|
91 |
-
requests==2.32.3
|
92 |
-
rich==13.9.4
|
93 |
-
rouge_score==0.1.2
|
94 |
-
rpds-py==0.20.1
|
95 |
-
ruff==0.11.6
|
96 |
-
safetensors==0.5.3
|
97 |
-
semantic-version==2.10.0
|
98 |
-
sentencepiece==0.2.0
|
99 |
-
shellingham==1.5.4
|
100 |
-
six==1.17.0
|
101 |
-
smart-open==6.4.0
|
102 |
-
smmap==5.0.2
|
103 |
-
sniffio==1.3.1
|
104 |
-
spacy==3.5.0
|
105 |
-
spacy-alignments==0.9.1
|
106 |
-
spacy-legacy==3.0.12
|
107 |
-
spacy-loggers==1.0.5
|
108 |
-
spacy-lookups-data==1.0.5
|
109 |
-
spacy-transformers==1.2.5
|
110 |
-
srsly==2.4.8
|
111 |
-
starlette==0.44.0
|
112 |
-
streamlit==1.40.1
|
113 |
-
sympy==1.13.3
|
114 |
-
tenacity==9.0.0
|
115 |
-
thinc==8.1.12
|
116 |
-
tokenizers==0.13.3
|
117 |
-
toml==0.10.2
|
118 |
-
tomlkit==0.12.0
|
119 |
-
torch==2.4.1
|
120 |
-
torchaudio==2.4.1
|
121 |
-
torchvision==0.19.1
|
122 |
-
tornado==6.4.2
|
123 |
-
tqdm==4.67.1
|
124 |
-
transformers==4.30.2
|
125 |
-
typer==0.7.0
|
126 |
-
typing_extensions==4.13.1
|
127 |
-
tzdata==2025.2
|
128 |
-
urllib3==2.2.3
|
129 |
-
uvicorn==0.33.0
|
130 |
-
wasabi==1.1.3
|
131 |
-
watchdog==4.0.2
|
132 |
-
websockets==12.0
|
133 |
-
xx-ent-wiki-sm @ https://github.com/explosion/spacy-models/releases/download/xx_ent_wiki_sm-3.5.0/xx_ent_wiki_sm-3.5.0-py3-none-any.whl#sha256=bf6fdee3e36c36d636f56cf68aa70c02eea43cfa779f4038bab8ce12acaa0715
|
134 |
-
xxhash==3.5.0
|
135 |
-
yarl==1.15.2
|
136 |
-
zipp==3.20.2
|
|
|
1 |
+
# requirements.txt
|
2 |
+
|
3 |
+
# Web App Framework
|
4 |
+
streamlit>=1.25.0
|
5 |
+
|
6 |
+
# Core ML/NLP
|
7 |
+
spacy==3.5.0 # <-- IMPORTANT: Use the exact spaCy version you trained NER model with!
|
8 |
+
transformers>=4.30.0
|
9 |
+
torch>=1.12.0 # Or tensorflow if that's your backend
|
10 |
+
sentencepiece>=0.1.90 # Needed for mT5 tokenizer
|
11 |
+
|
12 |
+
# Compatibility Fixes
|
13 |
+
protobuf==3.20.3 # Specific version to avoid T5 loading issues
|
14 |
+
|
15 |
+
# PEFT / Optimization
|
16 |
+
peft>=0.5.0 # Needed to load LoRA adapters
|
17 |
+
accelerate>=0.26.0 # Often required by Trainer/PEFT/newer Transformers
|
18 |
+
bitsandbytes # Required ONLY if fine-tuning used optim="adamw_bnb_8bit" (safe to include)
|
19 |
+
|
20 |
+
# Data Handling / Utils
|
21 |
+
pandas>=1.3.0 # Might be used by datasets/transformers implicitly, good to have
|
22 |
+
numpy>=1.20.0
|
23 |
+
nltk # Needed for potential text processing within evaluation metrics (safe include)
|
24 |
+
|
25 |
+
# Optional: GPU support for spaCy/Thinc via CuPy
|
26 |
+
# Install MANUALLY in deployment environment if needed & available, matching CUDA version
|
27 |
+
# cupy-cuda11x
|
28 |
+
# cupy-cuda12x
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|