imosnoi commited on
Commit
3219a12
1 Parent(s): b2f029b

Upload LayoutLMForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +63 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "14": "LABEL_14",
27
+ "15": "LABEL_15"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "LABEL_0": 0,
33
+ "LABEL_1": 1,
34
+ "LABEL_10": 10,
35
+ "LABEL_11": 11,
36
+ "LABEL_12": 12,
37
+ "LABEL_13": 13,
38
+ "LABEL_14": 14,
39
+ "LABEL_15": 15,
40
+ "LABEL_2": 2,
41
+ "LABEL_3": 3,
42
+ "LABEL_4": 4,
43
+ "LABEL_5": 5,
44
+ "LABEL_6": 6,
45
+ "LABEL_7": 7,
46
+ "LABEL_8": 8,
47
+ "LABEL_9": 9
48
+ },
49
+ "layer_norm_eps": 1e-12,
50
+ "max_2d_position_embeddings": 1024,
51
+ "max_position_embeddings": 512,
52
+ "model_type": "layoutlm",
53
+ "num_attention_heads": 12,
54
+ "num_hidden_layers": 12,
55
+ "output_past": true,
56
+ "pad_token_id": 0,
57
+ "position_embedding_type": "absolute",
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.22.0.dev0",
60
+ "type_vocab_size": 2,
61
+ "use_cache": true,
62
+ "vocab_size": 30522
63
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cef0bd12db6808453dabcb633f165392073ffa0403938f16bd86464ae321b134
3
+ size 450634277