CharonBony zjy2001 commited on
Commit
57049db
1 Parent(s): d7ff64d

Update tokenizer_config.json (#5)

Browse files

- Update tokenizer_config.json (721fe8d5d6f1413ea39edad660e412a9975b9b60)


Co-authored-by: Zhaojian Yu <zjy2001@users.noreply.huggingface.co>

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,