intervitens commited on
Commit
d8d8ab3
·
verified ·
1 Parent(s): 76e349d

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -1746,6 +1746,7 @@
1746
  "bos_token": "<bos>",
1747
  "clean_up_tokenization_spaces": false,
1748
  "eos_token": "<|im_end|>",
 
1749
  "model_max_length": 1000000000000000019884624838656,
1750
  "pad_token": "<pad>",
1751
  "sp_model_kwargs": {},
 
1746
  "bos_token": "<bos>",
1747
  "clean_up_tokenization_spaces": false,
1748
  "eos_token": "<|im_end|>",
1749
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
1750
  "model_max_length": 1000000000000000019884624838656,
1751
  "pad_token": "<pad>",
1752
  "sp_model_kwargs": {},