ruixie commited on
Commit
8cf8467
1 Parent(s): ae7085f

Update modeling_codeshell.py

Browse files
Files changed (1) hide show
  1. modeling_codeshell.py +2 -2
modeling_codeshell.py CHANGED
@@ -947,8 +947,8 @@ class CodeShellForCausalLM(CodeShellPreTrainedModel):
947
 
948
 
949
  def build_chat_input(self, query, history, tokenizer, max_new_tokens=None):
950
- user_name = "\n## human:"
951
- ai_name = "\n## assistant: "
952
  stop = '|<end>|'
953
 
954
  prompt = ''
 
947
 
948
 
949
  def build_chat_input(self, query, history, tokenizer, max_new_tokens=None):
950
+ user_name = "## human:"
951
+ ai_name = "## assistant: "
952
  stop = '|<end>|'
953
 
954
  prompt = ''