Upload processor
Browse files- .gitattributes +1 -0
- README.md +1 -1
- preprocessor_config.json +13 -0
- tokenizer.json +3 -0
- tokenizer_config.json +1 -1
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
---
|
2 |
license: cc-by-nc-sa-4.0
|
3 |
-
base_model: microsoft/layoutxlm-base
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- xfun
|
|
|
8 |
model-index:
|
9 |
- name: layoutxlm-finetuned-xfund-zh
|
10 |
results: []
|
|
|
1 |
---
|
2 |
license: cc-by-nc-sa-4.0
|
|
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
datasets:
|
6 |
- xfun
|
7 |
+
base_model: microsoft/layoutxlm-base
|
8 |
model-index:
|
9 |
- name: layoutxlm-finetuned-xfund-zh
|
10 |
results: []
|
preprocessor_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"apply_ocr": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"image_processor_type": "LayoutLMv2ImageProcessor",
|
5 |
+
"ocr_lang": null,
|
6 |
+
"processor_class": "LayoutXLMProcessor",
|
7 |
+
"resample": 2,
|
8 |
+
"size": {
|
9 |
+
"height": 224,
|
10 |
+
"width": 224
|
11 |
+
},
|
12 |
+
"tesseract_config": ""
|
13 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6f76fe13d42f80dcee0cb86a1aeb5f14f8909bb8a8782f7a4a4ad76697ef164
|
3 |
+
size 17083021
|
tokenizer_config.json
CHANGED
@@ -62,6 +62,7 @@
|
|
62 |
0
|
63 |
],
|
64 |
"pad_token_label": -100,
|
|
|
65 |
"sep_token": "</s>",
|
66 |
"sep_token_box": [
|
67 |
1000,
|
@@ -69,7 +70,6 @@
|
|
69 |
1000,
|
70 |
1000
|
71 |
],
|
72 |
-
"sp_model_kwargs": {},
|
73 |
"tokenizer_class": "LayoutXLMTokenizer",
|
74 |
"unk_token": "<unk>"
|
75 |
}
|
|
|
62 |
0
|
63 |
],
|
64 |
"pad_token_label": -100,
|
65 |
+
"processor_class": "LayoutXLMProcessor",
|
66 |
"sep_token": "</s>",
|
67 |
"sep_token_box": [
|
68 |
1000,
|
|
|
70 |
1000,
|
71 |
1000
|
72 |
],
|
|
|
73 |
"tokenizer_class": "LayoutXLMTokenizer",
|
74 |
"unk_token": "<unk>"
|
75 |
}
|