psinger commited on
Commit
2d8f7f5
1 Parent(s): fd744ec

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -30,7 +30,7 @@
30
  },
31
  "additional_special_tokens": [],
32
  "bos_token": "<s>",
33
- "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ ' <|prompt|>' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% elif message['role'] == 'assistant' %}{{ ' <|answer|> ' + message['content'] + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ ' <|answer|>' }}{% endif %}{% endfor %}",
34
  "clean_up_tokenization_spaces": false,
35
  "cls_token": "</s>",
36
  "eos_token": "</s>",
 
30
  },
31
  "additional_special_tokens": [],
32
  "bos_token": "<s>",
33
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '<|prompt|>' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% elif message['role'] == 'assistant' %}{{ ' <|answer|> ' + message['content'] + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ ' <|answer|>' }}{% endif %}{% endfor %}",
34
  "clean_up_tokenization_spaces": false,
35
  "cls_token": "</s>",
36
  "eos_token": "</s>",