edwko commited on
Commit
a444e60
1 Parent(s): 25f3b6b

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -29,7 +29,7 @@
29
  }
30
  },
31
  "bos_token": "<s>",
32
- "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{'<s>user\n' + message['content'] + '</s>\n'}}{% elif message['role'] == 'assistant' %}{{'<s>assistant\n' + message['content'] + '</s>\n'}}{% elif message['role'] == 'system' %}{{'<s>system\n' + message['content'] + '</s>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{'<s>assistant\n'}}{% endif %}",
33
  "clean_up_tokenization_spaces": false,
34
  "eos_token": "</s>",
35
  "legacy": true,
 
29
  }
30
  },
31
  "bos_token": "<s>",
32
+ "chat_template": "{% for message in messages %}{{bos_token + message['role'] + '\n' + message['content'] + eos_token + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ bos_token + 'assistant\n' }}{% endif %}",
33
  "clean_up_tokenization_spaces": false,
34
  "eos_token": "</s>",
35
  "legacy": true,