Skip to content

Commit 96108b5

Browse files
committed
1 parent 51fbd63 commit 96108b5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
git+https://gitee.com/jujimeizuo/meta-gpt-tianji.git
2+
13
transformers==4.36.2
24
streamlit==1.24.0
35
sentencepiece==0.1.99
@@ -8,4 +10,3 @@ tiktoken
810
einops
911
oss2
1012
requests
11-
websockets==11.0.3

web_demo-Llama3.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ def load_model():
154154
model_name = "./EmoLLM-Llama3-8B-Instruct2.0"
155155
print(model_name)
156156

157-
print('pip install modelscope')
158-
os.system(f'pip install modelscope')
157+
print('pip install modelscope websockets')
158+
os.system(f'pip install modelscope websockets==11.0.3')
159159
from modelscope import snapshot_download
160160

161161
#模型下载

0 commit comments

Comments
 (0)