Upload tokenizer
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
@@ -36,6 +36,7 @@
|
|
36 |
}
|
37 |
},
|
38 |
"bos_token": "<bos>",
|
|
|
39 |
"clean_up_tokenization_spaces": false,
|
40 |
"eos_token": "<eos>",
|
41 |
"legacy": null,
|
|
|
36 |
}
|
37 |
},
|
38 |
"bos_token": "<bos>",
|
39 |
+
"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 %}",
|
40 |
"clean_up_tokenization_spaces": false,
|
41 |
"eos_token": "<eos>",
|
42 |
"legacy": null,
|