nicholasKluge
commited on
Update tokenizer_config.json
Browse files- tokenizer_config.json +0 -1
tokenizer_config.json
CHANGED
@@ -55,7 +55,6 @@
|
|
55 |
],
|
56 |
"bos_token": "<s>",
|
57 |
"bos_token_id": 1,
|
58 |
-
"chat_template": "{{bos_token}}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '<instruction>' + message['content'].strip() + '</instruction>'}}{% elif message['role'] == 'assistant' %}{{ message['content'].strip() + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
59 |
"clean_up_tokenization_spaces": false,
|
60 |
"eos_token": "</s>",
|
61 |
"eos_token_id": 2,
|
|
|
55 |
],
|
56 |
"bos_token": "<s>",
|
57 |
"bos_token_id": 1,
|
|
|
58 |
"clean_up_tokenization_spaces": false,
|
59 |
"eos_token": "</s>",
|
60 |
"eos_token_id": 2,
|