aagamjtdev commited on
Commit
a64a4fd
·
1 Parent(s): f1d3547

requirements

Browse files
Files changed (1) hide show
  1. requirements.txt +21 -0
requirements.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CPU-only PyTorch (CRITICAL: Must be first with --extra-index-url)
2
+ --extra-index-url https://download.pytorch.org/whl/cpu
3
+ torch==2.1.0
4
+ torchvision==0.16.0
5
+
6
+ # Core ML/NLP Dependencies
7
+ numpy<2.0.0 # <--- CRITICAL FIX: To avoid 2.x incompatibility
8
+ transformers==4.38.2
9
+ TorchCRF>=1.0.0
10
+ scipy>=1.11.4 # <--- Recommended addition for stability
11
+
12
+
13
+
14
+ # Gradio
15
+ gradio>=4.0.0
16
+
17
+ # Hugging Face Hub (for model downloading)
18
+ huggingface-hub>=0.19.0
19
+
20
+ # Utilities
21
+ tqdm>=4.66.0