youjunhyeok commited on
Commit
4ee2f95
1 Parent(s): 8e19405

Upload tokenizer

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -135,7 +135,7 @@
135
  null
136
  ]
137
  },
138
- "chat_template": "{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{{ '[gMASK]<sop>' + system_message }}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|user|>\n' + content + '<|assistant|>' }}{% elif message['role'] == 'assistant' %}{{ '\n' + content }}{% endif %}{% endfor %}",
139
  "clean_up_tokenization_spaces": false,
140
  "do_lower_case": false,
141
  "eos_token": "<|endoftext|>",
 
135
  null
136
  ]
137
  },
138
+ "chat_template": "{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ system_message + '\n' }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'Human: ' + content + '\nAssistant: ' }}{% elif message['role'] == 'assistant' %}{{ content + '<|endoftext|>' + '\n' }}{% endif %}{% endfor %}",
139
  "clean_up_tokenization_spaces": false,
140
  "do_lower_case": false,
141
  "eos_token": "<|endoftext|>",