Update tokenizer_config.json
Browse files- tokenizer_config.json +3 -1
tokenizer_config.json
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
-
"bos_token": "
|
|
|
4 |
"clean_up_tokenization_spaces": true,
|
5 |
"eos_token": "<|endoftext|>",
|
6 |
"model_max_length": 2048,
|
7 |
"tokenizer_class": "CodeGenTokenizer",
|
8 |
"unk_token": "<|endoftext|>"
|
|
|
9 |
}
|
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
+
"bos_token": "<s>",
|
4 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') %}{{'<|user|>' + '\n' + message['content'] + '<|end|>' + '\n' + '<|assistant|>' + '\n'}}{% elif (message['role'] == 'assistant') %}{{message['content'] + '<|end|>' + '\n'}}{% endif %}{% endfor %}",
|
5 |
"clean_up_tokenization_spaces": true,
|
6 |
"eos_token": "<|endoftext|>",
|
7 |
"model_max_length": 2048,
|
8 |
"tokenizer_class": "CodeGenTokenizer",
|
9 |
"unk_token": "<|endoftext|>"
|
10 |
+
"use_default_system_prompt": false
|
11 |
}
|