IEIT-Yuan commited on
Commit
67d453d
1 Parent(s): ae17769

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +5 -2
tokenizer_config.json CHANGED
@@ -1,6 +1,9 @@
1
  {
2
- "add_bos_token": true,
3
- "add_eos_token": true,
 
 
 
4
  "bos_token": {
5
  "__type": "AddedToken",
6
  "content": "<s>",
 
1
  {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "sep_token": "<sep>",
5
+ "eod_token": "<eod>",
6
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{ message['content'].strip() + '\\n' }}{% elif message['role'] == 'user' %}{{ message['content'].strip() + (sep_token if loop.last else '<n>') }}{% elif message['role'] == 'assistant' %}{{ message['content'].strip() + (sep_token if loop.last else '<n>') }}{% endif %}{% endfor %}",
7
  "bos_token": {
8
  "__type": "AddedToken",
9
  "content": "<s>",