Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
@@ -73,6 +73,7 @@
|
|
73 |
"attention_mask"
|
74 |
],
|
75 |
"model_max_length": 131072,
|
|
|
76 |
"pad_token": "<|finetune_right_pad_id|>",
|
77 |
"padding_side": "left",
|
78 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
|
|
73 |
"attention_mask"
|
74 |
],
|
75 |
"model_max_length": 131072,
|
76 |
+
"chat_template": "{{bos_token}}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
77 |
"pad_token": "<|finetune_right_pad_id|>",
|
78 |
"padding_side": "left",
|
79 |
"tokenizer_class": "PreTrainedTokenizerFast"
|