Upload chat_template.json
Browse files- chat_template.json +7 -0
chat_template.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chat_template": "{% for m in messages %}<|im_start|>{{ m['role'] }}\n{{ m['content'] }}<|im_end|>\n{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n<think>\n{% endif %}",
|
| 3 |
+
"eos_token": "<|im_end|>",
|
| 4 |
+
"bos_token": "<|im_start|>",
|
| 5 |
+
"stop": ["<|im_end|>"],
|
| 6 |
+
"roles": { "user": "user", "assistant": "assistant", "system": "system" }
|
| 7 |
+
}
|