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