Ammar-alhaj-ali
commited on
Commit
•
ecf2448
1
Parent(s):
63e6087
Upload config.json
Browse files- config.json +68 -0
config.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-ABN",
|
19 |
+
"2": "B-BILLER",
|
20 |
+
"3": "B-BILLER_ADDRESS",
|
21 |
+
"4": "B-BILLER_POST_CODE",
|
22 |
+
"5": "B-DUE_DATE",
|
23 |
+
"6": "B-GST",
|
24 |
+
"7": "B-INVOICE_DATE",
|
25 |
+
"8": "B-INVOICE_NUMBER",
|
26 |
+
"9": "B-SUBTOTAL",
|
27 |
+
"10": "B-TOTAL",
|
28 |
+
"11": "I-BILLER_ADDRESS"
|
29 |
+
},
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"input_size": 224,
|
32 |
+
"intermediate_size": 3072,
|
33 |
+
"label2id": {
|
34 |
+
"B-ABN": 1,
|
35 |
+
"B-BILLER": 2,
|
36 |
+
"B-BILLER_ADDRESS": 3,
|
37 |
+
"B-BILLER_POST_CODE": 4,
|
38 |
+
"B-DUE_DATE": 5,
|
39 |
+
"B-GST": 6,
|
40 |
+
"B-INVOICE_DATE": 7,
|
41 |
+
"B-INVOICE_NUMBER": 8,
|
42 |
+
"B-SUBTOTAL": 9,
|
43 |
+
"B-TOTAL": 10,
|
44 |
+
"I-BILLER_ADDRESS": 11,
|
45 |
+
"O": 0
|
46 |
+
},
|
47 |
+
"layer_norm_eps": 1e-05,
|
48 |
+
"max_2d_position_embeddings": 1024,
|
49 |
+
"max_position_embeddings": 514,
|
50 |
+
"max_rel_2d_pos": 256,
|
51 |
+
"max_rel_pos": 128,
|
52 |
+
"model_type": "layoutlmv3",
|
53 |
+
"num_attention_heads": 12,
|
54 |
+
"num_channels": 3,
|
55 |
+
"num_hidden_layers": 12,
|
56 |
+
"pad_token_id": 1,
|
57 |
+
"patch_size": 16,
|
58 |
+
"rel_2d_pos_bins": 64,
|
59 |
+
"rel_pos_bins": 32,
|
60 |
+
"second_input_size": 112,
|
61 |
+
"shape_size": 128,
|
62 |
+
"text_embed": true,
|
63 |
+
"torch_dtype": "float32",
|
64 |
+
"transformers_version": "4.20.1",
|
65 |
+
"type_vocab_size": 1,
|
66 |
+
"visual_embed": true,
|
67 |
+
"vocab_size": 50265
|
68 |
+
}
|