Matt300209 commited on
Commit
9827346
·
verified ·
1 Parent(s): c2afb6d

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -2051,6 +2051,7 @@
2051
  },
2052
  "bos_token": "<|begin_of_text|>",
2053
  "clean_up_tokenization_spaces": true,
 
2054
  "eos_token": "<|end_of_text|>",
2055
  "model_input_names": [
2056
  "input_ids",
 
2051
  },
2052
  "bos_token": "<|begin_of_text|>",
2053
  "clean_up_tokenization_spaces": true,
2054
+ "chat_template": "\n {{- bos_token }}\n {%- for message in messages %}\n {%- if message['role'] == 'assistant' %}\n {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>' + '\n' }}\n {%- generation %}\n {{- message['content'] + '<|eot_id|>' }}\n {%- endgeneration %}\n {{- '\n' }}\n {%- else %}\n {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>' + '\n' + message['content'] + '<|eot_id|>' + '\n' }}\n {%- endif %}\n {%- endfor %}\n {%- if add_generation_prompt %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\n' }}\n {%- endif %}",
2055
  "eos_token": "<|end_of_text|>",
2056
  "model_input_names": [
2057
  "input_ids",