Rong6693 commited on
Commit
a7026c5
·
verified ·
1 Parent(s): f21f305

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +17 -18
requirements.txt CHANGED
@@ -1,27 +1,26 @@
1
- # 你的既有
2
- streamlit==1.28.0
3
  pandas==2.0.3
4
  plotly==5.15.0
5
  python-dateutil==2.8.2
6
- numpy==1.24.3
7
 
 
 
 
 
 
8
 
9
- # RAG / LLM 新增
10
- torch>=2.0.0
11
- transformers==4.42.0
12
- accelerate>=0.29.0
13
- safetensors
14
 
15
- sentence-transformers==2.2.2
16
- faiss-cpu==1.7.4
17
 
18
- langchain==0.1.12
19
- langchain-community==0.0.36
20
- tiktoken==0.5.2
21
- python-dotenv==1.0.0
22
 
23
- transformers
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