File size: 4,870 Bytes
d1e85b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
  "_name_or_path": "microsoft/layoutlmv3-base",
  "architectures": [
    "LayoutLMv3ForTokenClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "bos_token_id": 0,
  "classifier_dropout": null,
  "coordinate_size": 128,
  "eos_token_id": 2,
  "has_relative_attention_bias": true,
  "has_spatial_attention_bias": true,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "id2label": {
    "0": "others",
    "1": "bol_nr",
    "2": "shipper_name",
    "3": "bol_date",
    "4": "shipper_address",
    "5": "shipper_state",
    "6": "shipper_city",
    "7": "shipper_zipcode",
    "8": "shipper_tel",
    "9": "shipper_fax",
    "10": "shipper_email",
    "11": "shipper_sid",
    "12": "consignee_name",
    "13": "consignee_address",
    "14": "consignee_state",
    "15": "consignee_city",
    "16": "consignee_zipcode",
    "17": "consignee_tel",
    "18": "consignee_fax",
    "19": "precarrier",
    "20": "consignee_cid",
    "21": "notify_name",
    "22": "notify_address",
    "23": "customs_value",
    "24": "notify_state",
    "25": "notify_city",
    "26": "notify_zipcode",
    "27": "detail_qty",
    "28": "container_flag",
    "29": "notify_fax",
    "30": "notify_email",
    "31": "order_nr",
    "32": "tot_netweight",
    "33": "tot_value",
    "34": "tot_volume",
    "35": "shipper_extra",
    "36": "prepaid_flag",
    "37": "carrier_name",
    "38": "trailer_nr",
    "39": "scac_code",
    "40": "po_nr",
    "41": "pro_nr",
    "42": "detail_main_qty",
    "43": "detail_main_packtype",
    "44": "detail_packtype",
    "45": "detail_weight",
    "46": "detail_hm",
    "47": "detail_commodity",
    "48": "detail_notes",
    "49": "detail_class",
    "50": "delivery_date",
    "51": "pickup_date",
    "52": "driver_name",
    "53": "driver_license",
    "54": "tracking_nr",
    "55": "transport_type",
    "56": "pickup_country",
    "57": "reference_code",
    "58": "pickup_place",
    "59": "vessel",
    "60": "voyage",
    "61": "pickup_port",
    "62": "delivery_port",
    "63": "export_code",
    "64": "delivery_place",
    "65": "delivery_terminal",
    "66": "carrier_sign_date",
    "67": "booking_nr",
    "68": "container_id",
    "69": "container_type",
    "70": "consignee_email",
    "71": "notify_tel",
    "72": "tot_qty",
    "73": "tot_grossweight",
    "74": "shipper_sign_date",
    "75": "detail_volume"
  },
  "initializer_range": 0.02,
  "input_size": 224,
  "intermediate_size": 3072,
  "label2id": {
    "bol_date": 3,
    "bol_nr": 1,
    "booking_nr": 67,
    "carrier_name": 37,
    "carrier_sign_date": 66,
    "consignee_address": 13,
    "consignee_cid": 20,
    "consignee_city": 15,
    "consignee_email": 70,
    "consignee_fax": 18,
    "consignee_name": 12,
    "consignee_state": 14,
    "consignee_tel": 17,
    "consignee_zipcode": 16,
    "container_flag": 28,
    "container_id": 68,
    "container_type": 69,
    "customs_value": 23,
    "delivery_date": 50,
    "delivery_place": 64,
    "delivery_port": 62,
    "delivery_terminal": 65,
    "detail_class": 49,
    "detail_commodity": 47,
    "detail_hm": 46,
    "detail_main_packtype": 43,
    "detail_main_qty": 42,
    "detail_notes": 48,
    "detail_packtype": 44,
    "detail_qty": 27,
    "detail_volume": 75,
    "detail_weight": 45,
    "driver_license": 53,
    "driver_name": 52,
    "export_code": 63,
    "notify_address": 22,
    "notify_city": 25,
    "notify_email": 30,
    "notify_fax": 29,
    "notify_name": 21,
    "notify_state": 24,
    "notify_tel": 71,
    "notify_zipcode": 26,
    "order_nr": 31,
    "others": 0,
    "pickup_country": 56,
    "pickup_date": 51,
    "pickup_place": 58,
    "pickup_port": 61,
    "po_nr": 40,
    "precarrier": 19,
    "prepaid_flag": 36,
    "pro_nr": 41,
    "reference_code": 57,
    "scac_code": 39,
    "shipper_address": 4,
    "shipper_city": 6,
    "shipper_email": 10,
    "shipper_extra": 35,
    "shipper_fax": 9,
    "shipper_name": 2,
    "shipper_sid": 11,
    "shipper_sign_date": 74,
    "shipper_state": 5,
    "shipper_tel": 8,
    "shipper_zipcode": 7,
    "tot_grossweight": 73,
    "tot_netweight": 32,
    "tot_qty": 72,
    "tot_value": 33,
    "tot_volume": 34,
    "tracking_nr": 54,
    "trailer_nr": 38,
    "transport_type": 55,
    "vessel": 59,
    "voyage": 60
  },
  "layer_norm_eps": 1e-05,
  "max_2d_position_embeddings": 1024,
  "max_position_embeddings": 514,
  "max_rel_2d_pos": 256,
  "max_rel_pos": 128,
  "model_type": "layoutlmv3",
  "num_attention_heads": 12,
  "num_channels": 3,
  "num_hidden_layers": 12,
  "pad_token_id": 1,
  "patch_size": 16,
  "rel_2d_pos_bins": 64,
  "rel_pos_bins": 32,
  "second_input_size": 112,
  "shape_size": 128,
  "text_embed": true,
  "torch_dtype": "float32",
  "transformers_version": "4.41.2",
  "type_vocab_size": 1,
  "visual_embed": true,
  "vocab_size": 50265
}