Upload config.json with huggingface_hub
Browse files- config.json +84 -0
config.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "E-DES",
|
18 |
+
"1": "S-ROS",
|
19 |
+
"2": "B-N",
|
20 |
+
"3": "E-N",
|
21 |
+
"4": "B-GSTIN",
|
22 |
+
"5": "I-GSTIN",
|
23 |
+
"6": "S-GSTIN",
|
24 |
+
"7": "S-LN",
|
25 |
+
"8": "B-ROS",
|
26 |
+
"9": "B-LN",
|
27 |
+
"10": "E-LN",
|
28 |
+
"11": "I-N",
|
29 |
+
"12": "S-DES",
|
30 |
+
"13": "E-ROS",
|
31 |
+
"14": "I-LN",
|
32 |
+
"15": "E-GSTIN",
|
33 |
+
"16": "I-DES",
|
34 |
+
"17": "B-DES",
|
35 |
+
"18": "S-N",
|
36 |
+
"19": "O"
|
37 |
+
},
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"input_size": 224,
|
40 |
+
"intermediate_size": 3072,
|
41 |
+
"label2id": {
|
42 |
+
"B-DES": 17,
|
43 |
+
"B-GSTIN": 4,
|
44 |
+
"B-LN": 9,
|
45 |
+
"B-N": 2,
|
46 |
+
"B-ROS": 8,
|
47 |
+
"E-DES": 0,
|
48 |
+
"E-GSTIN": 15,
|
49 |
+
"E-LN": 10,
|
50 |
+
"E-N": 3,
|
51 |
+
"E-ROS": 13,
|
52 |
+
"I-DES": 16,
|
53 |
+
"I-GSTIN": 5,
|
54 |
+
"I-LN": 14,
|
55 |
+
"I-N": 11,
|
56 |
+
"O": 19,
|
57 |
+
"S-DES": 12,
|
58 |
+
"S-GSTIN": 6,
|
59 |
+
"S-LN": 7,
|
60 |
+
"S-N": 18,
|
61 |
+
"S-ROS": 1
|
62 |
+
},
|
63 |
+
"layer_norm_eps": 1e-05,
|
64 |
+
"max_2d_position_embeddings": 1024,
|
65 |
+
"max_position_embeddings": 514,
|
66 |
+
"max_rel_2d_pos": 256,
|
67 |
+
"max_rel_pos": 128,
|
68 |
+
"model_type": "layoutlmv3",
|
69 |
+
"num_attention_heads": 12,
|
70 |
+
"num_channels": 3,
|
71 |
+
"num_hidden_layers": 12,
|
72 |
+
"pad_token_id": 1,
|
73 |
+
"patch_size": 16,
|
74 |
+
"rel_2d_pos_bins": 64,
|
75 |
+
"rel_pos_bins": 32,
|
76 |
+
"second_input_size": 112,
|
77 |
+
"shape_size": 128,
|
78 |
+
"text_embed": true,
|
79 |
+
"torch_dtype": "float32",
|
80 |
+
"transformers_version": "4.46.0.dev0",
|
81 |
+
"type_vocab_size": 1,
|
82 |
+
"visual_embed": true,
|
83 |
+
"vocab_size": 50265
|
84 |
+
}
|