veriepic commited on
Commit
9c72176
·
verified ·
1 Parent(s): 6d02034

Upload tokenizer_config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +9 -1
tokenizer_config.json CHANGED
@@ -1 +1,9 @@
1
- {"bos_token": "<bos>", "eos_token": "<eos>", "pad_token": "<pad>", "unk_token": "<unk>", "model_max_length": 4096, "tokenizer_class": "PreTrainedTokenizerFast"}
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<bos>",
3
+ "eos_token": "<eos>",
4
+ "pad_token": "<pad>",
5
+ "unk_token": "<unk>",
6
+ "model_max_length": 4096,
7
+ "tokenizer_class": "PreTrainedTokenizerFast",
8
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}<system>{{ message['content'] }}<eos>{% elif message['role'] == 'user' %}<user>{{ message['content'] }}<eos>{% elif message['role'] == 'assistant' %}<assistant>{{ message['content'] }}<eos>{% endif %}{% endfor %}{% if add_generation_prompt %}<assistant>{% endif %}"
9
+ }