Nivas007 commited on
Commit
367d06e
·
verified ·
1 Parent(s): 029a892

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +28 -136
requirements.txt CHANGED
@@ -1,136 +1,28 @@
1
- accelerate==1.0.1
2
- aiofiles==23.2.1
3
- aiohappyeyeballs==2.4.4
4
- aiohttp==3.10.11
5
- aiosignal==1.3.1
6
- altair==5.4.1
7
- annotated-types==0.7.0
8
- anyio==4.5.2
9
- async-timeout==5.0.1
10
- attrs==25.3.0
11
- bitsandbytes==0.45.5
12
- blinker==1.8.2
13
- blis==0.7.11
14
- cachetools==5.5.2
15
- catalogue==2.0.10
16
- certifi==2025.1.31
17
- charset-normalizer==3.4.1
18
- click==8.1.8
19
- colorama==0.4.6
20
- confection==0.1.5
21
- contourpy==1.1.1
22
- cupy-cuda12x==12.3.0
23
- cycler==0.12.1
24
- cymem==2.0.11
25
- datasets==3.1.0
26
- dill==0.3.8
27
- evaluate==0.4.3
28
- exceptiongroup==1.2.2
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