LLaMAX commited on
Commit
111f2fa
·
verified ·
1 Parent(s): c18f5af

update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -2050,7 +2050,7 @@
2050
  }
2051
  },
2052
  "bos_token": "<|begin_of_text|>",
2053
- "chat_template": "{{- bos_token }}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n{%- else %}\n {%- set system_message = \"Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\\n\\n### Instruction:\\n\" %}\n{%- endif %}\n{{- system_message + messages[0]['content'] | trim + \"\\n\"}}\n{%- if add_generation_prompt %}\n {{- \"### Response:\" }}\n{%- endif %}",
2054
  "clean_up_tokenization_spaces": true,
2055
  "eos_token": "<|end_of_text|>",
2056
  "model_input_names": [
 
2050
  }
2051
  },
2052
  "bos_token": "<|begin_of_text|>",
2053
+ "chat_template": "{{- bos_token }}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] | trim %}\n {%- set messages = messages[1:] %}\n{%- else %}\n {%- set system_message = \"Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\\n\" %}\n{%- endif %}\n{{- system_message }}\n{% for message in messages %}\n {% if message['role'] == 'user' %}\n {{- \"### Instruction:\\n\" + message['content'] | trim }}\n {% elif message['role'] == 'assistant' %}\n {{- \"### Response:\" + message['content'] | trim }}\n {% endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- \"### Response:\" }}\n{%- endif %}",
2054
  "clean_up_tokenization_spaces": true,
2055
  "eos_token": "<|end_of_text|>",
2056
  "model_input_names": [