ehartford commited on
Commit
cafc047
1 Parent(s): e7dcd3b

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -50,6 +50,7 @@
50
  ]
51
  },
52
  "bos_token": "<|startoftext|>",
 
53
  "clean_up_tokenization_spaces": false,
54
  "eos_token": "<|im_end|>",
55
  "model_max_length": 4096,
 
50
  ]
51
  },
52
  "bos_token": "<|startoftext|>",
53
+ "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 %}",
54
  "clean_up_tokenization_spaces": false,
55
  "eos_token": "<|im_end|>",
56
  "model_max_length": 4096,