danaaubakirova HF staff commited on
Commit
5b93d87
1 Parent(s): 1e57021

Upload processor

Browse files
Files changed (2) hide show
  1. preprocessor_config.json +8 -5
  2. tokenizer.json +8 -1
preprocessor_config.json CHANGED
@@ -17,20 +17,22 @@
17
  "input_data_format"
18
  ],
19
  "crop_size": {
20
- "height": 224,
21
- "width": 224
22
  },
23
- "do_center_crop": true,
 
24
  "do_convert_rgb": true,
25
  "do_normalize": true,
26
  "do_rescale": true,
27
  "do_resize": true,
 
28
  "image_mean": [
29
  0.48145466,
30
  0.4578275,
31
  0.40821073
32
  ],
33
- "image_processor_type": "CLIPImageProcessor",
34
  "image_std": [
35
  0.26862954,
36
  0.26130258,
@@ -40,6 +42,7 @@
40
  "resample": 3,
41
  "rescale_factor": 0.00392156862745098,
42
  "size": {
43
- "shortest_edge": 224
 
44
  }
45
  }
 
17
  "input_data_format"
18
  ],
19
  "crop_size": {
20
+ "height": false,
21
+ "width": false
22
  },
23
+ "do_anchor_resize": true,
24
+ "do_center_crop": false,
25
  "do_convert_rgb": true,
26
  "do_normalize": true,
27
  "do_rescale": true,
28
  "do_resize": true,
29
+ "do_shape_adaptive_cropping": true,
30
  "image_mean": [
31
  0.48145466,
32
  0.4578275,
33
  0.40821073
34
  ],
35
+ "image_processor_type": "MPLUGDocOwlImageProcessor",
36
  "image_std": [
37
  0.26862954,
38
  0.26130258,
 
42
  "resample": 3,
43
  "rescale_factor": 0.00392156862745098,
44
  "size": {
45
+ "height": 448,
46
+ "width": 448
47
  }
48
  }
tokenizer.json CHANGED
@@ -1,7 +1,14 @@
1
  {
2
  "version": "1.0",
3
  "truncation": null,
4
- "padding": null,
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
  "truncation": null,
4
+ "padding": {
5
+ "strategy": "BatchLongest",
6
+ "direction": "Right",
7
+ "pad_to_multiple_of": null,
8
+ "pad_id": 32001,
9
+ "pad_type_id": 0,
10
+ "pad_token": "<pad>"
11
+ },
12
  "added_tokens": [
13
  {
14
  "id": 0,