niryuu commited on
Commit
5f1e594
1 Parent(s): 9a52007

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -65,6 +65,6 @@
65
  "sp_model_kwargs": {},
66
  "tokenizer_class": "LlamaTokenizer",
67
  "unk_token": "<unk>",
68
- "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|im_start|>user\n' + message['content'] + '\n<|im_end|>' }}\n{% elif message['role'] == 'system' %}\n{{ '' }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|im_start|>assistant\n' + message['content'] + '\n<|im_end|>' }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|im_end|>assistant' }}\n{% endif %}\n{% endfor %}",
69
  "use_default_system_prompt": true
70
  }
 
65
  "sp_model_kwargs": {},
66
  "tokenizer_class": "LlamaTokenizer",
67
  "unk_token": "<unk>",
68
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
69
  "use_default_system_prompt": true
70
  }