RaushanTurganbay HF staff commited on
Commit
be9b17d
·
verified ·
1 Parent(s): 31ba038

add image as special tokens

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +4 -0
tokenizer_config.json CHANGED
@@ -43,6 +43,10 @@
43
  "clean_up_tokenization_spaces": false,
44
  "eos_token": "<|im_end|>",
45
  "errors": "replace",
 
 
 
 
46
  "model_max_length": 32768,
47
  "pad_token": "<|endoftext|>",
48
  "processor_class": "LlavaProcessor",
 
43
  "clean_up_tokenization_spaces": false,
44
  "eos_token": "<|im_end|>",
45
  "errors": "replace",
46
+ "extra_special_tokens": {
47
+ "image_token": "<image>"
48
+ },
49
+ "image_token": "<image>",
50
  "model_max_length": 32768,
51
  "pad_token": "<|endoftext|>",
52
  "processor_class": "LlavaProcessor",