Upload tokenizer_config.json
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
@@ -6174,6 +6174,7 @@
|
|
6174 |
},
|
6175 |
"bos_token": "<s>",
|
6176 |
"clean_up_tokenization_spaces": false,
|
|
|
6177 |
"eos_token": "</s>",
|
6178 |
"legacy": false,
|
6179 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
6174 |
},
|
6175 |
"bos_token": "<s>",
|
6176 |
"clean_up_tokenization_spaces": false,
|
6177 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{% if message['role'] == 'user' %}{{'> ' + message['content'] + '</s>\n\n'}}{% elif message['role'] == 'assistant' %}{{'' + message['content'] + '</s>'}}{% elif message['role'] == 'system' %}{{'' + message['content'] + '</s>'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '' }}{% endif %}",
|
6178 |
"eos_token": "</s>",
|
6179 |
"legacy": false,
|
6180 |
"model_max_length": 1000000000000000019884624838656,
|