Pclanglais commited on
Commit
f1ae29e
·
verified ·
1 Parent(s): 0147ba2

Upload chat_template.json

Browse files
Files changed (1) hide show
  1. chat_template.json +12 -0
chat_template.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "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 %}",
3
+ "input_sequence": "<|im_start|>user\n{{input}}<|im_end|>\n<|im_start|>assistant\n",
4
+ "eos_token": "<|im_end|>",
5
+ "bos_token": "<|im_start|>",
6
+ "stop": ["<|im_end|>"],
7
+ "roles": {
8
+ "user": "user",
9
+ "assistant": "assistant",
10
+ "system": "system"
11
+ }
12
+ }