Theivaprakasham
commited on
Commit
•
5e1423a
1
Parent(s):
dae430d
Training in progress, step 500
Browse files
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlmv2-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMv2ForTokenClassification"
|
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": false,
|
105 |
+
"hidden_act": "gelu",
|
106 |
+
"hidden_dropout_prob": 0.1,
|
107 |
+
"hidden_size": 768,
|
108 |
+
"id2label": {
|
109 |
+
"0": "O",
|
110 |
+
"1": "B-ABN",
|
111 |
+
"2": "B-BILLER",
|
112 |
+
"3": "B-BILLER_ADDRESS",
|
113 |
+
"4": "B-BILLER_POST_CODE",
|
114 |
+
"5": "B-DUE_DATE",
|
115 |
+
"6": "B-GST",
|
116 |
+
"7": "B-INVOICE_DATE",
|
117 |
+
"8": "B-INVOICE_NUMBER",
|
118 |
+
"9": "B-SUBTOTAL",
|
119 |
+
"10": "B-TOTAL",
|
120 |
+
"11": "I-BILLER_ADDRESS"
|
121 |
+
},
|
122 |
+
"image_feature_pool_shape": [
|
123 |
+
7,
|
124 |
+
7,
|
125 |
+
256
|
126 |
+
],
|
127 |
+
"initializer_range": 0.02,
|
128 |
+
"intermediate_size": 3072,
|
129 |
+
"label2id": {
|
130 |
+
"B-ABN": 1,
|
131 |
+
"B-BILLER": 2,
|
132 |
+
"B-BILLER_ADDRESS": 3,
|
133 |
+
"B-BILLER_POST_CODE": 4,
|
134 |
+
"B-DUE_DATE": 5,
|
135 |
+
"B-GST": 6,
|
136 |
+
"B-INVOICE_DATE": 7,
|
137 |
+
"B-INVOICE_NUMBER": 8,
|
138 |
+
"B-SUBTOTAL": 9,
|
139 |
+
"B-TOTAL": 10,
|
140 |
+
"I-BILLER_ADDRESS": 11,
|
141 |
+
"O": 0
|
142 |
+
},
|
143 |
+
"layer_norm_eps": 1e-12,
|
144 |
+
"max_2d_position_embeddings": 1024,
|
145 |
+
"max_position_embeddings": 512,
|
146 |
+
"max_rel_2d_pos": 256,
|
147 |
+
"max_rel_pos": 128,
|
148 |
+
"model_type": "layoutlmv2",
|
149 |
+
"num_attention_heads": 12,
|
150 |
+
"num_hidden_layers": 12,
|
151 |
+
"output_past": true,
|
152 |
+
"pad_token_id": 0,
|
153 |
+
"rel_2d_pos_bins": 64,
|
154 |
+
"rel_pos_bins": 32,
|
155 |
+
"shape_size": 128,
|
156 |
+
"torch_dtype": "float32",
|
157 |
+
"transformers_version": "4.16.2",
|
158 |
+
"type_vocab_size": 2,
|
159 |
+
"vocab_size": 30522
|
160 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1639061bb50c23396a5576c571fa6ccdc87ce90ccdd40e3d0ab54c89f916fd11
|
3 |
+
size 802290514
|
runs/Feb28_08-26-22_9ca6d3ddaa9a/1646036788.8437035/events.out.tfevents.1646036788.9ca6d3ddaa9a.976.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8623e31a5b06bfd38221c393343f6416a427a68c8edebc3fbb2b780ffaa6711e
|
3 |
+
size 4851
|
runs/Feb28_08-26-22_9ca6d3ddaa9a/events.out.tfevents.1646036788.9ca6d3ddaa9a.976.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d46d0f94d804b02cfd06e870049a6e9a6ac4677bf2ec2e58eaa42afd76f9ce5
|
3 |
+
size 6162
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed44dad42ff1e3160752924e18aebe0db3a12b216f79aa927bd052ed3e0538d8
|
3 |
+
size 3119
|