lunahr commited on
Commit
754b981
·
verified ·
1 Parent(s): 0a5e114

revert this back

Browse files

I'm gonna try some things later

Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -3211,7 +3211,7 @@
3211
  "PI:USER"
3212
  ],
3213
  "bos_token": "[BOS]",
3214
- "chat_template": "{% for message in messages %}{% if loop.first and message['role'] != 'system' %}[|system|]\n[|endofturn|]\n{% endif %}[|{{ message['role'] }}|]\n{{ message['content'] }}\n[|endofturn|]\n{% endfor %}{% if add_generation_prompt %}[|assistant|]\n[|endofturn|]{% endif %}{% if add_reasoning_prompt %}[|reasoning|]\n[|endofturn|]{% endif %}",
3215
  "clean_up_tokenization_spaces": true,
3216
  "eos_token": "[|endofturn|]",
3217
  "extra_special_tokens": {},
 
3211
  "PI:USER"
3212
  ],
3213
  "bos_token": "[BOS]",
3214
+ "chat_template": "{% for message in messages %}{% if loop.first and message['role'] != 'system' %}{{ '[|system|][|endofturn|]\n' }}{% endif %}{{ '[|' + message['role'] + '|]' + message['content'] }}{% if message['role'] == 'user' %}{{ '\n' }}{% else %}{{ '[|endofturn|]\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '[|assistant|]' }}{% endif %}{% if add_generation_prompt %}{{ '[|reasoning|]' }}{% endif %}",
3215
  "clean_up_tokenization_spaces": true,
3216
  "eos_token": "[|endofturn|]",
3217
  "extra_special_tokens": {},