Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -27,7 +27,7 @@
|
|
27 |
},
|
28 |
"additional_special_tokens": [],
|
29 |
"bos_token": "<s>",
|
30 |
-
"chat_template": "{{bos_token}}{% for message in messages %}{% if message['role'] == 'user' %}{{ '[|Umano|] ' + message['content'] + '\n' }}{% elif message['role'] == 'assistant' %}{{ '[|Assistente|] ' + message['content'] + '\n' }}{% elif message['role'] == 'system' %}{{ message['content'] + '\n' }}{% else %}{{ raise_exception('Only system, user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '[|Assistente|]
|
31 |
"clean_up_tokenization_spaces": false,
|
32 |
"eos_token": "</s>",
|
33 |
"legacy": true,
|
|
|
27 |
},
|
28 |
"additional_special_tokens": [],
|
29 |
"bos_token": "<s>",
|
30 |
+
"chat_template": "{{bos_token}}{% for message in messages %}{% if message['role'] == 'user' %}{{ '[|Umano|] ' + message['content'] + '\n' }}{% elif message['role'] == 'assistant' %}{{ '[|Assistente|] ' + message['content'] + '\n' }}{% elif message['role'] == 'system' %}{{ message['content'] + '\n' }}{% else %}{{ raise_exception('Only system, user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '[|Assistente|]' }}{% endif %}\n",
|
31 |
"clean_up_tokenization_spaces": false,
|
32 |
"eos_token": "</s>",
|
33 |
"legacy": true,
|