CHUNYU0505 commited on
Commit
9afdb2d
·
verified ·
1 Parent(s): 058eba2

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +17 -6
requirements.txt CHANGED
@@ -1,13 +1,24 @@
1
- torch
2
- transformers
3
- sentencepiece
4
- accelerate
5
  langchain>=0.3.18,<0.4
6
  langchain-community>=0.3.18,<0.4
7
  langchain-huggingface>=0.0.3
8
- gradio
9
- python-docx
 
 
 
 
 
 
 
10
  faiss-cpu
 
 
 
 
11
  tqdm
12
  requests
13
  huggingface_hub
 
 
 
 
1
+ # LangChain 最新版本
 
 
 
2
  langchain>=0.3.18,<0.4
3
  langchain-community>=0.3.18,<0.4
4
  langchain-huggingface>=0.0.3
5
+
6
+ # Transformers 與 NLP
7
+ transformers>=4.44.0
8
+ accelerate>=0.33.0
9
+ sentencepiece # T5 / Pegasus 系列需要
10
+ tiktoken # 有些模型 tokenizer 相容性需要
11
+ protobuf # HF 模型常用依賴
12
+
13
+ # 向量資料庫
14
  faiss-cpu
15
+ sentence-transformers
16
+
17
+ # 文件處理
18
+ python-docx
19
  tqdm
20
  requests
21
  huggingface_hub
22
+
23
+ # Web 前端
24
+ gradio