Skip to content

Commit 55d7548

Browse files
committed
typo fixed: ChatGLM -> ChatGLM2
1 parent 07957ba commit 55d7548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli_demo.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515

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

2323

0 commit comments

Comments
 (0)