Mihaiii commited on
Commit
07e3c15
1 Parent(s): 2050c35

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -44,6 +44,7 @@
44
  }
45
  },
46
  "bos_token": "<s>",
 
47
  "clean_up_tokenization_spaces": false,
48
  "eos_token": "</s>",
49
  "legacy": false,
 
44
  }
45
  },
46
  "bos_token": "<s>",
47
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{% if message['content']%}{{'SYSTEM:\n' + message['content']+'\n\n'}}{% endif %}{% elif message['role'] == 'user' %}{{'USER:\n' + message['content']+'\n\n'}}{% elif message['role'] == 'assistant' %}{{'ASSISTANT:\n' + message['content']}}{% endif %}{% if loop.last and add_generation_prompt %}{{ 'ASSISTANT:\n' }}{% endif %}{% endfor %}",
48
  "clean_up_tokenization_spaces": false,
49
  "eos_token": "</s>",
50
  "legacy": false,