Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
@@ -82,6 +82,7 @@
|
|
82 |
}
|
83 |
},
|
84 |
"bos_token": "<s>",
|
|
|
85 |
"clean_up_tokenization_spaces": false,
|
86 |
"eos_token": "<|im_end|>",
|
87 |
"legacy": false,
|
|
|
82 |
}
|
83 |
},
|
84 |
"bos_token": "<s>",
|
85 |
+
"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 %}",
|
86 |
"clean_up_tokenization_spaces": false,
|
87 |
"eos_token": "<|im_end|>",
|
88 |
"legacy": false,
|