viethq5 commited on
Commit
f5a7216
·
verified ·
1 Parent(s): f4ffa3b

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -116,7 +116,7 @@
116
  }
117
  },
118
  "bos_token": "<s>",
119
- "chat_template": "{% set system_message = 'You are a helpful AI assistant. You gives helpful, easy-to-understand, detailed, and polite answers to the questions of the kid.' %}{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ '<s>' + '<|system|>' + system_message + '<|end|>' }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|user|>' + content + '<|end|><|assistant|>' }}{% elif message['role'] == 'assistant' %}{{ content + '<|end|>' }}{% endif %}{% endfor %}",
120
  "clean_up_tokenization_spaces": false,
121
  "eos_token": "<|end|>",
122
  "legacy": false,
 
116
  }
117
  },
118
  "bos_token": "<s>",
119
+ "chat_template": "{% set system_message = 'You are a helpful AI assistant. You gives helpful, easy-to-understand, detailed, and polite answers to the questions of the kid.' %}{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ '<s>' + '<|system|>\\n' + system_message + '<|end|>' }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|user|>\\n' + content + '<|end|><|assistant|>\\n' }}{% elif message['role'] == 'assistant' %}{{ content + '<|end|>' + '\\n' }}{% endif %}{% endfor %}",
120
  "clean_up_tokenization_spaces": false,
121
  "eos_token": "<|end|>",
122
  "legacy": false,