LE Quoc Dat
commited on
Commit
•
561a78a
1
Parent(s):
4bbe2f5
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -203,7 +203,7 @@
|
|
203 |
"<|video_pad|>"
|
204 |
],
|
205 |
"bos_token": null,
|
206 |
-
"chat_template": "{%- if
|
207 |
"clean_up_tokenization_spaces": false,
|
208 |
"eos_token": "<|im_end|>",
|
209 |
"errors": "replace",
|
|
|
203 |
"<|video_pad|>"
|
204 |
],
|
205 |
"bos_token": null,
|
206 |
+
"chat_template": "{%- if messages[0]['role'] == 'system' %} \n {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }} \n {%- else %} \n {{- '<|im_start|>system\nYou are a coding assistant that helps merge code updates, ensuring every modification is fully integrated.<|im_end|>\n' }} \n {%- endif %} \n {%- for message in messages %} \n {%- if message.role in ['user', 'assistant'] or (message.role == 'system' and not loop.first) %} \n {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>\n' }} \n {%- endif %} \n {%- endfor %} \n {%- if add_generation_prompt %} \n {{- '<|im_start|>assistant\n' }} \n {%- endif %}",
|
207 |
"clean_up_tokenization_spaces": false,
|
208 |
"eos_token": "<|im_end|>",
|
209 |
"errors": "replace",
|