jamielee commited on
Commit
fdadae2
1 Parent(s): d044b5b

Upload LayoutLMv3ForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +194 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutlmv3-base",
3
+ "architectures": [
4
+ "LayoutLMv3ForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "coordinate_size": 128,
10
+ "eos_token_id": 2,
11
+ "has_relative_attention_bias": true,
12
+ "has_spatial_attention_bias": true,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 768,
16
+ "id2label": {
17
+ "0": "O",
18
+ "1": "B-DAForm4082",
19
+ "2": "B-Title",
20
+ "3": "B-bankDeposit",
21
+ "4": "B-bankDepositFC",
22
+ "5": "B-cashJournal",
23
+ "6": "B-cashReceipt",
24
+ "7": "B-contracts",
25
+ "8": "B-creditCardReport",
26
+ "9": "B-dar",
27
+ "10": "B-facility",
28
+ "11": "B-fdd",
29
+ "12": "B-fdm",
30
+ "13": "B-fdy",
31
+ "14": "B-fileName",
32
+ "15": "B-form5069",
33
+ "16": "B-garrison",
34
+ "17": "B-glDistrobution",
35
+ "18": "B-ldd",
36
+ "19": "B-ldm",
37
+ "20": "B-ldy",
38
+ "21": "B-locationCode",
39
+ "22": "B-other1",
40
+ "23": "B-other1Type",
41
+ "24": "B-other2",
42
+ "25": "B-other2Type",
43
+ "26": "B-other3",
44
+ "27": "B-other3Type",
45
+ "28": "B-returnChecks",
46
+ "29": "B-senderEmail",
47
+ "30": "B-senderName",
48
+ "31": "B-senderPhone",
49
+ "32": "B-submission",
50
+ "33": "B-ticket",
51
+ "34": "B-tips",
52
+ "35": "B-totalPages",
53
+ "36": "B-tour",
54
+ "37": "B-vending",
55
+ "38": "I-DAForm4082",
56
+ "39": "I-Title",
57
+ "40": "I-bankDeposit",
58
+ "41": "I-bankDepositFC",
59
+ "42": "I-cashJournal",
60
+ "43": "I-cashReceipt",
61
+ "44": "I-contracts",
62
+ "45": "I-creditCardReport",
63
+ "46": "I-dar",
64
+ "47": "I-facility",
65
+ "48": "I-fdd",
66
+ "49": "I-fdm",
67
+ "50": "I-fdy",
68
+ "51": "I-fileName",
69
+ "52": "I-form5069",
70
+ "53": "I-garrison",
71
+ "54": "I-glDistrobution",
72
+ "55": "I-ldd",
73
+ "56": "I-ldm",
74
+ "57": "I-ldy",
75
+ "58": "I-locationCode",
76
+ "59": "I-other1",
77
+ "60": "I-other1Type",
78
+ "61": "I-other2",
79
+ "62": "I-other2Type",
80
+ "63": "I-other3",
81
+ "64": "I-other3Type",
82
+ "65": "I-returnChecks",
83
+ "66": "I-senderEmail",
84
+ "67": "I-senderName",
85
+ "68": "I-senderPhone",
86
+ "69": "I-submission",
87
+ "70": "I-ticket",
88
+ "71": "I-tips",
89
+ "72": "I-totalPages",
90
+ "73": "I-tour",
91
+ "74": "I-vending"
92
+ },
93
+ "initializer_range": 0.02,
94
+ "input_size": 224,
95
+ "intermediate_size": 3072,
96
+ "label2id": {
97
+ "B-DAForm4082": 1,
98
+ "B-Title": 2,
99
+ "B-bankDeposit": 3,
100
+ "B-bankDepositFC": 4,
101
+ "B-cashJournal": 5,
102
+ "B-cashReceipt": 6,
103
+ "B-contracts": 7,
104
+ "B-creditCardReport": 8,
105
+ "B-dar": 9,
106
+ "B-facility": 10,
107
+ "B-fdd": 11,
108
+ "B-fdm": 12,
109
+ "B-fdy": 13,
110
+ "B-fileName": 14,
111
+ "B-form5069": 15,
112
+ "B-garrison": 16,
113
+ "B-glDistrobution": 17,
114
+ "B-ldd": 18,
115
+ "B-ldm": 19,
116
+ "B-ldy": 20,
117
+ "B-locationCode": 21,
118
+ "B-other1": 22,
119
+ "B-other1Type": 23,
120
+ "B-other2": 24,
121
+ "B-other2Type": 25,
122
+ "B-other3": 26,
123
+ "B-other3Type": 27,
124
+ "B-returnChecks": 28,
125
+ "B-senderEmail": 29,
126
+ "B-senderName": 30,
127
+ "B-senderPhone": 31,
128
+ "B-submission": 32,
129
+ "B-ticket": 33,
130
+ "B-tips": 34,
131
+ "B-totalPages": 35,
132
+ "B-tour": 36,
133
+ "B-vending": 37,
134
+ "I-DAForm4082": 38,
135
+ "I-Title": 39,
136
+ "I-bankDeposit": 40,
137
+ "I-bankDepositFC": 41,
138
+ "I-cashJournal": 42,
139
+ "I-cashReceipt": 43,
140
+ "I-contracts": 44,
141
+ "I-creditCardReport": 45,
142
+ "I-dar": 46,
143
+ "I-facility": 47,
144
+ "I-fdd": 48,
145
+ "I-fdm": 49,
146
+ "I-fdy": 50,
147
+ "I-fileName": 51,
148
+ "I-form5069": 52,
149
+ "I-garrison": 53,
150
+ "I-glDistrobution": 54,
151
+ "I-ldd": 55,
152
+ "I-ldm": 56,
153
+ "I-ldy": 57,
154
+ "I-locationCode": 58,
155
+ "I-other1": 59,
156
+ "I-other1Type": 60,
157
+ "I-other2": 61,
158
+ "I-other2Type": 62,
159
+ "I-other3": 63,
160
+ "I-other3Type": 64,
161
+ "I-returnChecks": 65,
162
+ "I-senderEmail": 66,
163
+ "I-senderName": 67,
164
+ "I-senderPhone": 68,
165
+ "I-submission": 69,
166
+ "I-ticket": 70,
167
+ "I-tips": 71,
168
+ "I-totalPages": 72,
169
+ "I-tour": 73,
170
+ "I-vending": 74,
171
+ "O": 0
172
+ },
173
+ "layer_norm_eps": 1e-05,
174
+ "max_2d_position_embeddings": 1024,
175
+ "max_position_embeddings": 514,
176
+ "max_rel_2d_pos": 256,
177
+ "max_rel_pos": 128,
178
+ "model_type": "layoutlmv3",
179
+ "num_attention_heads": 12,
180
+ "num_channels": 3,
181
+ "num_hidden_layers": 12,
182
+ "pad_token_id": 1,
183
+ "patch_size": 16,
184
+ "rel_2d_pos_bins": 64,
185
+ "rel_pos_bins": 32,
186
+ "second_input_size": 112,
187
+ "shape_size": 128,
188
+ "text_embed": true,
189
+ "torch_dtype": "float32",
190
+ "transformers_version": "4.26.1",
191
+ "type_vocab_size": 1,
192
+ "visual_embed": true,
193
+ "vocab_size": 50265
194
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cf662589c74bf2c1dfbe73551d593998551ed9b79af9c9aa89b6b005ed17e39
3
+ size 503979953