ashercn97 commited on
Commit
c1d47b3
1 Parent(s): 3a98cac

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -212,6 +212,6 @@
212
  "split_special_tokens": false,
213
  "tokenizer_class": "Qwen2Tokenizer",
214
  "unk_token": null,
215
- "chat_template": "{%- for message in messages %}{{ '### ' + message['role']|capitalize + '\\n' + message['content'].strip() + '\\n\\n' }}{% endfor %}{%- if add_generation_prompt %} \n ### Reponse {% endif %}"
216
 
217
  }
 
212
  "split_special_tokens": false,
213
  "tokenizer_class": "Qwen2Tokenizer",
214
  "unk_token": null,
215
+ "chat_template": "{%- for message in messages %}{{ '### ' + ('Response' if message['role'] == 'assistant' else message['role']|capitalize) + '\\n' + message['content'].strip() + '\\n\\n' }}{% endfor %}{%- if add_generation_prompt %} \n ### Response {% endif %}"
216
 
217
  }