Upload LayoutLMForTokenClassification
Browse files- config.json +59 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlm-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0",
|
13 |
+
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2",
|
15 |
+
"3": "LABEL_3",
|
16 |
+
"4": "LABEL_4",
|
17 |
+
"5": "LABEL_5",
|
18 |
+
"6": "LABEL_6",
|
19 |
+
"7": "LABEL_7",
|
20 |
+
"8": "LABEL_8",
|
21 |
+
"9": "LABEL_9",
|
22 |
+
"10": "LABEL_10",
|
23 |
+
"11": "LABEL_11",
|
24 |
+
"12": "LABEL_12",
|
25 |
+
"13": "LABEL_13"
|
26 |
+
},
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"LABEL_0": 0,
|
31 |
+
"LABEL_1": 1,
|
32 |
+
"LABEL_10": 10,
|
33 |
+
"LABEL_11": 11,
|
34 |
+
"LABEL_12": 12,
|
35 |
+
"LABEL_13": 13,
|
36 |
+
"LABEL_2": 2,
|
37 |
+
"LABEL_3": 3,
|
38 |
+
"LABEL_4": 4,
|
39 |
+
"LABEL_5": 5,
|
40 |
+
"LABEL_6": 6,
|
41 |
+
"LABEL_7": 7,
|
42 |
+
"LABEL_8": 8,
|
43 |
+
"LABEL_9": 9
|
44 |
+
},
|
45 |
+
"layer_norm_eps": 1e-12,
|
46 |
+
"max_2d_position_embeddings": 1024,
|
47 |
+
"max_position_embeddings": 512,
|
48 |
+
"model_type": "layoutlm",
|
49 |
+
"num_attention_heads": 12,
|
50 |
+
"num_hidden_layers": 12,
|
51 |
+
"output_past": true,
|
52 |
+
"pad_token_id": 0,
|
53 |
+
"position_embedding_type": "absolute",
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.25.0.dev0",
|
56 |
+
"type_vocab_size": 2,
|
57 |
+
"use_cache": true,
|
58 |
+
"vocab_size": 30522
|
59 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8fd56895a8ff620257f71160d80bc72eeadd06a56b5b4106b37e66b8206d53f9
|
3 |
+
size 450628069
|