ankke commited on
Commit
c1554b5
·
1 Parent(s): 9c091fe

Update configs for GGUF export

Browse files
Files changed (3) hide show
  1. config.json +1 -1
  2. preprocessor_config.json +47 -0
  3. processor_config.json +2 -48
config.json CHANGED
@@ -92,7 +92,7 @@
92
  "vocab_size": 65536
93
  },
94
  "tile_size": 512,
95
- "transformers_version": "5.0.0.dev0",
96
  "use_image_special_tokens": true,
97
  "use_thumbnail": true,
98
  "vision_config": {
 
92
  "vocab_size": 65536
93
  },
94
  "tile_size": 512,
95
+ "transformers_version": "4.57.1",
96
  "use_image_special_tokens": true,
97
  "use_thumbnail": true,
98
  "vision_config": {
preprocessor_config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": true,
5
+ "device": null,
6
+ "disable_grouping": null,
7
+ "do_center_crop": null,
8
+ "do_convert_rgb": null,
9
+ "do_image_splitting": true,
10
+ "do_normalize": true,
11
+ "do_pad": true,
12
+ "do_rescale": true,
13
+ "do_resize": false,
14
+ "downsample_factor": 2,
15
+ "encoder_patch_size": 16,
16
+ "image_mean": [
17
+ 0.5,
18
+ 0.5,
19
+ 0.5
20
+ ],
21
+ "image_processor_type": "Lfm2VlImageProcessorFast",
22
+ "image_std": [
23
+ 0.5,
24
+ 0.5,
25
+ 0.5
26
+ ],
27
+ "input_data_format": null,
28
+ "max_image_tokens": 256,
29
+ "max_num_patches": 1024,
30
+ "max_pixels_tolerance": 2.0,
31
+ "max_tiles": 10,
32
+ "min_image_tokens": 64,
33
+ "min_tiles": 2,
34
+ "pad_size": null,
35
+ "processor_class": "Lfm2VlProcessor",
36
+ "resample": 3,
37
+ "rescale_factor": 0.00392156862745098,
38
+ "return_row_col_info": true,
39
+ "return_tensors": null,
40
+ "size": {
41
+ "height": 512,
42
+ "width": 512
43
+ },
44
+ "tile_size": 512,
45
+ "use_numpy_backend": true,
46
+ "use_thumbnail": true
47
+ }
processor_config.json CHANGED
@@ -1,50 +1,4 @@
1
  {
2
- "image_processor": {
3
- "crop_size": null,
4
- "data_format": "channels_first",
5
- "default_to_square": true,
6
- "device": null,
7
- "disable_grouping": null,
8
- "do_center_crop": null,
9
- "do_convert_rgb": null,
10
- "do_image_splitting": true,
11
- "do_normalize": true,
12
- "do_pad": true,
13
- "do_rescale": true,
14
- "do_resize": false,
15
- "downsample_factor": 2,
16
- "encoder_patch_size": 16,
17
- "image_mean": [
18
- 0.5,
19
- 0.5,
20
- 0.5
21
- ],
22
- "image_processor_type": "Lfm2VlImageProcessorFast",
23
- "image_std": [
24
- 0.5,
25
- 0.5,
26
- 0.5
27
- ],
28
- "input_data_format": null,
29
- "max_image_tokens": 256,
30
- "max_num_patches": 1024,
31
- "max_pixels_tolerance": 2.0,
32
- "max_tiles": 10,
33
- "min_image_tokens": 64,
34
- "min_tiles": 2,
35
- "pad_size": null,
36
- "processor_class": "Lfm2VlProcessor",
37
- "resample": 3,
38
- "rescale_factor": 0.00392156862745098,
39
- "return_row_col_info": true,
40
- "return_tensors": null,
41
- "size": {
42
- "height": 512,
43
- "width": 512
44
- },
45
- "tile_size": 512,
46
- "use_numpy_backend": true,
47
- "use_thumbnail": true
48
- },
49
- "processor_class": "Lfm2VlProcessor"
50
  }
 
1
  {
2
+ "processor_class": "Lfm2VlProcessor",
3
+ "use_image_special_tokens": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }