RaushanTurganbay HF staff commited on
Commit
32b6e3b
1 Parent(s): 15aa392

add special tokens

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +7 -1
tokenizer_config.json CHANGED
@@ -2488,6 +2488,11 @@
2488
  "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
2489
  "clean_up_tokenization_spaces": false,
2490
  "eos_token": "<|im_end|>",
 
 
 
 
 
2491
  "legacy": true,
2492
  "model_max_length": 4096,
2493
  "pad_token": "<unk>",
@@ -2499,5 +2504,6 @@
2499
  "trust_remote_code": false,
2500
  "unk_token": "<unk>",
2501
  "use_default_system_prompt": false,
2502
- "use_fast": true
 
2503
  }
 
2488
  "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
2489
  "clean_up_tokenization_spaces": false,
2490
  "eos_token": "<|im_end|>",
2491
+ "extra_special_tokens": {
2492
+ "image_token": "<image>",
2493
+ "video_token": "<video>"
2494
+ },
2495
+ "image_token": "<image>",
2496
  "legacy": true,
2497
  "model_max_length": 4096,
2498
  "pad_token": "<unk>",
 
2504
  "trust_remote_code": false,
2505
  "unk_token": "<unk>",
2506
  "use_default_system_prompt": false,
2507
+ "use_fast": true,
2508
+ "video_token": "<video>"
2509
  }