Upload processor
Browse files- preprocessor_config.json +14 -0
- tokenizer_config.json +1 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"apply_ocr": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"feature_extractor_type": "LayoutLMv2FeatureExtractor",
|
5 |
+
"image_processor_type": "LayoutLMv2ImageProcessor",
|
6 |
+
"ocr_lang": null,
|
7 |
+
"processor_class": "LayoutLMv2Processor",
|
8 |
+
"resample": 2,
|
9 |
+
"size": {
|
10 |
+
"height": 224,
|
11 |
+
"width": 224
|
12 |
+
},
|
13 |
+
"tesseract_config": ""
|
14 |
+
}
|
tokenizer_config.json
CHANGED
@@ -33,5 +33,6 @@
|
|
33 |
"strip_accents": null,
|
34 |
"tokenize_chinese_chars": true,
|
35 |
"tokenizer_class": "LayoutLMv2Tokenizer",
|
|
|
36 |
"unk_token": "[UNK]"
|
37 |
}
|
|
|
33 |
"strip_accents": null,
|
34 |
"tokenize_chinese_chars": true,
|
35 |
"tokenizer_class": "LayoutLMv2Tokenizer",
|
36 |
+
"trust_remote_code": false,
|
37 |
"unk_token": "[UNK]"
|
38 |
}
|