Upload LayoutLMv3ForSequenceClassification
Browse files- config.json +60 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "IDnewBack",
|
18 |
+
"1": "IDnewFront",
|
19 |
+
"2": "IDoldBack",
|
20 |
+
"3": "IDoldFront",
|
21 |
+
"4": "PSP",
|
22 |
+
"5": "TDSnewBack",
|
23 |
+
"6": "TDSnewFront",
|
24 |
+
"7": "TDSoldBack"
|
25 |
+
},
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"input_size": 224,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"IDnewBack": 0,
|
31 |
+
"IDnewFront": 1,
|
32 |
+
"IDoldBack": 2,
|
33 |
+
"IDoldFront": 3,
|
34 |
+
"PSP": 4,
|
35 |
+
"TDSnewBack": 5,
|
36 |
+
"TDSnewFront": 6,
|
37 |
+
"TDSoldBack": 7
|
38 |
+
},
|
39 |
+
"layer_norm_eps": 1e-05,
|
40 |
+
"max_2d_position_embeddings": 1024,
|
41 |
+
"max_position_embeddings": 514,
|
42 |
+
"max_rel_2d_pos": 256,
|
43 |
+
"max_rel_pos": 128,
|
44 |
+
"model_type": "layoutlmv3",
|
45 |
+
"num_attention_heads": 12,
|
46 |
+
"num_channels": 3,
|
47 |
+
"num_hidden_layers": 12,
|
48 |
+
"pad_token_id": 1,
|
49 |
+
"patch_size": 16,
|
50 |
+
"rel_2d_pos_bins": 64,
|
51 |
+
"rel_pos_bins": 32,
|
52 |
+
"second_input_size": 112,
|
53 |
+
"shape_size": 128,
|
54 |
+
"text_embed": true,
|
55 |
+
"torch_dtype": "float32",
|
56 |
+
"transformers_version": "4.27.2",
|
57 |
+
"type_vocab_size": 1,
|
58 |
+
"visual_embed": true,
|
59 |
+
"vocab_size": 50265
|
60 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f09223d20d5edbe74247b459118545380e87518ad6041cc8ff66568300ba58d
|
3 |
+
size 503770865
|