Create requirements.txt
Browse files- requirements.txt +31 -0
requirements.txt
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# FastAPI and server
|
2 |
+
fastapi==0.104.1
|
3 |
+
uvicorn==0.24.0
|
4 |
+
python-multipart==0.0.6
|
5 |
+
|
6 |
+
# ML and NLP models
|
7 |
+
transformers==4.35.2
|
8 |
+
sentence-transformers==2.2.2
|
9 |
+
torch==2.1.1
|
10 |
+
|
11 |
+
# Text processing and embedding utilities
|
12 |
+
scikit-learn==1.3.2
|
13 |
+
numpy==1.24.4
|
14 |
+
|
15 |
+
# Data validation and API models
|
16 |
+
pydantic==2.5.0
|
17 |
+
|
18 |
+
# HTTP requests (for document downloading if needed)
|
19 |
+
requests==2.31.0
|
20 |
+
|
21 |
+
# PDF processing (if you move PDF extraction to HF Space later)
|
22 |
+
PyPDF2==3.0.1
|
23 |
+
|
24 |
+
# Additional text processing
|
25 |
+
nltk==3.8.1
|
26 |
+
|
27 |
+
# Optional: For better tokenization if needed
|
28 |
+
tokenizers==0.15.0
|
29 |
+
|
30 |
+
# Optional: For async processing
|
31 |
+
asyncio-mqtt==0.13.0
|