Upload processor
#1
by
cmama002
- opened
- preprocessor_config.json +3 -1
- tokenizer_config.json +1 -1
preprocessor_config.json
CHANGED
@@ -2,14 +2,15 @@
|
|
2 |
"do_align_long_axis": false,
|
3 |
"do_normalize": true,
|
4 |
"do_pad": true,
|
|
|
5 |
"do_resize": true,
|
6 |
"do_thumbnail": true,
|
7 |
-
"feature_extractor_type": "DonutFeatureExtractor",
|
8 |
"image_mean": [
|
9 |
0.5,
|
10 |
0.5,
|
11 |
0.5
|
12 |
],
|
|
|
13 |
"image_std": [
|
14 |
0.5,
|
15 |
0.5,
|
@@ -17,6 +18,7 @@
|
|
17 |
],
|
18 |
"processor_class": "DonutProcessor",
|
19 |
"resample": 2,
|
|
|
20 |
"size": [
|
21 |
960,
|
22 |
1280
|
|
|
2 |
"do_align_long_axis": false,
|
3 |
"do_normalize": true,
|
4 |
"do_pad": true,
|
5 |
+
"do_rescale": true,
|
6 |
"do_resize": true,
|
7 |
"do_thumbnail": true,
|
|
|
8 |
"image_mean": [
|
9 |
0.5,
|
10 |
0.5,
|
11 |
0.5
|
12 |
],
|
13 |
+
"image_processor_type": "DonutImageProcessor",
|
14 |
"image_std": [
|
15 |
0.5,
|
16 |
0.5,
|
|
|
18 |
],
|
19 |
"processor_class": "DonutProcessor",
|
20 |
"resample": 2,
|
21 |
+
"rescale_factor": 0.00392156862745098,
|
22 |
"size": [
|
23 |
960,
|
24 |
1280
|
tokenizer_config.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
"rstrip": false,
|
11 |
"single_word": false
|
12 |
},
|
13 |
-
"
|
14 |
"pad_token": "<pad>",
|
15 |
"processor_class": "DonutProcessor",
|
16 |
"sep_token": "</s>",
|
|
|
10 |
"rstrip": false,
|
11 |
"single_word": false
|
12 |
},
|
13 |
+
"model_max_length": 1000000000000000019884624838656,
|
14 |
"pad_token": "<pad>",
|
15 |
"processor_class": "DonutProcessor",
|
16 |
"sep_token": "</s>",
|