Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ypw committed Apr 1, 2023
1 parent da43e52 commit 20d71c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
print('Done'.center(64, '-'))

# 加载模型
# model_name = 'THUDM/chatglm-6b'
# model_name = 'BelleGroup/BELLE-LLAMA-7B-2M'
model_name = 'THUDM/chatglm-6b'
# model_name = 'silver/chatglm-6b-int4-slim'
model_name = 'BelleGroup/BELLE-LLAMA-7B-2M-gptq'
# model_name = 'BelleGroup/BELLE-LLAMA-7B-2M'
# model_name = 'BelleGroup/BELLE-LLAMA-7B-2M-gptq'

if 'chatglm' in model_name.lower():
from predictors.chatglm import ChatGLM
Expand Down

0 comments on commit 20d71c6

Please sign in to comment.