Shannon Shen
commited on
Commit
•
6caaf07
1
Parent(s):
930e3ec
add model
Browse files- config.json +53 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"HierarchicalModelForTokenClassification"
|
4 |
+
],
|
5 |
+
"finetuning_task": "token_classification",
|
6 |
+
"hidden_dropout_prob": 0.1,
|
7 |
+
"hidden_size": 768,
|
8 |
+
"id2label": {
|
9 |
+
"0": "paragraph",
|
10 |
+
"1": "title",
|
11 |
+
"2": "equation",
|
12 |
+
"3": "reference",
|
13 |
+
"4": "section",
|
14 |
+
"5": "list",
|
15 |
+
"6": "table",
|
16 |
+
"7": "caption",
|
17 |
+
"8": "author",
|
18 |
+
"9": "abstract",
|
19 |
+
"10": "footer",
|
20 |
+
"11": "date",
|
21 |
+
"12": "figure"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"label2id": {
|
25 |
+
"abstract": "9",
|
26 |
+
"author": "8",
|
27 |
+
"caption": "7",
|
28 |
+
"date": "11",
|
29 |
+
"equation": "2",
|
30 |
+
"figure": "12",
|
31 |
+
"footer": "10",
|
32 |
+
"list": "5",
|
33 |
+
"paragraph": "0",
|
34 |
+
"reference": "3",
|
35 |
+
"section": "4",
|
36 |
+
"table": "6",
|
37 |
+
"title": "1"
|
38 |
+
},
|
39 |
+
"load_weights_from_existing_model": false,
|
40 |
+
"model_type": "hierarchical_model",
|
41 |
+
"pad_token_id": 0,
|
42 |
+
"textline_encoder_output": "average",
|
43 |
+
"textline_encoder_type": "bert-layer",
|
44 |
+
"textline_encoder_used_bert_layer": "first",
|
45 |
+
"textline_model_type": "layoutlm-base-uncased",
|
46 |
+
"textline_model_used_bert_layer": "first",
|
47 |
+
"transformers_version": "4.7.0",
|
48 |
+
"vila_preprocessor_config": {
|
49 |
+
"agg_level": "block",
|
50 |
+
"group_bbox_agg": "first"
|
51 |
+
},
|
52 |
+
"vocab_size": 30522
|
53 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77c5fe54a1135c52c7b1c93c8c48fec46a2cbaced902607975b2ca39b6d1e163
|
3 |
+
size 576730501
|