galatolo commited on
Commit
1375be6
1 Parent(s): 7cdc5db

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -46,7 +46,7 @@
46
  "<|pad_0|>"
47
  ],
48
  "bos_token": "<s>",
49
- "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",
50
  "clean_up_tokenization_spaces": false,
51
  "eos_token": "</s>",
52
  "legacy": true,
 
46
  "<|pad_0|>"
47
  ],
48
  "bos_token": "<s>",
49
+ "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",
50
  "clean_up_tokenization_spaces": false,
51
  "eos_token": "</s>",
52
  "legacy": true,