heegyu commited on
Commit
97372ca
1 Parent(s): 0af4f9d

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +2 -1
tokenizer_config.json CHANGED
@@ -85,5 +85,6 @@
85
  "truncation_side": "right",
86
  "truncation_strategy": "longest_first",
87
  "unk_token": "<unk>",
88
- "use_default_system_prompt": true
 
89
  }
 
85
  "truncation_side": "right",
86
  "truncation_strategy": "longest_first",
87
  "unk_token": "<unk>",
88
+ "use_default_system_prompt": false,
89
+ "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 %}"
90
  }