typo fixed: ChatGLM -> ChatGLM2
This commit is contained in:
parent
07957bacf8
commit
55d7548e4c
@ -14,10 +14,10 @@ stop_stream = False
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user