avemio-digital commited on
Commit
26711be
verified
1 Parent(s): b5e01f0

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -8025,7 +8025,7 @@
8025
  "<|im_end|>"
8026
  ],
8027
  "bos_token": "<s>",
8028
- "chat_template": "{{ bos_token }}{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{'<|im_start|>user\n' + message['content'].strip() + '<|im_end|>\n<|im_start|>assistant\n' }}\n{% elif message['role'] == 'system' %}\n{{'<|im_start|>system\n' + message['content'].strip() + '<|im_end|>' }}\n{% elif message['role'] == 'tool' %}\n{{'<|im_start|>user\n<tool_response>' + message['content'].strip() + '</tool_response><|im_end|>' }}\n{% elif message['role'] == 'assistant' %}\n{{'<|im_start|>assistant\n' + message['content'].strip() + '<|im_end|>' }}\n{% endif %}\n{% endfor %}\n{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
8029
  "clean_up_tokenization_spaces": false,
8030
  "eos_token": "</s>",
8031
  "model_max_length": 1000000000000000019884624838656,
 
8025
  "<|im_end|>"
8026
  ],
8027
  "bos_token": "<s>",
8028
+ "chat_template": "\n{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{'<|im_start|>user\n' + message['content'].strip() + '<|im_end|>\n<|im_start|>assistant\n' }}\n{% elif message['role'] == 'system' %}\n{{'<s>' + '<|im_start|>system\n' + message['content'].strip() + '<|im_end|>' }}\n{% elif message['role'] == 'tool' %}\n{{'<|im_start|>user\n<tool_response>' + message['content'].strip() + '</tool_response><|im_end|>' }}\n{% elif message['role'] == 'assistant' %}\n{{'<|im_start|>assistant\n' + message['content'].strip() + '<|im_end|>' }}\n{% endif %}\n{% endfor %}\n",
8029
  "clean_up_tokenization_spaces": false,
8030
  "eos_token": "</s>",
8031
  "model_max_length": 1000000000000000019884624838656,