Fix bos with "<|endoftext|>"
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -30,7 +30,7 @@
|
|
30 |
"<|im_start|>",
|
31 |
"<|im_end|>"
|
32 |
],
|
33 |
-
"bos_token":
|
34 |
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
35 |
"clean_up_tokenization_spaces": false,
|
36 |
"eos_token": "<|endoftext|>",
|
|
|
30 |
"<|im_start|>",
|
31 |
"<|im_end|>"
|
32 |
],
|
33 |
+
"bos_token": "<|endoftext|>",
|
34 |
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
35 |
"clean_up_tokenization_spaces": false,
|
36 |
"eos_token": "<|endoftext|>",
|