yuyuzhang commited on
Commit
b50b2d6
·
verified ·
1 Parent(s): 02b9dba

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +0 -1
tokenizer_config.json CHANGED
@@ -1026,7 +1026,6 @@
1026
  }
1027
  },
1028
  "bos_token": "<[begin▁of▁sentence]>",
1029
- "chat_template": "{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% set role = message['role'] %}{{ bos_token + role + '\n' + message['content'] | trim + eos_token }}{% endfor %}{% if add_generation_prompt %}{{ bos_token + 'assistant\n'}}{% endif %}",
1030
  "clean_up_tokenization_spaces": false,
1031
  "eos_token": "<[end▁of▁sentence]>",
1032
  "model_max_length": 32768,
 
1026
  }
1027
  },
1028
  "bos_token": "<[begin▁of▁sentence]>",
 
1029
  "clean_up_tokenization_spaces": false,
1030
  "eos_token": "<[end▁of▁sentence]>",
1031
  "model_max_length": 32768,