Corianas commited on
Commit
b9be4cc
·
verified ·
1 Parent(s): 2a351f1

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -2
tokenizer_config.json CHANGED
@@ -45,6 +45,5 @@
45
  "sp_model_kwargs": {},
46
  "tokenizer_class": "LlamaTokenizer",
47
  "unk_token": "<unk>",
48
- "use_default_system_prompt": false,
49
- "chat_template": "{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ message['content'] + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}"
50
  }
 
45
  "sp_model_kwargs": {},
46
  "tokenizer_class": "LlamaTokenizer",
47
  "unk_token": "<unk>",
48
+ "use_default_system_prompt": false
 
49
  }