还原 requirements

git+https://gitee.com/jujimeizuo/meta-gpt-tianji.git
This commit is contained in:
HongCheng 2024-04-23 16:05:08 +09:00
parent 51fbd63540
commit 96108b54c4
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,5 @@
git+https://gitee.com/jujimeizuo/meta-gpt-tianji.git
transformers==4.36.2
streamlit==1.24.0
sentencepiece==0.1.99
@ -8,4 +10,3 @@ tiktoken
einops
oss2
requests
websockets==11.0.3

View File

@ -154,8 +154,8 @@ def load_model():
model_name = "./EmoLLM-Llama3-8B-Instruct2.0"
print(model_name)
print('pip install modelscope')
os.system(f'pip install modelscope')
print('pip install modelscope websockets')
os.system(f'pip install modelscope websockets==11.0.3')
from modelscope import snapshot_download
#模型下载