Spaces:
Runtime error
Runtime error
Upload requirements.txt with huggingface_hub
Browse files- requirements.txt +15 -0
requirements.txt
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NeuroScope — Neural Network Activation Visualizer
|
| 2 |
+
# Core dependencies (demo mode)
|
| 3 |
+
numpy>=1.24.0,<2.0
|
| 4 |
+
plotly>=5.18.0,<6.0
|
| 5 |
+
gradio>=5.0.0,<6.0
|
| 6 |
+
|
| 7 |
+
# Model inference (optional — only needed with --model flag)
|
| 8 |
+
torch>=2.1.0
|
| 9 |
+
transformers>=4.48.0
|
| 10 |
+
accelerate>=0.25.0
|
| 11 |
+
bitsandbytes>=0.42.0 # 4-bit quantization
|
| 12 |
+
sentencepiece>=0.1.99 # Qwen tokenizer
|
| 13 |
+
|
| 14 |
+
# Optional: UMAP for scatter plot (PCA fallback is built-in)
|
| 15 |
+
# umap-learn>=0.5.4
|