Add default chat template to tokenizer_config.json (#8)
Browse files- Add default chat template to tokenizer_config.json (3522e829278de0340f7a7b2a432b18d48132ca51)
Co-authored-by: Joshua <Xenova@users.noreply.huggingface.co>
- tokenizer_config.json +4 -1
tokenizer_config.json
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_max_length": 1024,
|
3 |
+
"chat_template": "{% for message in messages %}{{ message.content }}{{ eos_token }}{% endfor %}"
|
4 |
+
}
|