Spaces:
Running
Running
fix: pin package versions to avoid starlette 1.x/websockets 16/transformers 5.x breaking changes
Browse files- requirements.txt +24 -13
requirements.txt
CHANGED
|
@@ -1,23 +1,34 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
jupyter
|
| 10 |
notebook
|
| 11 |
pyyaml
|
| 12 |
tqdm
|
|
|
|
|
|
|
| 13 |
nltk
|
| 14 |
sumy
|
| 15 |
networkx
|
| 16 |
rouge-score
|
| 17 |
evaluate
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
kaggle
|
|
|
|
| 1 |
+
# Core ML
|
| 2 |
+
torch==2.2.0
|
| 3 |
+
transformers==4.44.2
|
| 4 |
+
sentencepiece==0.2.0
|
| 5 |
+
accelerate==0.33.0
|
| 6 |
+
|
| 7 |
+
# Data
|
| 8 |
+
pandas==2.2.2
|
| 9 |
+
numpy==1.26.4
|
| 10 |
+
scikit-learn==1.5.1
|
| 11 |
+
matplotlib==3.9.2
|
| 12 |
+
|
| 13 |
+
# Jupyter (for notebooks only, safe to keep)
|
| 14 |
jupyter
|
| 15 |
notebook
|
| 16 |
pyyaml
|
| 17 |
tqdm
|
| 18 |
+
|
| 19 |
+
# NLP utilities
|
| 20 |
nltk
|
| 21 |
sumy
|
| 22 |
networkx
|
| 23 |
rouge-score
|
| 24 |
evaluate
|
| 25 |
+
|
| 26 |
+
# Web framework - pinned to avoid starlette 1.x breaking changes
|
| 27 |
+
fastapi==0.115.5
|
| 28 |
+
uvicorn[standard]==0.32.1
|
| 29 |
+
pydantic==2.9.2
|
| 30 |
+
python-multipart==0.0.12
|
| 31 |
+
requests==2.32.3
|
| 32 |
+
|
| 33 |
+
# Data download
|
| 34 |
kaggle
|