Abhaykoul commited on
Commit
df700a8
1 Parent(s): 8c4ae8c

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -176,7 +176,7 @@
176
  "<reponame>"
177
  ],
178
  "bos_token": "<|endoftext|>",
179
- "chat_template": "{% for message in messages %}\n{% if message['role'] == 'system' %}\nSystem:\nYou are HelpingAI, an emotional AI that always answers questions in HelpingAI style and always be to the point and answer as short as possible.\n\n{% endif %}\n{% if message['role'] == 'user' %}\nQuestion:\n{{ message['content'] }}\n\n{% elif message['role'] == 'assistant' %}\nAnswer:\n{{ message['content'] }}\n\n{% endif %}\n{% if loop.last and add_generation_prompt %}\nAnswer:\n{% endif %}\n{% endfor %}",
180
  "clean_up_tokenization_spaces": true,
181
  "eos_token": "<|endoftext|>",
182
  "model_max_length": 9223372036854775807,
 
176
  "<reponame>"
177
  ],
178
  "bos_token": "<|endoftext|>",
179
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ 'Question:\n' + message['content'] + '\n\n' }}{% elif message['role'] == 'system' %}\n{{ 'System:\n' + message['content'] + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ 'Answer:\n' + message['content'] + '\n\n' }}{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ 'Answer:\n' }}{% endif %}{% endfor %}",
180
  "clean_up_tokenization_spaces": true,
181
  "eos_token": "<|endoftext|>",
182
  "model_max_length": 9223372036854775807,