Upload LayoutLMv3ForTokenClassification
Browse files- config.json +76 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlmv3-large",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMv3ForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"coordinate_size": 171,
|
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": 1024,
|
16 |
+
"id2label": {
|
17 |
+
"0": "DIC",
|
18 |
+
"1": "IBAN",
|
19 |
+
"2": "ICO",
|
20 |
+
"3": "O",
|
21 |
+
"4": "account_number",
|
22 |
+
"5": "bank_code",
|
23 |
+
"6": "const_symbol",
|
24 |
+
"7": "contr_address",
|
25 |
+
"8": "contr_name",
|
26 |
+
"9": "due_date",
|
27 |
+
"10": "invoice_date",
|
28 |
+
"11": "invoice_number",
|
29 |
+
"12": "qr_code",
|
30 |
+
"13": "spec_symbol",
|
31 |
+
"14": "total_amount",
|
32 |
+
"15": "var_symbol"
|
33 |
+
},
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"input_size": 224,
|
36 |
+
"intermediate_size": 4096,
|
37 |
+
"label2id": {
|
38 |
+
"DIC": 0,
|
39 |
+
"IBAN": 1,
|
40 |
+
"ICO": 2,
|
41 |
+
"O": 3,
|
42 |
+
"account_number": 4,
|
43 |
+
"bank_code": 5,
|
44 |
+
"const_symbol": 6,
|
45 |
+
"contr_address": 7,
|
46 |
+
"contr_name": 8,
|
47 |
+
"due_date": 9,
|
48 |
+
"invoice_date": 10,
|
49 |
+
"invoice_number": 11,
|
50 |
+
"qr_code": 12,
|
51 |
+
"spec_symbol": 13,
|
52 |
+
"total_amount": 14,
|
53 |
+
"var_symbol": 15
|
54 |
+
},
|
55 |
+
"layer_norm_eps": 1e-05,
|
56 |
+
"max_2d_position_embeddings": 1024,
|
57 |
+
"max_position_embeddings": 514,
|
58 |
+
"max_rel_2d_pos": 256,
|
59 |
+
"max_rel_pos": 128,
|
60 |
+
"model_type": "layoutlmv3",
|
61 |
+
"num_attention_heads": 16,
|
62 |
+
"num_channels": 3,
|
63 |
+
"num_hidden_layers": 24,
|
64 |
+
"pad_token_id": 1,
|
65 |
+
"patch_size": 16,
|
66 |
+
"rel_2d_pos_bins": 64,
|
67 |
+
"rel_pos_bins": 32,
|
68 |
+
"second_input_size": 112,
|
69 |
+
"shape_size": 170,
|
70 |
+
"text_embed": true,
|
71 |
+
"torch_dtype": "float32",
|
72 |
+
"transformers_version": "4.29.0.dev0",
|
73 |
+
"type_vocab_size": 1,
|
74 |
+
"visual_embed": true,
|
75 |
+
"vocab_size": 50265
|
76 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3de64988a4213b9dc092427d76293b0be60d46218b5b13e0f9aa909a58844e6
|
3 |
+
size 1428426033
|