Upload processor
Browse files- preprocessor_config.json +12 -12
- tokenizer_config.json +1 -1
preprocessor_config.json
CHANGED
@@ -7,19 +7,19 @@
|
|
7 |
"do_thumbnail": false,
|
8 |
"feature_extractor_type": "DonutFeatureExtractor",
|
9 |
"image_mean": [
|
10 |
-
0.
|
11 |
-
0.
|
12 |
-
0.
|
13 |
],
|
14 |
"image_processor_type": "VariableDonutImageProcessor",
|
15 |
"image_std": [
|
16 |
-
0.
|
17 |
-
0.
|
18 |
-
0.
|
19 |
],
|
20 |
"max_size": {
|
21 |
-
"height":
|
22 |
-
"width":
|
23 |
},
|
24 |
"patch_size": [
|
25 |
4,
|
@@ -28,9 +28,9 @@
|
|
28 |
"processor_class": "VariableDonutProcessor",
|
29 |
"resample": 2,
|
30 |
"rescale_factor": 0.00392156862745098,
|
31 |
-
"size":
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
"train": false
|
36 |
}
|
|
|
7 |
"do_thumbnail": false,
|
8 |
"feature_extractor_type": "DonutFeatureExtractor",
|
9 |
"image_mean": [
|
10 |
+
0.485,
|
11 |
+
0.456,
|
12 |
+
0.406
|
13 |
],
|
14 |
"image_processor_type": "VariableDonutImageProcessor",
|
15 |
"image_std": [
|
16 |
+
0.229,
|
17 |
+
0.224,
|
18 |
+
0.225
|
19 |
],
|
20 |
"max_size": {
|
21 |
+
"height": 420,
|
22 |
+
"width": 420
|
23 |
},
|
24 |
"patch_size": [
|
25 |
4,
|
|
|
28 |
"processor_class": "VariableDonutProcessor",
|
29 |
"resample": 2,
|
30 |
"rescale_factor": 0.00392156862745098,
|
31 |
+
"size": [
|
32 |
+
420,
|
33 |
+
420
|
34 |
+
],
|
35 |
"train": false
|
36 |
}
|
tokenizer_config.json
CHANGED
@@ -195,7 +195,7 @@
|
|
195 |
"pad_token": "<pad>",
|
196 |
"pad_token_type_id": 0,
|
197 |
"padding_side": "right",
|
198 |
-
"processor_class": "
|
199 |
"stride": 0,
|
200 |
"tokenizer_class": "NougatTokenizer",
|
201 |
"truncation_side": "right",
|
|
|
195 |
"pad_token": "<pad>",
|
196 |
"pad_token_type_id": 0,
|
197 |
"padding_side": "right",
|
198 |
+
"processor_class": "VariableDonutProcessor",
|
199 |
"stride": 0,
|
200 |
"tokenizer_class": "NougatTokenizer",
|
201 |
"truncation_side": "right",
|