Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持 BelleGroup/BELLE-LLAMA-7B-2M-gptq #12

Merged
merged 8 commits into from
Apr 1, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update app.py
ypw committed Apr 1, 2023
commit bff0677526d57a41957e4b95389a1f4d38983c8f
5 changes: 3 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
@@ -9,8 +9,9 @@

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

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