hugginglaoda
commited on
Commit
•
785841b
1
Parent(s):
7415984
Training in progress, step 200
Browse files- .gitignore +1 -0
- config.json +132 -0
- preprocessor_config.json +14 -0
- pytorch_model.bin +3 -0
- runs/Apr01_14-55-38_03b14e1d712b/1680364620.5392804/events.out.tfevents.1680364620.03b14e1d712b.19387.1 +3 -0
- runs/Apr01_14-55-38_03b14e1d712b/events.out.tfevents.1680364620.03b14e1d712b.19387.0 +3 -0
- runs/Apr02_10-43-23_4439cc648e9b/1680432218.7477906/events.out.tfevents.1680432218.4439cc648e9b.152.1 +3 -0
- runs/Apr02_10-43-23_4439cc648e9b/events.out.tfevents.1680432218.4439cc648e9b.152.0 +3 -0
- runs/Apr02_10-52-51_4439cc648e9b/1680432786.8585145/events.out.tfevents.1680432786.4439cc648e9b.92.1 +3 -0
- runs/Apr02_10-52-51_4439cc648e9b/events.out.tfevents.1680432786.4439cc648e9b.92.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +37 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlmv2-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMv2ForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"convert_sync_batchnorm": true,
|
8 |
+
"coordinate_size": 128,
|
9 |
+
"detectron2_config_args": {
|
10 |
+
"MODEL.ANCHOR_GENERATOR.SIZES": [
|
11 |
+
[
|
12 |
+
32
|
13 |
+
],
|
14 |
+
[
|
15 |
+
64
|
16 |
+
],
|
17 |
+
[
|
18 |
+
128
|
19 |
+
],
|
20 |
+
[
|
21 |
+
256
|
22 |
+
],
|
23 |
+
[
|
24 |
+
512
|
25 |
+
]
|
26 |
+
],
|
27 |
+
"MODEL.BACKBONE.NAME": "build_resnet_fpn_backbone",
|
28 |
+
"MODEL.FPN.IN_FEATURES": [
|
29 |
+
"res2",
|
30 |
+
"res3",
|
31 |
+
"res4",
|
32 |
+
"res5"
|
33 |
+
],
|
34 |
+
"MODEL.MASK_ON": true,
|
35 |
+
"MODEL.PIXEL_STD": [
|
36 |
+
57.375,
|
37 |
+
57.12,
|
38 |
+
58.395
|
39 |
+
],
|
40 |
+
"MODEL.POST_NMS_TOPK_TEST": 1000,
|
41 |
+
"MODEL.RESNETS.ASPECT_RATIOS": [
|
42 |
+
[
|
43 |
+
0.5,
|
44 |
+
1.0,
|
45 |
+
2.0
|
46 |
+
]
|
47 |
+
],
|
48 |
+
"MODEL.RESNETS.DEPTH": 101,
|
49 |
+
"MODEL.RESNETS.NUM_GROUPS": 32,
|
50 |
+
"MODEL.RESNETS.OUT_FEATURES": [
|
51 |
+
"res2",
|
52 |
+
"res3",
|
53 |
+
"res4",
|
54 |
+
"res5"
|
55 |
+
],
|
56 |
+
"MODEL.RESNETS.SIZES": [
|
57 |
+
[
|
58 |
+
32
|
59 |
+
],
|
60 |
+
[
|
61 |
+
64
|
62 |
+
],
|
63 |
+
[
|
64 |
+
128
|
65 |
+
],
|
66 |
+
[
|
67 |
+
256
|
68 |
+
],
|
69 |
+
[
|
70 |
+
512
|
71 |
+
]
|
72 |
+
],
|
73 |
+
"MODEL.RESNETS.STRIDE_IN_1X1": false,
|
74 |
+
"MODEL.RESNETS.WIDTH_PER_GROUP": 8,
|
75 |
+
"MODEL.ROI_BOX_HEAD.NAME": "FastRCNNConvFCHead",
|
76 |
+
"MODEL.ROI_BOX_HEAD.NUM_FC": 2,
|
77 |
+
"MODEL.ROI_BOX_HEAD.POOLER_RESOLUTION": 14,
|
78 |
+
"MODEL.ROI_HEADS.IN_FEATURES": [
|
79 |
+
"p2",
|
80 |
+
"p3",
|
81 |
+
"p4",
|
82 |
+
"p5"
|
83 |
+
],
|
84 |
+
"MODEL.ROI_HEADS.NAME": "StandardROIHeads",
|
85 |
+
"MODEL.ROI_HEADS.NUM_CLASSES": 5,
|
86 |
+
"MODEL.ROI_MASK_HEAD.NAME": "MaskRCNNConvUpsampleHead",
|
87 |
+
"MODEL.ROI_MASK_HEAD.NUM_CONV": 4,
|
88 |
+
"MODEL.ROI_MASK_HEAD.POOLER_RESOLUTION": 7,
|
89 |
+
"MODEL.RPN.IN_FEATURES": [
|
90 |
+
"p2",
|
91 |
+
"p3",
|
92 |
+
"p4",
|
93 |
+
"p5",
|
94 |
+
"p6"
|
95 |
+
],
|
96 |
+
"MODEL.RPN.POST_NMS_TOPK_TRAIN": 1000,
|
97 |
+
"MODEL.RPN.PRE_NMS_TOPK_TEST": 1000,
|
98 |
+
"MODEL.RPN.PRE_NMS_TOPK_TRAIN": 2000
|
99 |
+
},
|
100 |
+
"fast_qkv": true,
|
101 |
+
"gradient_checkpointing": false,
|
102 |
+
"has_relative_attention_bias": true,
|
103 |
+
"has_spatial_attention_bias": true,
|
104 |
+
"has_visual_segment_embedding": true,
|
105 |
+
"hidden_act": "gelu",
|
106 |
+
"hidden_dropout_prob": 0.1,
|
107 |
+
"hidden_size": 768,
|
108 |
+
"image_feature_pool_shape": [
|
109 |
+
7,
|
110 |
+
7,
|
111 |
+
256
|
112 |
+
],
|
113 |
+
"initializer_range": 0.02,
|
114 |
+
"intermediate_size": 3072,
|
115 |
+
"layer_norm_eps": 1e-12,
|
116 |
+
"max_2d_position_embeddings": 1024,
|
117 |
+
"max_position_embeddings": 512,
|
118 |
+
"max_rel_2d_pos": 256,
|
119 |
+
"max_rel_pos": 128,
|
120 |
+
"model_type": "layoutlmv2",
|
121 |
+
"num_attention_heads": 12,
|
122 |
+
"num_hidden_layers": 12,
|
123 |
+
"output_past": true,
|
124 |
+
"pad_token_id": 0,
|
125 |
+
"rel_2d_pos_bins": 64,
|
126 |
+
"rel_pos_bins": 32,
|
127 |
+
"shape_size": 128,
|
128 |
+
"torch_dtype": "float32",
|
129 |
+
"transformers_version": "4.27.4",
|
130 |
+
"type_vocab_size": 2,
|
131 |
+
"vocab_size": 30522
|
132 |
+
}
|
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 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41ca2fd2f6db37c737dac0f2405eeb6d884132bc956e70f5488297ece931a2e7
|
3 |
+
size 802219069
|
runs/Apr01_14-55-38_03b14e1d712b/1680364620.5392804/events.out.tfevents.1680364620.03b14e1d712b.19387.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64a6cdf723c0b88ca213ca2b03c4281df9fa0ae20817115c58be784cdfb44cad
|
3 |
+
size 5865
|
runs/Apr01_14-55-38_03b14e1d712b/events.out.tfevents.1680364620.03b14e1d712b.19387.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abf450af161c2d6b076fc93cdc448a545368bb824c3997b4589b0f8f7388863e
|
3 |
+
size 6021
|
runs/Apr02_10-43-23_4439cc648e9b/1680432218.7477906/events.out.tfevents.1680432218.4439cc648e9b.152.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8621155e73524417f570afc9a91e03c913e3ecab341f9cc0dcc404f10855c3d0
|
3 |
+
size 5865
|
runs/Apr02_10-43-23_4439cc648e9b/events.out.tfevents.1680432218.4439cc648e9b.152.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:564afa12c0b929dc3ffab6ddaed17b117b683a77291269e0424fedc3dffd2adb
|
3 |
+
size 6021
|
runs/Apr02_10-52-51_4439cc648e9b/1680432786.8585145/events.out.tfevents.1680432786.4439cc648e9b.92.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95e739946daf366adb29d7a8c8bd90388f81fc54e92b7b2284e148667528069c
|
3 |
+
size 5865
|
runs/Apr02_10-52-51_4439cc648e9b/events.out.tfevents.1680432786.4439cc648e9b.92.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f067bb7a8eda30078d84dec03660508c5e5a3732634a36df7e6c9b602eab51ef
|
3 |
+
size 7717
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": null,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"cls_token_box": [
|
5 |
+
0,
|
6 |
+
0,
|
7 |
+
0,
|
8 |
+
0
|
9 |
+
],
|
10 |
+
"do_basic_tokenize": true,
|
11 |
+
"do_lower_case": true,
|
12 |
+
"mask_token": "[MASK]",
|
13 |
+
"model_max_length": 512,
|
14 |
+
"never_split": null,
|
15 |
+
"only_label_first_subword": true,
|
16 |
+
"pad_token": "[PAD]",
|
17 |
+
"pad_token_box": [
|
18 |
+
0,
|
19 |
+
0,
|
20 |
+
0,
|
21 |
+
0
|
22 |
+
],
|
23 |
+
"pad_token_label": -100,
|
24 |
+
"processor_class": "LayoutLMv2Processor",
|
25 |
+
"sep_token": "[SEP]",
|
26 |
+
"sep_token_box": [
|
27 |
+
1000,
|
28 |
+
1000,
|
29 |
+
1000,
|
30 |
+
1000
|
31 |
+
],
|
32 |
+
"special_tokens_map_file": null,
|
33 |
+
"strip_accents": null,
|
34 |
+
"tokenize_chinese_chars": true,
|
35 |
+
"tokenizer_class": "LayoutLMv2Tokenizer",
|
36 |
+
"unk_token": "[UNK]"
|
37 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7bc71d9de642ba92584466d78bf47766da08a3af05faa98533436b97183f81f6
|
3 |
+
size 3579
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|