ghaith1997
commited on
Commit
•
0ad239b
1
Parent(s):
852b3f4
Upload LayoutLMv3ForTokenClassification
Browse files- config.json +56 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "client",
|
18 |
+
"1": "date",
|
19 |
+
"2": "reference",
|
20 |
+
"3": "quantity",
|
21 |
+
"4": "type",
|
22 |
+
"5": "other"
|
23 |
+
},
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"input_size": 224,
|
26 |
+
"intermediate_size": 3072,
|
27 |
+
"label2id": {
|
28 |
+
"client": 0,
|
29 |
+
"date": 1,
|
30 |
+
"other": 5,
|
31 |
+
"quantity": 3,
|
32 |
+
"reference": 2,
|
33 |
+
"type": 4
|
34 |
+
},
|
35 |
+
"layer_norm_eps": 1e-05,
|
36 |
+
"max_2d_position_embeddings": 1024,
|
37 |
+
"max_position_embeddings": 514,
|
38 |
+
"max_rel_2d_pos": 256,
|
39 |
+
"max_rel_pos": 128,
|
40 |
+
"model_type": "layoutlmv3",
|
41 |
+
"num_attention_heads": 12,
|
42 |
+
"num_channels": 3,
|
43 |
+
"num_hidden_layers": 12,
|
44 |
+
"pad_token_id": 1,
|
45 |
+
"patch_size": 16,
|
46 |
+
"rel_2d_pos_bins": 64,
|
47 |
+
"rel_pos_bins": 32,
|
48 |
+
"second_input_size": 112,
|
49 |
+
"shape_size": 128,
|
50 |
+
"text_embed": true,
|
51 |
+
"torch_dtype": "float32",
|
52 |
+
"transformers_version": "4.27.3",
|
53 |
+
"type_vocab_size": 1,
|
54 |
+
"visual_embed": true,
|
55 |
+
"vocab_size": 50265
|
56 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:403fe1852dea5594f9713004c914cd9b8aea7512f3d7069e97b89e778cc7cc2b
|
3 |
+
size 501404713
|