AlanRobotics commited on
Commit
49a3693
1 Parent(s): c22867e

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -1676,6 +1676,7 @@
1676
  }
1677
  },
1678
  "bos_token": "<|endoftext|>",
 
1679
  "clean_up_tokenization_spaces": true,
1680
  "eos_token": "<|endoftext|>",
1681
  "errors": "replace",
 
1676
  }
1677
  },
1678
  "bos_token": "<|endoftext|>",
1679
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '### Instruction:\n' + message['content'] + '\n### Response:\n' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% elif message['role'] == 'system' %}{{ '### System:\n' + message['content'] + '\n' }}{% endif %}{% endfor %}",
1680
  "clean_up_tokenization_spaces": true,
1681
  "eos_token": "<|endoftext|>",
1682
  "errors": "replace",