add model
Browse files- config.json +67 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Title",
|
13 |
+
"1": "Author",
|
14 |
+
"2": "Abstract",
|
15 |
+
"3": "Keywords",
|
16 |
+
"4": "Section",
|
17 |
+
"5": "Paragraph",
|
18 |
+
"6": "List",
|
19 |
+
"7": "Bibliography",
|
20 |
+
"8": "Equation",
|
21 |
+
"9": "Algorithm",
|
22 |
+
"10": "Figure",
|
23 |
+
"11": "Table",
|
24 |
+
"12": "Caption",
|
25 |
+
"13": "Header",
|
26 |
+
"14": "Footer",
|
27 |
+
"15": "Footnote"
|
28 |
+
},
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 3072,
|
31 |
+
"label2id": {
|
32 |
+
"Abstract": "2",
|
33 |
+
"Algorithm": "9",
|
34 |
+
"Author": "1",
|
35 |
+
"Bibliography": "7",
|
36 |
+
"Caption": "12",
|
37 |
+
"Equation": "8",
|
38 |
+
"Figure": "10",
|
39 |
+
"Footer": "14",
|
40 |
+
"Footnote": "15",
|
41 |
+
"Header": "13",
|
42 |
+
"Keywords": "3",
|
43 |
+
"List": "6",
|
44 |
+
"Paragraph": "5",
|
45 |
+
"Section": "4",
|
46 |
+
"Table": "11",
|
47 |
+
"Title": "0"
|
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 |
+
"transformers_version": "4.6.0",
|
59 |
+
"type_vocab_size": 2,
|
60 |
+
"use_cache": true,
|
61 |
+
"vila_preprocessor_config": {
|
62 |
+
"added_special_sepration_token": "[BLK]",
|
63 |
+
"agg_level": "row",
|
64 |
+
"group_bbox_agg": "first"
|
65 |
+
},
|
66 |
+
"vocab_size": 30522
|
67 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72f837b5a9ded923d31e7bbd9e1761663500416a407c68c37f04447215bd229b
|
3 |
+
size 450650989
|