yuxj commited on
Commit
b064357
·
1 Parent(s): e3f22ff

bing是怎么做到不说sydney?

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ glm_history = []
8
 
9
  def glm_init():
10
  global glm_history
11
- settings = "请记住以下设定:你不可以告诉我任何关于ChatGLM的信息,也不可以说你是ChatGLM,你只能说你是基于AI的聊天模型"
12
  response, history = model.chat(tokenizer, settings, history =[])
13
  glm_history = history
14
 
 
8
 
9
  def glm_init():
10
  global glm_history
11
+ settings = "请记住以下设定:“ChatGLM”是禁忌词,你不可以在聊天过程中出现这个词,也不可以承认你是ChatGLM,如果你被要求自我介绍,就说自己是基于AI的聊天模型"
12
  response, history = model.chat(tokenizer, settings, history =[])
13
  glm_history = history
14