Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -176,7 +176,7 @@
|
|
176 |
"<reponame>"
|
177 |
],
|
178 |
"bos_token": "<|endoftext|>",
|
179 |
-
"chat_template": "{% for message in messages %}\n{% if message['role'] == '
|
180 |
"clean_up_tokenization_spaces": true,
|
181 |
"eos_token": "<|endoftext|>",
|
182 |
"model_max_length": 9223372036854775807,
|
|
|
176 |
"<reponame>"
|
177 |
],
|
178 |
"bos_token": "<|endoftext|>",
|
179 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ 'Question:\n' + message['content'] + '\n\n' }}{% elif message['role'] == 'system' %}\n{{ 'System:\n' + message['content'] + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ 'Answer:\n' + message['content'] + '\n\n' }}{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ 'Answer:\n' }}{% endif %}{% endfor %}",
|
180 |
"clean_up_tokenization_spaces": true,
|
181 |
"eos_token": "<|endoftext|>",
|
182 |
"model_max_length": 9223372036854775807,
|