Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
"</s>"
|
35 |
],
|
36 |
"bos_token": "<s>",
|
37 |
-
"chat_template": "{% for message in messages
|
38 |
"clean_up_tokenization_spaces": false,
|
39 |
"eos_token": "</s>",
|
40 |
"legacy": true,
|
|
|
34 |
"</s>"
|
35 |
],
|
36 |
"bos_token": "<s>",
|
37 |
+
"chat_template": "{% for message in messages -%}{%- if message['role'] == 'user' -%}{{ '### Instruction:\n' + message['content'].strip() + '\n\n### Response:\n' }}{%- elif message['role'] == 'system' -%}{{ message['content'].strip() + '\n\n' }}{%- elif message['role'] == 'assistant' -%}{{ message['content'].strip() + '\n\n' }}{%- endif -%}{%- endfor %}",
|
38 |
"clean_up_tokenization_spaces": false,
|
39 |
"eos_token": "</s>",
|
40 |
"legacy": true,
|