Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +17 -18
requirements.txt
CHANGED
@@ -1,27 +1,26 @@
|
|
1 |
-
#
|
2 |
-
streamlit==1.
|
3 |
pandas==2.0.3
|
4 |
plotly==5.15.0
|
5 |
python-dateutil==2.8.2
|
6 |
-
numpy
|
7 |
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
-
#
|
10 |
-
|
11 |
-
|
12 |
-
accelerate>=0.29.0
|
13 |
-
safetensors
|
14 |
|
15 |
-
|
16 |
-
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
python-dotenv==1.0.0
|
22 |
|
23 |
-
|
24 |
-
torch
|
25 |
-
faiss-cpu
|
26 |
-
sentence-transformers
|
27 |
modelcontextprotocol>=1.12.4
|
|
|
1 |
+
# --- UI / 基礎 ---
|
2 |
+
streamlit==1.32.2
|
3 |
pandas==2.0.3
|
4 |
plotly==5.15.0
|
5 |
python-dateutil==2.8.2
|
6 |
+
numpy>=1.24,<2.0
|
7 |
|
8 |
+
# --- HF / LLM 基礎 ---
|
9 |
+
transformers>=4.41.0,<4.45
|
10 |
+
accelerate>=0.29.0,<0.35
|
11 |
+
safetensors>=0.4.3
|
12 |
+
huggingface-hub>=0.23.0
|
13 |
|
14 |
+
# --- Embedding / 向量檢索 ---
|
15 |
+
sentence-transformers==2.6.1
|
16 |
+
faiss-cpu==1.8.0.post1
|
|
|
|
|
17 |
|
18 |
+
# --- Runtime(CPU wheel,HF Spaces 可直接裝) ---
|
19 |
+
torch==2.2.2
|
20 |
|
21 |
+
# --- 文字處理 / 小工具 ---
|
22 |
+
tiktoken==0.7.0
|
23 |
+
python-dotenv==1.0.1
|
|
|
24 |
|
25 |
+
# --- MCP(可選工具協議;你要用) ---
|
|
|
|
|
|
|
26 |
modelcontextprotocol>=1.12.4
|