zjy2001 commited on
Commit
721fe8d
1 Parent(s): d7ff64d

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -187,6 +187,7 @@
187
  },
188
  "bos_token": "<|begin▁of▁sentence|>",
189
  "clean_up_tokenization_spaces": false,
 
190
  "eos_token": "<|end▁of▁sentence|>",
191
  "legacy": true,
192
  "model_max_length": 2048,
 
187
  },
188
  "bos_token": "<|begin▁of▁sentence|>",
189
  "clean_up_tokenization_spaces": false,
190
+ "chat_template": "{{bos_token}}{{'You are an exceptionally intelligent coding assistant that consistently delivers accurate and reliable responses to user instructions.\n\n'}}\n{%- for message in messages %}\n {%- if message['role'] == 'system' %}\n {{ raise_exception('System messages are not allowed in this template.') }}\n {%- else %}\n {%- if message['role'] == 'user' %}\n{{'@@ Instruction\n' + message['content'] + '\n\n'}}\n {%- else %}\n{{'@@ Response\n' + message['content'] + eos_token + '\n\n'}}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{{'@@ Response\n'}}",
191
  "eos_token": "<|end▁of▁sentence|>",
192
  "legacy": true,
193
  "model_max_length": 2048,