fix: Add missing requirements-distilled.txt for Dockerfile build
Browse files
syscred/requirements-distilled.txt
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SysCRED - Optimized Requirements with Distilled Models
|
| 2 |
+
# (c) Dominique S. Loyer
|
| 3 |
+
# Uses DISTILLED models for faster loading and lower memory
|
| 4 |
+
|
| 5 |
+
# === Core Dependencies ===
|
| 6 |
+
requests>=2.28.0
|
| 7 |
+
beautifulsoup4>=4.11.0
|
| 8 |
+
python-whois>=0.8.0
|
| 9 |
+
|
| 10 |
+
# === RDF/Ontology ===
|
| 11 |
+
rdflib>=6.0.0
|
| 12 |
+
|
| 13 |
+
# === Machine Learning (CPU-only) ===
|
| 14 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 15 |
+
torch>=2.0.0
|
| 16 |
+
transformers>=4.30.0
|
| 17 |
+
sentence-transformers>=2.2.0
|
| 18 |
+
|
| 19 |
+
# === Data ===
|
| 20 |
+
numpy>=1.24.0
|
| 21 |
+
pandas>=2.0.0
|
| 22 |
+
|
| 23 |
+
# === Explainability ===
|
| 24 |
+
lime>=0.2.0
|
| 25 |
+
|
| 26 |
+
# === NLP ===
|
| 27 |
+
spacy>=3.5.0
|
| 28 |
+
|
| 29 |
+
# === Web Backend ===
|
| 30 |
+
flask>=2.3.0
|
| 31 |
+
flask-cors>=4.0.0
|
| 32 |
+
python-dotenv>=1.0.0
|
| 33 |
+
gunicorn>=20.1.0
|
| 34 |
+
flask-sqlalchemy>=3.1.0
|
| 35 |
+
scikit-learn>=1.3.0
|
| 36 |
+
scipy>=1.11.0
|