Commit
•
bfa2f93
1
Parent(s):
bdeacbb
Upload LayoutLMv3ForSequenceClassification
Browse files- config.json +54 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlmv3-base",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMv3ForSequenceClassification"
|
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": "LABEL_0",
|
18 |
+
"1": "LABEL_1",
|
19 |
+
"2": "LABEL_2",
|
20 |
+
"3": "LABEL_3",
|
21 |
+
"4": "LABEL_4"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"input_size": 224,
|
25 |
+
"intermediate_size": 3072,
|
26 |
+
"label2id": {
|
27 |
+
"LABEL_0": 0,
|
28 |
+
"LABEL_1": 1,
|
29 |
+
"LABEL_2": 2,
|
30 |
+
"LABEL_3": 3,
|
31 |
+
"LABEL_4": 4
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-05,
|
34 |
+
"max_2d_position_embeddings": 1024,
|
35 |
+
"max_position_embeddings": 514,
|
36 |
+
"max_rel_2d_pos": 256,
|
37 |
+
"max_rel_pos": 128,
|
38 |
+
"model_type": "layoutlmv3",
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_channels": 3,
|
41 |
+
"num_hidden_layers": 12,
|
42 |
+
"pad_token_id": 1,
|
43 |
+
"patch_size": 16,
|
44 |
+
"rel_2d_pos_bins": 64,
|
45 |
+
"rel_pos_bins": 32,
|
46 |
+
"second_input_size": 112,
|
47 |
+
"shape_size": 128,
|
48 |
+
"text_embed": true,
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.25.1",
|
51 |
+
"type_vocab_size": 1,
|
52 |
+
"visual_embed": true,
|
53 |
+
"vocab_size": 50265
|
54 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b415c080ba9be8bb095283fce0f39191b87a62d5120d1e272369390eba14ac9e
|
3 |
+
size 503759759
|