Upload tokenizer
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -41,7 +41,7 @@
|
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
44 |
-
"chat_template": "
|
45 |
"clean_up_tokenization_spaces": true,
|
46 |
"cls_token": "[CLS]",
|
47 |
"do_lower_case": true,
|
|
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
44 |
+
"chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
45 |
"clean_up_tokenization_spaces": true,
|
46 |
"cls_token": "[CLS]",
|
47 |
"do_lower_case": true,
|