enijkamp commited on
Commit
911138d
·
verified ·
1 Parent(s): 65033b1

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -6,5 +6,5 @@
6
  "model_max_length": 16384,
7
  "tokenizer_class": "GPT2TokenizerFast",
8
  "unk_token": "<|endoftext|>",
9
- "chat_template": "{% for message in messages %}{{'<|im_start|>'+ message['role'] + \n'+ message['content'] + '\n<|im_end|>\n'}}{% endfor %}{{'<|im_start|>assistant\n'}}"
10
  }
 
6
  "model_max_length": 16384,
7
  "tokenizer_class": "GPT2TokenizerFast",
8
  "unk_token": "<|endoftext|>",
9
+ "chat_template": "{% for message in messages %}{{'<|im_start|>'+ message['role'] + \n'+ message['content'] + '\n<|im_end|>\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}"
10
  }