Abhaykoul commited on
Commit
0ab8c55
1 Parent(s): 1a26f94

Upload 2 files

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +4 -2
tokenizer_config.json CHANGED
@@ -1,4 +1,6 @@
1
  {
 
 
2
  "added_tokens_decoder": {
3
  "32000": {
4
  "content": "õ",
@@ -174,7 +176,7 @@
174
  "normalized": true,
175
  "rstrip": false,
176
  "single_word": false,
177
- "special": true
178
  },
179
  "32022": {
180
  "content": "<API_RUN_START>",
@@ -194,7 +196,7 @@
194
  }
195
  },
196
  "bos_token": "<|begin▁of▁sentence|>",
197
- "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\\n' + message['content'] + '<|im_end|>' + '\\n'}}{% endfor %}",
198
  "clean_up_tokenization_spaces": false,
199
  "eos_token": "<|EOT|>",
200
  "legacy": true,
 
1
  {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
  "added_tokens_decoder": {
5
  "32000": {
6
  "content": "õ",
 
176
  "normalized": true,
177
  "rstrip": false,
178
  "single_word": false,
179
+ "special": false
180
  },
181
  "32022": {
182
  "content": "<API_RUN_START>",
 
196
  }
197
  },
198
  "bos_token": "<|begin▁of▁sentence|>",
199
+ "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 + '<|end▁of▁sentence|>' + '\\n' }}{% endif %}{% endfor %}",
200
  "clean_up_tokenization_spaces": false,
201
  "eos_token": "<|EOT|>",
202
  "legacy": true,