nsarrazin HF staff commited on
Commit
9bf7a8f
1 Parent(s): cd11567

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -2053,7 +2053,7 @@
2053
  "chat_template": [
2054
  {
2055
  "name": "default",
2056
- "template": "{% set loop_messages = messages %}{% for message in loop_messages %}{%if message['role'] == 'python' %}{% set content = '<|python_tag|>' + message['content'] + '<|eot_id|>' %}{%else%}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% endif %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}"
2057
  },
2058
  {
2059
  "name": "tool_use",
 
2053
  "chat_template": [
2054
  {
2055
  "name": "default",
2056
+ "template": "{% set loop_messages = messages %}{% for message in loop_messages %}{%if message['role'] == 'python' %}{% set content = '<|python_tag|>' + message['content'] + '<|eot_id|>' %}{%else%}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% endif %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}"
2057
  },
2058
  {
2059
  "name": "tool_use",