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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutlmv2-base-uncased",
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
+ "20": "LABEL_20",
130
+ "21": "LABEL_21",
131
+ "22": "LABEL_22",
132
+ "23": "LABEL_23",
133
+ "24": "LABEL_24",
134
+ "25": "LABEL_25",
135
+ "26": "LABEL_26",
136
+ "27": "LABEL_27",
137
+ "28": "LABEL_28",
138
+ "29": "LABEL_29",
139
+ "30": "LABEL_30",
140
+ "31": "LABEL_31",
141
+ "32": "LABEL_32",
142
+ "33": "LABEL_33",
143
+ "34": "LABEL_34",
144
+ "35": "LABEL_35",
145
+ "36": "LABEL_36",
146
+ "37": "LABEL_37",
147
+ "38": "LABEL_38",
148
+ "39": "LABEL_39",
149
+ "40": "LABEL_40",
150
+ "41": "LABEL_41",
151
+ "42": "LABEL_42",
152
+ "43": "LABEL_43",
153
+ "44": "LABEL_44",
154
+ "45": "LABEL_45",
155
+ "46": "LABEL_46",
156
+ "47": "LABEL_47",
157
+ "48": "LABEL_48",
158
+ "49": "LABEL_49",
159
+ "50": "LABEL_50",
160
+ "51": "LABEL_51",
161
+ "52": "LABEL_52",
162
+ "53": "LABEL_53",
163
+ "54": "LABEL_54",
164
+ "55": "LABEL_55",
165
+ "56": "LABEL_56",
166
+ "57": "LABEL_57",
167
+ "58": "LABEL_58",
168
+ "59": "LABEL_59",
169
+ "60": "LABEL_60",
170
+ "61": "LABEL_61",
171
+ "62": "LABEL_62",
172
+ "63": "LABEL_63",
173
+ "64": "LABEL_64",
174
+ "65": "LABEL_65",
175
+ "66": "LABEL_66",
176
+ "67": "LABEL_67",
177
+ "68": "LABEL_68",
178
+ "69": "LABEL_69",
179
+ "70": "LABEL_70",
180
+ "71": "LABEL_71",
181
+ "72": "LABEL_72",
182
+ "73": "LABEL_73",
183
+ "74": "LABEL_74",
184
+ "75": "LABEL_75",
185
+ "76": "LABEL_76",
186
+ "77": "LABEL_77",
187
+ "78": "LABEL_78",
188
+ "79": "LABEL_79",
189
+ "80": "LABEL_80",
190
+ "81": "LABEL_81",
191
+ "82": "LABEL_82",
192
+ "83": "LABEL_83",
193
+ "84": "LABEL_84",
194
+ "85": "LABEL_85",
195
+ "86": "LABEL_86",
196
+ "87": "LABEL_87",
197
+ "88": "LABEL_88",
198
+ "89": "LABEL_89",
199
+ "90": "LABEL_90",
200
+ "91": "LABEL_91",
201
+ "92": "LABEL_92",
202
+ "93": "LABEL_93",
203
+ "94": "LABEL_94",
204
+ "95": "LABEL_95",
205
+ "96": "LABEL_96",
206
+ "97": "LABEL_97",
207
+ "98": "LABEL_98",
208
+ "99": "LABEL_99",
209
+ "100": "LABEL_100",
210
+ "101": "LABEL_101",
211
+ "102": "LABEL_102",
212
+ "103": "LABEL_103",
213
+ "104": "LABEL_104",
214
+ "105": "LABEL_105",
215
+ "106": "LABEL_106",
216
+ "107": "LABEL_107",
217
+ "108": "LABEL_108",
218
+ "109": "LABEL_109",
219
+ "110": "LABEL_110",
220
+ "111": "LABEL_111",
221
+ "112": "LABEL_112",
222
+ "113": "LABEL_113",
223
+ "114": "LABEL_114",
224
+ "115": "LABEL_115",
225
+ "116": "LABEL_116",
226
+ "117": "LABEL_117",
227
+ "118": "LABEL_118",
228
+ "119": "LABEL_119",
229
+ "120": "LABEL_120",
230
+ "121": "LABEL_121",
231
+ "122": "LABEL_122",
232
+ "123": "LABEL_123",
233
+ "124": "LABEL_124",
234
+ "125": "LABEL_125",
235
+ "126": "LABEL_126",
236
+ "127": "LABEL_127",
237
+ "128": "LABEL_128",
238
+ "129": "LABEL_129",
239
+ "130": "LABEL_130",
240
+ "131": "LABEL_131",
241
+ "132": "LABEL_132",
242
+ "133": "LABEL_133",
243
+ "134": "LABEL_134",
244
+ "135": "LABEL_135",
245
+ "136": "LABEL_136",
246
+ "137": "LABEL_137",
247
+ "138": "LABEL_138",
248
+ "139": "LABEL_139",
249
+ "140": "LABEL_140",
250
+ "141": "LABEL_141",
251
+ "142": "LABEL_142",
252
+ "143": "LABEL_143",
253
+ "144": "LABEL_144",
254
+ "145": "LABEL_145",
255
+ "146": "LABEL_146",
256
+ "147": "LABEL_147",
257
+ "148": "LABEL_148",
258
+ "149": "LABEL_149",
259
+ "150": "LABEL_150",
260
+ "151": "LABEL_151",
261
+ "152": "LABEL_152",
262
+ "153": "LABEL_153",
263
+ "154": "LABEL_154",
264
+ "155": "LABEL_155",
265
+ "156": "LABEL_156",
266
+ "157": "LABEL_157",
267
+ "158": "LABEL_158",
268
+ "159": "LABEL_159",
269
+ "160": "LABEL_160",
270
+ "161": "LABEL_161",
271
+ "162": "LABEL_162",
272
+ "163": "LABEL_163",
273
+ "164": "LABEL_164",
274
+ "165": "LABEL_165",
275
+ "166": "LABEL_166",
276
+ "167": "LABEL_167",
277
+ "168": "LABEL_168",
278
+ "169": "LABEL_169",
279
+ "170": "LABEL_170",
280
+ "171": "LABEL_171",
281
+ "172": "LABEL_172",
282
+ "173": "LABEL_173",
283
+ "174": "LABEL_174",
284
+ "175": "LABEL_175",
285
+ "176": "LABEL_176",
286
+ "177": "LABEL_177",
287
+ "178": "LABEL_178",
288
+ "179": "LABEL_179",
289
+ "180": "LABEL_180",
290
+ "181": "LABEL_181",
291
+ "182": "LABEL_182",
292
+ "183": "LABEL_183",
293
+ "184": "LABEL_184",
294
+ "185": "LABEL_185",
295
+ "186": "LABEL_186",
296
+ "187": "LABEL_187",
297
+ "188": "LABEL_188",
298
+ "189": "LABEL_189"
299
+ },
300
+ "image_feature_pool_shape": [
301
+ 7,
302
+ 7,
303
+ 256
304
+ ],
305
+ "initializer_range": 0.02,
306
+ "intermediate_size": 3072,
307
+ "label2id": {
308
+ "LABEL_0": 0,
309
+ "LABEL_1": 1,
310
+ "LABEL_10": 10,
311
+ "LABEL_100": 100,
312
+ "LABEL_101": 101,
313
+ "LABEL_102": 102,
314
+ "LABEL_103": 103,
315
+ "LABEL_104": 104,
316
+ "LABEL_105": 105,
317
+ "LABEL_106": 106,
318
+ "LABEL_107": 107,
319
+ "LABEL_108": 108,
320
+ "LABEL_109": 109,
321
+ "LABEL_11": 11,
322
+ "LABEL_110": 110,
323
+ "LABEL_111": 111,
324
+ "LABEL_112": 112,
325
+ "LABEL_113": 113,
326
+ "LABEL_114": 114,
327
+ "LABEL_115": 115,
328
+ "LABEL_116": 116,
329
+ "LABEL_117": 117,
330
+ "LABEL_118": 118,
331
+ "LABEL_119": 119,
332
+ "LABEL_12": 12,
333
+ "LABEL_120": 120,
334
+ "LABEL_121": 121,
335
+ "LABEL_122": 122,
336
+ "LABEL_123": 123,
337
+ "LABEL_124": 124,
338
+ "LABEL_125": 125,
339
+ "LABEL_126": 126,
340
+ "LABEL_127": 127,
341
+ "LABEL_128": 128,
342
+ "LABEL_129": 129,
343
+ "LABEL_13": 13,
344
+ "LABEL_130": 130,
345
+ "LABEL_131": 131,
346
+ "LABEL_132": 132,
347
+ "LABEL_133": 133,
348
+ "LABEL_134": 134,
349
+ "LABEL_135": 135,
350
+ "LABEL_136": 136,
351
+ "LABEL_137": 137,
352
+ "LABEL_138": 138,
353
+ "LABEL_139": 139,
354
+ "LABEL_14": 14,
355
+ "LABEL_140": 140,
356
+ "LABEL_141": 141,
357
+ "LABEL_142": 142,
358
+ "LABEL_143": 143,
359
+ "LABEL_144": 144,
360
+ "LABEL_145": 145,
361
+ "LABEL_146": 146,
362
+ "LABEL_147": 147,
363
+ "LABEL_148": 148,
364
+ "LABEL_149": 149,
365
+ "LABEL_15": 15,
366
+ "LABEL_150": 150,
367
+ "LABEL_151": 151,
368
+ "LABEL_152": 152,
369
+ "LABEL_153": 153,
370
+ "LABEL_154": 154,
371
+ "LABEL_155": 155,
372
+ "LABEL_156": 156,
373
+ "LABEL_157": 157,
374
+ "LABEL_158": 158,
375
+ "LABEL_159": 159,
376
+ "LABEL_16": 16,
377
+ "LABEL_160": 160,
378
+ "LABEL_161": 161,
379
+ "LABEL_162": 162,
380
+ "LABEL_163": 163,
381
+ "LABEL_164": 164,
382
+ "LABEL_165": 165,
383
+ "LABEL_166": 166,
384
+ "LABEL_167": 167,
385
+ "LABEL_168": 168,
386
+ "LABEL_169": 169,
387
+ "LABEL_17": 17,
388
+ "LABEL_170": 170,
389
+ "LABEL_171": 171,
390
+ "LABEL_172": 172,
391
+ "LABEL_173": 173,
392
+ "LABEL_174": 174,
393
+ "LABEL_175": 175,
394
+ "LABEL_176": 176,
395
+ "LABEL_177": 177,
396
+ "LABEL_178": 178,
397
+ "LABEL_179": 179,
398
+ "LABEL_18": 18,
399
+ "LABEL_180": 180,
400
+ "LABEL_181": 181,
401
+ "LABEL_182": 182,
402
+ "LABEL_183": 183,
403
+ "LABEL_184": 184,
404
+ "LABEL_185": 185,
405
+ "LABEL_186": 186,
406
+ "LABEL_187": 187,
407
+ "LABEL_188": 188,
408
+ "LABEL_189": 189,
409
+ "LABEL_19": 19,
410
+ "LABEL_2": 2,
411
+ "LABEL_20": 20,
412
+ "LABEL_21": 21,
413
+ "LABEL_22": 22,
414
+ "LABEL_23": 23,
415
+ "LABEL_24": 24,
416
+ "LABEL_25": 25,
417
+ "LABEL_26": 26,
418
+ "LABEL_27": 27,
419
+ "LABEL_28": 28,
420
+ "LABEL_29": 29,
421
+ "LABEL_3": 3,
422
+ "LABEL_30": 30,
423
+ "LABEL_31": 31,
424
+ "LABEL_32": 32,
425
+ "LABEL_33": 33,
426
+ "LABEL_34": 34,
427
+ "LABEL_35": 35,
428
+ "LABEL_36": 36,
429
+ "LABEL_37": 37,
430
+ "LABEL_38": 38,
431
+ "LABEL_39": 39,
432
+ "LABEL_4": 4,
433
+ "LABEL_40": 40,
434
+ "LABEL_41": 41,
435
+ "LABEL_42": 42,
436
+ "LABEL_43": 43,
437
+ "LABEL_44": 44,
438
+ "LABEL_45": 45,
439
+ "LABEL_46": 46,
440
+ "LABEL_47": 47,
441
+ "LABEL_48": 48,
442
+ "LABEL_49": 49,
443
+ "LABEL_5": 5,
444
+ "LABEL_50": 50,
445
+ "LABEL_51": 51,
446
+ "LABEL_52": 52,
447
+ "LABEL_53": 53,
448
+ "LABEL_54": 54,
449
+ "LABEL_55": 55,
450
+ "LABEL_56": 56,
451
+ "LABEL_57": 57,
452
+ "LABEL_58": 58,
453
+ "LABEL_59": 59,
454
+ "LABEL_6": 6,
455
+ "LABEL_60": 60,
456
+ "LABEL_61": 61,
457
+ "LABEL_62": 62,
458
+ "LABEL_63": 63,
459
+ "LABEL_64": 64,
460
+ "LABEL_65": 65,
461
+ "LABEL_66": 66,
462
+ "LABEL_67": 67,
463
+ "LABEL_68": 68,
464
+ "LABEL_69": 69,
465
+ "LABEL_7": 7,
466
+ "LABEL_70": 70,
467
+ "LABEL_71": 71,
468
+ "LABEL_72": 72,
469
+ "LABEL_73": 73,
470
+ "LABEL_74": 74,
471
+ "LABEL_75": 75,
472
+ "LABEL_76": 76,
473
+ "LABEL_77": 77,
474
+ "LABEL_78": 78,
475
+ "LABEL_79": 79,
476
+ "LABEL_8": 8,
477
+ "LABEL_80": 80,
478
+ "LABEL_81": 81,
479
+ "LABEL_82": 82,
480
+ "LABEL_83": 83,
481
+ "LABEL_84": 84,
482
+ "LABEL_85": 85,
483
+ "LABEL_86": 86,
484
+ "LABEL_87": 87,
485
+ "LABEL_88": 88,
486
+ "LABEL_89": 89,
487
+ "LABEL_9": 9,
488
+ "LABEL_90": 90,
489
+ "LABEL_91": 91,
490
+ "LABEL_92": 92,
491
+ "LABEL_93": 93,
492
+ "LABEL_94": 94,
493
+ "LABEL_95": 95,
494
+ "LABEL_96": 96,
495
+ "LABEL_97": 97,
496
+ "LABEL_98": 98,
497
+ "LABEL_99": 99
498
+ },
499
+ "layer_norm_eps": 1e-12,
500
+ "max_2d_position_embeddings": 1024,
501
+ "max_position_embeddings": 512,
502
+ "max_rel_2d_pos": 256,
503
+ "max_rel_pos": 128,
504
+ "model_type": "layoutlmv2",
505
+ "num_attention_heads": 12,
506
+ "num_hidden_layers": 12,
507
+ "output_past": true,
508
+ "pad_token_id": 0,
509
+ "problem_type": "single_label_classification",
510
+ "rel_2d_pos_bins": 64,
511
+ "rel_pos_bins": 32,
512
+ "shape_size": 128,
513
+ "torch_dtype": "float32",
514
+ "transformers_version": "4.17.0",
515
+ "type_vocab_size": 2,
516
+ "vocab_size": 30522
517
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edf2b1af84f0d35a0a685132043c28f2fe9ac518998351f2c04b9753ac01e2cb
3
+ size 803979883