CreitinGameplays commited on
Commit
a62ff31
·
verified ·
1 Parent(s): 4bde303

Upload tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -35,7 +35,7 @@
35
  }
36
  },
37
  "bos_token": "<s>",
38
- "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '<|user|>\\n' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ '<|system|>\\n' + message['content'] + eos_token }}{% elif message['role'] == 'assistant' %}{{ '\\n' + message['content'] + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ '' }}{% endif %}{% endfor %}",
39
  "clean_up_tokenization_spaces": false,
40
  "eos_token": "</s>",
41
  "legacy": true,
 
35
  }
36
  },
37
  "bos_token": "<s>",
38
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '<|user|>\\n' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ '<|system|>\\n' + message['content'] + eos_token }}{% elif message['role'] == 'assistant' %}{{ '\\n' + message['content'] + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>' }}{% endif %}{% endfor %}",
39
  "clean_up_tokenization_spaces": false,
40
  "eos_token": "</s>",
41
  "legacy": true,