Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
@@ -49,6 +49,7 @@
|
|
49 |
"eos_token": "<|im_end|>",
|
50 |
"legacy": true,
|
51 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
52 |
"pad_token": "<unk>",
|
53 |
"sp_model_kwargs": {},
|
54 |
"spaces_between_special_tokens": false,
|
|
|
49 |
"eos_token": "<|im_end|>",
|
50 |
"legacy": true,
|
51 |
"model_max_length": 1000000000000000019884624838656,
|
52 |
+
"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 %}",
|
53 |
"pad_token": "<unk>",
|
54 |
"sp_model_kwargs": {},
|
55 |
"spaces_between_special_tokens": false,
|