terryyz commited on
Commit
fbd6a06
1 Parent(s): 3da6ddf

fix: remove chat template from base models

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +0 -1
tokenizer_config.json CHANGED
@@ -31,5 +31,4 @@
31
  "sp_model_kwargs": {},
32
  "unk_token": null,
33
  "tokenizer_class": "LlamaTokenizerFast",
34
- "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{{ bos_token }}{% for message in messages %}{% if message['role'] == 'user' %}{{ 'User: ' + message['content'] + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant: ' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ message['content'] + '\n\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}"
35
  }
 
31
  "sp_model_kwargs": {},
32
  "unk_token": null,
33
  "tokenizer_class": "LlamaTokenizerFast",
 
34
  }