Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
@@ -33,6 +33,7 @@
|
|
33 |
"eos_token": "</s>",
|
34 |
"legacy": true,
|
35 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
36 |
"pad_token": "</s>",
|
37 |
"sp_model_kwargs": {},
|
38 |
"spaces_between_special_tokens": false,
|
|
|
33 |
"eos_token": "</s>",
|
34 |
"legacy": true,
|
35 |
"model_max_length": 1000000000000000019884624838656,
|
36 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{% if message['content']%}{{'SYSTEM:\n' + message['content']+'\n\n'}}{% endif %}{% elif message['role'] == 'user' %}{{'USER:\n' + message['content']+'\n\n'}}{% elif message['role'] == 'assistant' %}{{'ASSISTANT:\n' + message['content']}}{% endif %}{% if loop.last and add_generation_prompt %}{{ 'ASSISTANT:\n' }}{% endif %}{% endfor %}",
|
37 |
"pad_token": "</s>",
|
38 |
"sp_model_kwargs": {},
|
39 |
"spaces_between_special_tokens": false,
|