Upload LayoutLMv3ForTokenClassification
Browse files- config.json +94 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-\uac1c\uc5c5\uc5f0\uc6d4\uc77c",
|
19 |
+
"2": "B-\uacfc\uc138\uad6c\ubd84",
|
20 |
+
"3": "B-\ub300\ud45c\uc790",
|
21 |
+
"4": "B-\ub4f1\ub85d\ubc88\ud638",
|
22 |
+
"5": "B-\ubc1c\uae09\uc0ac\uc720",
|
23 |
+
"6": "B-\ubc1c\uae09\uc77c",
|
24 |
+
"7": "B-\ubc95\uc778\ub4f1\ub85d\ubc88\ud638",
|
25 |
+
"8": "B-\ubcf8\uc810\uc18c\uc7ac\uc9c0",
|
26 |
+
"9": "B-\uc0ac\uc5c5\uc7a5\uc18c\uc7ac\uc9c0",
|
27 |
+
"10": "B-\uc5c5\uc885",
|
28 |
+
"11": "B-\uc5c5\ud0dc",
|
29 |
+
"12": "B-\ud68c\uc0ac\uba85",
|
30 |
+
"13": "I-\uac1c\uc5c5\uc5f0\uc6d4\uc77c",
|
31 |
+
"14": "I-\uacfc\uc138\uad6c\ubd84",
|
32 |
+
"15": "I-\ub300\ud45c\uc790",
|
33 |
+
"16": "I-\ub4f1\ub85d\ubc88\ud638",
|
34 |
+
"17": "I-\ubc1c\uae09\uc0ac\uc720",
|
35 |
+
"18": "I-\ubc1c\uae09\uc77c",
|
36 |
+
"19": "I-\ubc95\uc778\ub4f1\ub85d\ubc88\ud638",
|
37 |
+
"20": "I-\ubcf8\uc810\uc18c\uc7ac\uc9c0",
|
38 |
+
"21": "I-\uc0ac\uc5c5\uc7a5\uc18c\uc7ac\uc9c0",
|
39 |
+
"22": "I-\uc5c5\uc885",
|
40 |
+
"23": "I-\uc5c5\ud0dc",
|
41 |
+
"24": "I-\ud68c\uc0ac\uba85"
|
42 |
+
},
|
43 |
+
"initializer_range": 0.02,
|
44 |
+
"input_size": 224,
|
45 |
+
"intermediate_size": 3072,
|
46 |
+
"label2id": {
|
47 |
+
"B-\uac1c\uc5c5\uc5f0\uc6d4\uc77c": 1,
|
48 |
+
"B-\uacfc\uc138\uad6c\ubd84": 2,
|
49 |
+
"B-\ub300\ud45c\uc790": 3,
|
50 |
+
"B-\ub4f1\ub85d\ubc88\ud638": 4,
|
51 |
+
"B-\ubc1c\uae09\uc0ac\uc720": 5,
|
52 |
+
"B-\ubc1c\uae09\uc77c": 6,
|
53 |
+
"B-\ubc95\uc778\ub4f1\ub85d\ubc88\ud638": 7,
|
54 |
+
"B-\ubcf8\uc810\uc18c\uc7ac\uc9c0": 8,
|
55 |
+
"B-\uc0ac\uc5c5\uc7a5\uc18c\uc7ac\uc9c0": 9,
|
56 |
+
"B-\uc5c5\uc885": 10,
|
57 |
+
"B-\uc5c5\ud0dc": 11,
|
58 |
+
"B-\ud68c\uc0ac\uba85": 12,
|
59 |
+
"I-\uac1c\uc5c5\uc5f0\uc6d4\uc77c": 13,
|
60 |
+
"I-\uacfc\uc138\uad6c\ubd84": 14,
|
61 |
+
"I-\ub300\ud45c\uc790": 15,
|
62 |
+
"I-\ub4f1\ub85d\ubc88\ud638": 16,
|
63 |
+
"I-\ubc1c\uae09\uc0ac\uc720": 17,
|
64 |
+
"I-\ubc1c\uae09\uc77c": 18,
|
65 |
+
"I-\ubc95\uc778\ub4f1\ub85d\ubc88\ud638": 19,
|
66 |
+
"I-\ubcf8\uc810\uc18c\uc7ac\uc9c0": 20,
|
67 |
+
"I-\uc0ac\uc5c5\uc7a5\uc18c\uc7ac\uc9c0": 21,
|
68 |
+
"I-\uc5c5\uc885": 22,
|
69 |
+
"I-\uc5c5\ud0dc": 23,
|
70 |
+
"I-\ud68c\uc0ac\uba85": 24,
|
71 |
+
"O": 0
|
72 |
+
},
|
73 |
+
"layer_norm_eps": 1e-05,
|
74 |
+
"max_2d_position_embeddings": 1024,
|
75 |
+
"max_position_embeddings": 514,
|
76 |
+
"max_rel_2d_pos": 256,
|
77 |
+
"max_rel_pos": 128,
|
78 |
+
"model_type": "layoutlmv3",
|
79 |
+
"num_attention_heads": 12,
|
80 |
+
"num_channels": 3,
|
81 |
+
"num_hidden_layers": 12,
|
82 |
+
"pad_token_id": 1,
|
83 |
+
"patch_size": 16,
|
84 |
+
"rel_2d_pos_bins": 64,
|
85 |
+
"rel_pos_bins": 32,
|
86 |
+
"second_input_size": 112,
|
87 |
+
"shape_size": 128,
|
88 |
+
"text_embed": true,
|
89 |
+
"torch_dtype": "float32",
|
90 |
+
"transformers_version": "4.26.0",
|
91 |
+
"type_vocab_size": 1,
|
92 |
+
"visual_embed": true,
|
93 |
+
"vocab_size": 50265
|
94 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85b9e9f09b943e719184a67004e15d7bd5a598da3875d1964f4dabca7993ba23
|
3 |
+
size 503826161
|