Locutusque commited on
Commit
a2eaa50
1 Parent(s): 7e18076

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -34,6 +34,7 @@
34
  ]
35
  },
36
  "bos_token": "<|startoftext|>",
 
37
  "clean_up_tokenization_spaces": false,
38
  "eos_token": "<|endoftext|>",
39
  "model_max_length": 4096,
 
34
  ]
35
  },
36
  "bos_token": "<|startoftext|>",
37
+ "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 %}",
38
  "clean_up_tokenization_spaces": false,
39
  "eos_token": "<|endoftext|>",
40
  "model_max_length": 4096,