Skip to content

Commit

Permalink
typo fixed: ChatGLM -> ChatGLM2
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjx committed Jun 26, 2023
1 parent 07957ba commit 55d7548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@


def build_prompt(history):
prompt = "欢迎使用 ChatGLM-6B 模型,输入内容即可进行对话,clear 清空对话历史,stop 终止程序"
prompt = "欢迎使用 ChatGLM2-6B 模型,输入内容即可进行对话,clear 清空对话历史,stop 终止程序"
for query, response in history:
prompt += f"\n\n用户:{query}"
prompt += f"\n\nChatGLM-6B:{response}"
prompt += f"\n\nChatGLM2-6B:{response}"
return prompt


Expand Down

0 comments on commit 55d7548

Please sign in to comment.