kingsley01 commited on
Commit
3200b22
·
verified ·
1 Parent(s): 0faad1d

Upload processor

Browse files
preprocessor_config.json CHANGED
@@ -18,6 +18,7 @@
18
  ],
19
  "max_patches": 12,
20
  "min_patches": 1,
 
21
  "resample": 3,
22
  "rescale_factor": 0.00392156862745098,
23
  "size": {
 
18
  ],
19
  "max_patches": 12,
20
  "min_patches": 1,
21
+ "processor_class": "InternVLProcessor",
22
  "resample": 3,
23
  "rescale_factor": 0.00392156862745098,
24
  "size": {
processor_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_image_token": "<IMG_CONTEXT>",
3
+ "end_image_token": "</img>",
4
+ "fake_image_token": "<image>",
5
+ "fake_video_token": "<video>",
6
+ "image_seq_length": 256,
7
+ "processor_class": "InternVLProcessor",
8
+ "start_image_token": "<img>"
9
+ }
tokenizer_config.json CHANGED
@@ -96,6 +96,7 @@
96
  "extra_special_tokens": {},
97
  "model_max_length": 1000000000000000019884624838656,
98
  "pad_token": "</s>",
 
99
  "return_token_type_ids": false,
100
  "sp_model_kwargs": null,
101
  "tokenizer_class": "InternLM2Tokenizer",
 
96
  "extra_special_tokens": {},
97
  "model_max_length": 1000000000000000019884624838656,
98
  "pad_token": "</s>",
99
+ "processor_class": "InternVLProcessor",
100
  "return_token_type_ids": false,
101
  "sp_model_kwargs": null,
102
  "tokenizer_class": "InternLM2Tokenizer",