qnguyen3 commited on
Commit
7ca2f79
1 Parent(s): 3b648e8

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -33,6 +33,7 @@
33
  ],
34
  "bos_token": "<|endoftext|>",
35
  "clean_up_tokenization_spaces": true,
 
36
  "eos_token": "<|im_end|>",
37
  "errors": "replace",
38
  "model_max_length": 1000000000000000019884624838656,
 
33
  ],
34
  "bos_token": "<|endoftext|>",
35
  "clean_up_tokenization_spaces": true,
36
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
37
  "eos_token": "<|im_end|>",
38
  "errors": "replace",
39
  "model_max_length": 1000000000000000019884624838656,