Spaces:
Sleeping
Sleeping
Upload requirements.txt
Browse files- requirements.txt +34 -22
requirements.txt
CHANGED
|
@@ -1,22 +1,34 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
#
|
| 16 |
-
# pip
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
#
|
| 20 |
-
#
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PolyBloom ML Service v17.0.0 — Hugging Face Space dependencies
|
| 2 |
+
# Pin minor versions for reproducibility; patch versions left loose.
|
| 3 |
+
|
| 4 |
+
# ── API framework ─────────────────────────────────────────────────────────────
|
| 5 |
+
fastapi==0.115.*
|
| 6 |
+
uvicorn[standard]==0.30.*
|
| 7 |
+
|
| 8 |
+
# ── Numerics ──────────────────────────────────────────────────────────────────
|
| 9 |
+
numpy>=1.26,<2.0
|
| 10 |
+
|
| 11 |
+
# ── Trained classifiers (XGBoost + LightGBM) ─────────────────────────────────
|
| 12 |
+
xgboost>=2.0,<3.0
|
| 13 |
+
lightgbm>=4.3,<5.0
|
| 14 |
+
|
| 15 |
+
# ── Chronos (Amazon T5 zero-shot forecasting) ─────────────────────────────────
|
| 16 |
+
# Using the pip package; pulls transformers + torch automatically.
|
| 17 |
+
chronos-forecasting>=1.3,<2.0
|
| 18 |
+
|
| 19 |
+
# ── MOIRAI (Salesforce probabilistic forecasting) ────────────────────────────
|
| 20 |
+
# uni2ts is available on PyPI; moirai weights downloaded at runtime via HF hub.
|
| 21 |
+
uni2ts>=0.1,<1.0
|
| 22 |
+
|
| 23 |
+
# ── MOMENT (CMU T5 foundation model) ─────────────────────────────────────────
|
| 24 |
+
momentfm>=0.1,<1.0
|
| 25 |
+
|
| 26 |
+
# ── Shared transformer dependencies ───────────────────────────────────────────
|
| 27 |
+
torch>=2.2,<3.0
|
| 28 |
+
transformers>=4.40,<5.0
|
| 29 |
+
huggingface-hub>=0.22,<1.0
|
| 30 |
+
|
| 31 |
+
# ── Utilities ─────────────────────────────────────────────────────────────────
|
| 32 |
+
scikit-learn>=1.4,<2.0 # for bootstrap label encoding / train-test helpers
|
| 33 |
+
einops>=0.7,<1.0 # required by MOIRAI tensor rearranging
|
| 34 |
+
python-multipart>=0.0.9 # FastAPI file uploads (unused but HF space needs it)
|