Luke-Bergen commited on
Commit
4e5ad0d
·
verified ·
1 Parent(s): 619d773

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +9 -1
tokenizer_config.json CHANGED
@@ -34,9 +34,17 @@
34
  "rstrip": false,
35
  "single_word": false,
36
  "special": true
 
 
 
 
 
 
 
 
37
  }
38
  },
39
- "additional_special_tokens": [],
40
  "bos_token": "<s>",
41
  "chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{ message['content'] + '\n\n' }}{% elif message['role'] == 'user' %}{{ 'User: ' + message['content'] + '\n' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant: ' + message['content'] + '\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant: ' }}{% endif %}",
42
  "clean_up_tokenization_spaces": false,
 
34
  "rstrip": false,
35
  "single_word": false,
36
  "special": true
37
+ },
38
+ "32000": {
39
+ "content": "<image>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
  }
46
  },
47
+ "additional_special_tokens": ["<image>"],
48
  "bos_token": "<s>",
49
  "chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{ message['content'] + '\n\n' }}{% elif message['role'] == 'user' %}{{ 'User: ' + message['content'] + '\n' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant: ' + message['content'] + '\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant: ' }}{% endif %}",
50
  "clean_up_tokenization_spaces": false,