deddoggo commited on
Commit
ca91dfb
·
1 Parent(s): f2f7dde

StaticCache

Browse files
Files changed (1) hide show
  1. requirements.txt +18 -3
requirements.txt CHANGED
@@ -1,8 +1,23 @@
1
- unsloth
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  sentence-transformers
3
- transformers
4
  rank-bm25
5
  faiss-cpu
6
  pymupdf
7
  python-docx
8
- thefuzz
 
 
1
+ # file: requirements.txt
2
+
3
+ # Cài đặt phiên bản mới nhất của Unsloth từ Github để hỗ trợ các mô hình mới nhất
4
+
5
+ unsloth[cu121-py310] @ git+https://github.com/unslothai/unsloth.git
6
+
7
+ # Quan trọng: Chỉ định phiên bản tối thiểu cho transformers và accelerate
8
+
9
+ # để đảm bảo chúng có các tính năng mới nhất cho Gemma 3 (như StaticCache).
10
+
11
+ transformers\>=4.42.0
12
+ accelerate\>=0.31.0
13
+ torch
14
+
15
+ # Các thư viện cho RAG và giao diện (giữ nguyên)
16
+
17
  sentence-transformers
 
18
  rank-bm25
19
  faiss-cpu
20
  pymupdf
21
  python-docx
22
+ thefuzz
23
+ gradio