Shannon Shen commited on
Commit
9f432a2
1 Parent(s): 415d818
Files changed (2) hide show
  1. config.json +79 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "BIB_INFO",
13
+ "1": "REFERENCES",
14
+ "2": "UNKNOWN",
15
+ "3": "BODY_CONTENT",
16
+ "4": "PAGE_NUMBER",
17
+ "5": "TABLE",
18
+ "6": "ACKNOWLEDGMENT",
19
+ "7": "FIGURE",
20
+ "8": "CONFLICT_STATEMENT",
21
+ "9": "AFFILIATION",
22
+ "10": "DATES",
23
+ "11": "TYPE",
24
+ "12": "TITLE",
25
+ "13": "AUTHOR",
26
+ "14": "ABSTRACT",
27
+ "15": "CORRESPONDENCE",
28
+ "16": "EDITOR",
29
+ "17": "COPYRIGHT",
30
+ "18": "AUTHOR_TITLE",
31
+ "19": "KEYWORDS",
32
+ "20": "GLOSSARY",
33
+ "21": "EQUATION"
34
+ },
35
+ "initializer_range": 0.02,
36
+ "intermediate_size": 3072,
37
+ "label2id": {
38
+ "ABSTRACT": "14",
39
+ "ACKNOWLEDGMENT": "6",
40
+ "AFFILIATION": "9",
41
+ "AUTHOR": "13",
42
+ "AUTHOR_TITLE": "18",
43
+ "BIB_INFO": "0",
44
+ "BODY_CONTENT": "3",
45
+ "CONFLICT_STATEMENT": "8",
46
+ "COPYRIGHT": "17",
47
+ "CORRESPONDENCE": "15",
48
+ "DATES": "10",
49
+ "EDITOR": "16",
50
+ "EQUATION": "21",
51
+ "FIGURE": "7",
52
+ "GLOSSARY": "20",
53
+ "KEYWORDS": "19",
54
+ "PAGE_NUMBER": "4",
55
+ "REFERENCES": "1",
56
+ "TABLE": "5",
57
+ "TITLE": "12",
58
+ "TYPE": "11",
59
+ "UNKNOWN": "2"
60
+ },
61
+ "layer_norm_eps": 1e-12,
62
+ "max_2d_position_embeddings": 1024,
63
+ "max_position_embeddings": 512,
64
+ "model_type": "layoutlm",
65
+ "num_attention_heads": 12,
66
+ "num_hidden_layers": 12,
67
+ "output_past": true,
68
+ "pad_token_id": 0,
69
+ "position_embedding_type": "absolute",
70
+ "transformers_version": "4.7.0",
71
+ "type_vocab_size": 2,
72
+ "use_cache": true,
73
+ "vila_preprocessor_config": {
74
+ "added_special_sepration_token": "[BLK]",
75
+ "agg_level": "block",
76
+ "group_bbox_agg": "first"
77
+ },
78
+ "vocab_size": 30522
79
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29b2e57ebd778c4958c12a702bb8a13b170343f38b1bd39078cb7db5aba746d2
3
+ size 450669421