fedihch commited on
Commit
3388ad1
1 Parent(s): 33029f4
Files changed (2) hide show
  1. config.json +177 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Mymodel_2022_08_01-11:19:29_AM",
3
+ "architectures": [
4
+ "LayoutLMv2ForSequenceClassification"
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": "LABEL_0",
110
+ "1": "LABEL_1",
111
+ "2": "LABEL_2",
112
+ "3": "LABEL_3",
113
+ "4": "LABEL_4",
114
+ "5": "LABEL_5",
115
+ "6": "LABEL_6",
116
+ "7": "LABEL_7",
117
+ "8": "LABEL_8",
118
+ "9": "LABEL_9",
119
+ "10": "LABEL_10",
120
+ "11": "LABEL_11",
121
+ "12": "LABEL_12",
122
+ "13": "LABEL_13",
123
+ "14": "LABEL_14",
124
+ "15": "LABEL_15",
125
+ "16": "LABEL_16",
126
+ "17": "LABEL_17",
127
+ "18": "LABEL_18",
128
+ "19": "LABEL_19"
129
+ },
130
+ "image_feature_pool_shape": [
131
+ 7,
132
+ 7,
133
+ 256
134
+ ],
135
+ "initializer_range": 0.02,
136
+ "intermediate_size": 3072,
137
+ "label2id": {
138
+ "LABEL_0": 0,
139
+ "LABEL_1": 1,
140
+ "LABEL_10": 10,
141
+ "LABEL_11": 11,
142
+ "LABEL_12": 12,
143
+ "LABEL_13": 13,
144
+ "LABEL_14": 14,
145
+ "LABEL_15": 15,
146
+ "LABEL_16": 16,
147
+ "LABEL_17": 17,
148
+ "LABEL_18": 18,
149
+ "LABEL_19": 19,
150
+ "LABEL_2": 2,
151
+ "LABEL_3": 3,
152
+ "LABEL_4": 4,
153
+ "LABEL_5": 5,
154
+ "LABEL_6": 6,
155
+ "LABEL_7": 7,
156
+ "LABEL_8": 8,
157
+ "LABEL_9": 9
158
+ },
159
+ "layer_norm_eps": 1e-12,
160
+ "max_2d_position_embeddings": 1024,
161
+ "max_position_embeddings": 512,
162
+ "max_rel_2d_pos": 256,
163
+ "max_rel_pos": 128,
164
+ "model_type": "layoutlmv2",
165
+ "num_attention_heads": 12,
166
+ "num_hidden_layers": 12,
167
+ "output_past": true,
168
+ "pad_token_id": 0,
169
+ "problem_type": "single_label_classification",
170
+ "rel_2d_pos_bins": 64,
171
+ "rel_pos_bins": 32,
172
+ "shape_size": 128,
173
+ "torch_dtype": "float32",
174
+ "transformers_version": "4.21.0",
175
+ "type_vocab_size": 2,
176
+ "vocab_size": 30522
177
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5849f1cdca8e5afbac3ccdf10cbf4d2e558bbeb4ab63f7ac28bbed6b0099f8d8
3
+ size 802379051