phuonglk commited on
Commit
9d789e4
1 Parent(s): 1adeb27

Always add_generations_prompts

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -46,7 +46,7 @@
46
  "<|pad_0|>"
47
  ],
48
  "bos_token": "<s>",
49
- "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ 'GPT4 Correct User: ' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ message['content'] + eos_token }}{% elif message['role'] == 'assistant' %}{{ 'GPT4 Correct Assistant: ' + message['content'] + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ 'GPT4 Correct Assistant: ' }}{% endif %}{% endfor %}",
50
  "clean_up_tokenization_spaces": false,
51
  "eos_token": "<|end_of_turn|>",
52
  "legacy": true,
 
46
  "<|pad_0|>"
47
  ],
48
  "bos_token": "<s>",
49
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ 'GPT4 Correct User: ' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ message['content'] + eos_token }}{% elif message['role'] == 'assistant' %}{{ 'GPT4 Correct Assistant: ' + message['content'] + eos_token }}{% endif %}{% if loop.last %}{{ 'GPT4 Correct Assistant: ' }}{% endif %}{% endfor %}",
50
  "clean_up_tokenization_spaces": false,
51
  "eos_token": "<|end_of_turn|>",
52
  "legacy": true,