Shannon Shen commited on
Commit
e864da3
1 Parent(s): 7705657
Files changed (2) hide show
  1. config.json +61 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LayoutLMForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "finetuning_task": "token_classification",
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "paragraph",
13
+ "1": "title",
14
+ "2": "equation",
15
+ "3": "reference",
16
+ "4": "section",
17
+ "5": "list",
18
+ "6": "table",
19
+ "7": "caption",
20
+ "8": "author",
21
+ "9": "abstract",
22
+ "10": "footer",
23
+ "11": "date",
24
+ "12": "figure"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "abstract": "9",
30
+ "author": "8",
31
+ "caption": "7",
32
+ "date": "11",
33
+ "equation": "2",
34
+ "figure": "12",
35
+ "footer": "10",
36
+ "list": "5",
37
+ "paragraph": "0",
38
+ "reference": "3",
39
+ "section": "4",
40
+ "table": "6",
41
+ "title": "1"
42
+ },
43
+ "layer_norm_eps": 1e-12,
44
+ "max_2d_position_embeddings": 1024,
45
+ "max_position_embeddings": 512,
46
+ "model_type": "layoutlm",
47
+ "num_attention_heads": 12,
48
+ "num_hidden_layers": 12,
49
+ "output_past": true,
50
+ "pad_token_id": 0,
51
+ "position_embedding_type": "absolute",
52
+ "transformers_version": "4.7.0",
53
+ "type_vocab_size": 2,
54
+ "use_cache": true,
55
+ "vila_preprocessor_config": {
56
+ "added_special_sepration_token": "[BLK]",
57
+ "agg_level": "block",
58
+ "group_bbox_agg": "first"
59
+ },
60
+ "vocab_size": 30522
61
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:923fdf0aa6cca864089602199197b9634bf8c44be5338e038a7c965f0db0154d
3
+ size 450641709