AlhitawiMohammed22 commited on
Commit
68982bc
1 Parent(s): 257c3e5

Upload processor

Browse files
Files changed (2) hide show
  1. preprocessor_config.json +18 -0
  2. tokenizer_config.json +1 -0
preprocessor_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "ViTFeatureExtractor",
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_std": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "processor_class": "TrOCRProcessor",
16
+ "resample": 2,
17
+ "size": 384
18
+ }
tokenizer_config.json CHANGED
@@ -43,6 +43,7 @@
43
  "rstrip": false,
44
  "single_word": false
45
  },
 
46
  "sep_token": {
47
  "__type": "AddedToken",
48
  "content": "</s>",
 
43
  "rstrip": false,
44
  "single_word": false
45
  },
46
+ "processor_class": "TrOCRProcessor",
47
  "sep_token": {
48
  "__type": "AddedToken",
49
  "content": "</s>",