buthaya commited on
Commit
10fb99c
·
verified ·
1 Parent(s): 986de59

Upload 2 files

Browse files
Files changed (2) hide show
  1. config.json +190 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DocPolarBERTForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "coordinate_size": 128,
9
+ "eos_token_id": 2,
10
+ "has_angle_attention_bias": true,
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-iban",
19
+ "2": "I-iban",
20
+ "3": "B-currency_code_amount_due",
21
+ "4": "I-currency_code_amount_due",
22
+ "5": "B-customer_order_id",
23
+ "6": "I-customer_order_id",
24
+ "7": "B-customer_billing_address",
25
+ "8": "I-customer_billing_address",
26
+ "9": "B-customer_delivery_address",
27
+ "10": "I-customer_delivery_address",
28
+ "11": "B-vendor_address",
29
+ "12": "I-vendor_address",
30
+ "13": "B-account_num",
31
+ "14": "I-account_num",
32
+ "15": "B-customer_other_name",
33
+ "16": "I-customer_other_name",
34
+ "17": "B-amount_due",
35
+ "18": "I-amount_due",
36
+ "19": "B-amount_total_gross",
37
+ "20": "I-amount_total_gross",
38
+ "21": "B-document_id",
39
+ "22": "I-document_id",
40
+ "23": "B-customer_billing_name",
41
+ "24": "I-customer_billing_name",
42
+ "25": "B-vendor_order_id",
43
+ "26": "I-vendor_order_id",
44
+ "27": "B-customer_tax_id",
45
+ "28": "I-customer_tax_id",
46
+ "29": "B-vendor_tax_id",
47
+ "30": "I-vendor_tax_id",
48
+ "31": "B-vendor_email",
49
+ "32": "I-vendor_email",
50
+ "33": "B-bank_num",
51
+ "34": "I-bank_num",
52
+ "35": "B-tax_detail_net",
53
+ "36": "I-tax_detail_net",
54
+ "37": "B-bic",
55
+ "38": "I-bic",
56
+ "39": "B-customer_other_address",
57
+ "40": "I-customer_other_address",
58
+ "41": "B-customer_delivery_name",
59
+ "42": "I-customer_delivery_name",
60
+ "43": "B-vendor_name",
61
+ "44": "I-vendor_name",
62
+ "45": "B-order_id",
63
+ "46": "I-order_id",
64
+ "47": "B-vendor_registration_id",
65
+ "48": "I-vendor_registration_id",
66
+ "49": "B-date_due",
67
+ "50": "I-date_due",
68
+ "51": "B-payment_terms",
69
+ "52": "I-payment_terms",
70
+ "53": "B-tax_detail_gross",
71
+ "54": "I-tax_detail_gross",
72
+ "55": "B-customer_id",
73
+ "56": "I-customer_id",
74
+ "57": "B-amount_paid",
75
+ "58": "I-amount_paid",
76
+ "59": "B-amount_total_net",
77
+ "60": "I-amount_total_net",
78
+ "61": "B-tax_detail_rate",
79
+ "62": "I-tax_detail_rate",
80
+ "63": "B-date_issue",
81
+ "64": "I-date_issue",
82
+ "65": "B-amount_total_tax",
83
+ "66": "I-amount_total_tax",
84
+ "67": "B-payment_reference",
85
+ "68": "I-payment_reference",
86
+ "69": "B-customer_registration_id",
87
+ "70": "I-customer_registration_id",
88
+ "71": "B-tax_detail_tax",
89
+ "72": "I-tax_detail_tax"
90
+ },
91
+ "initializer_range": 0.02,
92
+ "input_size": 224,
93
+ "intermediate_size": 3072,
94
+ "label2id": {
95
+ "B-account_num": 13,
96
+ "B-amount_due": 17,
97
+ "B-amount_paid": 57,
98
+ "B-amount_total_gross": 19,
99
+ "B-amount_total_net": 59,
100
+ "B-amount_total_tax": 65,
101
+ "B-bank_num": 33,
102
+ "B-bic": 37,
103
+ "B-currency_code_amount_due": 3,
104
+ "B-customer_billing_address": 7,
105
+ "B-customer_billing_name": 23,
106
+ "B-customer_delivery_address": 9,
107
+ "B-customer_delivery_name": 41,
108
+ "B-customer_id": 55,
109
+ "B-customer_order_id": 5,
110
+ "B-customer_other_address": 39,
111
+ "B-customer_other_name": 15,
112
+ "B-customer_registration_id": 69,
113
+ "B-customer_tax_id": 27,
114
+ "B-date_due": 49,
115
+ "B-date_issue": 63,
116
+ "B-document_id": 21,
117
+ "B-iban": 1,
118
+ "B-order_id": 45,
119
+ "B-payment_reference": 67,
120
+ "B-payment_terms": 51,
121
+ "B-tax_detail_gross": 53,
122
+ "B-tax_detail_net": 35,
123
+ "B-tax_detail_rate": 61,
124
+ "B-tax_detail_tax": 71,
125
+ "B-vendor_address": 11,
126
+ "B-vendor_email": 31,
127
+ "B-vendor_name": 43,
128
+ "B-vendor_order_id": 25,
129
+ "B-vendor_registration_id": 47,
130
+ "B-vendor_tax_id": 29,
131
+ "I-account_num": 14,
132
+ "I-amount_due": 18,
133
+ "I-amount_paid": 58,
134
+ "I-amount_total_gross": 20,
135
+ "I-amount_total_net": 60,
136
+ "I-amount_total_tax": 66,
137
+ "I-bank_num": 34,
138
+ "I-bic": 38,
139
+ "I-currency_code_amount_due": 4,
140
+ "I-customer_billing_address": 8,
141
+ "I-customer_billing_name": 24,
142
+ "I-customer_delivery_address": 10,
143
+ "I-customer_delivery_name": 42,
144
+ "I-customer_id": 56,
145
+ "I-customer_order_id": 6,
146
+ "I-customer_other_address": 40,
147
+ "I-customer_other_name": 16,
148
+ "I-customer_registration_id": 70,
149
+ "I-customer_tax_id": 28,
150
+ "I-date_due": 50,
151
+ "I-date_issue": 64,
152
+ "I-document_id": 22,
153
+ "I-iban": 2,
154
+ "I-order_id": 46,
155
+ "I-payment_reference": 68,
156
+ "I-payment_terms": 52,
157
+ "I-tax_detail_gross": 54,
158
+ "I-tax_detail_net": 36,
159
+ "I-tax_detail_rate": 62,
160
+ "I-tax_detail_tax": 72,
161
+ "I-vendor_address": 12,
162
+ "I-vendor_email": 32,
163
+ "I-vendor_name": 44,
164
+ "I-vendor_order_id": 26,
165
+ "I-vendor_registration_id": 48,
166
+ "I-vendor_tax_id": 30,
167
+ "O": 0
168
+ },
169
+ "layer_norm_eps": 1e-05,
170
+ "max_2d_position_embeddings": 1024,
171
+ "max_position_embeddings": 514,
172
+ "max_rel_2d_pos": 256,
173
+ "max_rel_pos": 128,
174
+ "model_type": "docpolarbert",
175
+ "num_attention_heads": 12,
176
+ "num_channels": 3,
177
+ "num_hidden_layers": 12,
178
+ "pad_token_id": 1,
179
+ "patch_size": 16,
180
+ "rel_2d_angle_bins": 4,
181
+ "rel_2d_pos_bins": 4,
182
+ "rel_pos_bins": 32,
183
+ "shape_size": 128,
184
+ "text_embed": true,
185
+ "torch_dtype": "float32",
186
+ "transformers_version": "4.35.1",
187
+ "type_vocab_size": 1,
188
+ "visual_embed": false,
189
+ "vocab_size": 50265
190
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb096ee899e52ab8538b3fef58675167066999bfa65a706d9dd4d49722289a09
3
+ size 498844844