Update tokenizer_config.json
Browse files- tokenizer_config.json +3 -1
tokenizer_config.json
CHANGED
@@ -2058,5 +2058,7 @@
|
|
2058 |
],
|
2059 |
"model_max_length": 1000000000000000019884624838656,
|
2060 |
"pad_token": "<|end_of_text|>",
|
2061 |
-
"tokenizer_class": "PreTrainedTokenizerFast"
|
|
|
|
|
2062 |
}
|
|
|
2058 |
],
|
2059 |
"model_max_length": 1000000000000000019884624838656,
|
2060 |
"pad_token": "<|end_of_text|>",
|
2061 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
2062 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}"
|
2063 |
+
|
2064 |
}
|