Update chat_template
Browse files- tokenizer_config.json +2 -1
tokenizer_config.json
CHANGED
@@ -47,6 +47,7 @@
|
|
47 |
"tokenizer_class": "LlamaTokenizer",
|
48 |
"trust_remote_code": false,
|
49 |
"unk_token": "<unk>",
|
50 |
-
"use_default_system_prompt":
|
|
|
51 |
"use_fast": true
|
52 |
}
|
|
|
47 |
"tokenizer_class": "LlamaTokenizer",
|
48 |
"trust_remote_code": false,
|
49 |
"unk_token": "<unk>",
|
50 |
+
"use_default_system_prompt": false,
|
51 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
52 |
"use_fast": true
|
53 |
}
|