DachengZhang
commited on
Commit
•
0767a61
1
Parent(s):
b212f42
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
@@ -16,6 +16,7 @@
|
|
16 |
"single_word": true
|
17 |
},
|
18 |
"clean_up_tokenization_spaces": false,
|
|
|
19 |
"eos_token": {
|
20 |
"__type": "AddedToken",
|
21 |
"content": "</s>",
|
|
|
16 |
"single_word": true
|
17 |
},
|
18 |
"clean_up_tokenization_spaces": false,
|
19 |
+
"chat_template": "{% for message in messages %}{% if loop.first %}{{ bos_token }}{% endif %}{% if message['role'] == 'user' %}{{ 'Human: ' + message['content'] + '\n\nAssistant: ' + eos_token }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token }}{% endif %}{% endfor %}",
|
20 |
"eos_token": {
|
21 |
"__type": "AddedToken",
|
22 |
"content": "</s>",
|