venneladondapati
commited on
Commit
•
0ac0ed9
1
Parent(s):
be817a3
Training in progress, epoch 1
Browse files- config.json +9 -25
- pytorch_model.bin +2 -2
- training_args.bin +1 -1
config.json
CHANGED
@@ -1,20 +1,14 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"LayoutLMForTokenClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
-
"bos_token_id": 0,
|
8 |
-
"classifier_dropout": null,
|
9 |
-
"coordinate_size": 128,
|
10 |
-
"eos_token_id": 2,
|
11 |
-
"has_relative_attention_bias": true,
|
12 |
-
"has_spatial_attention_bias": true,
|
13 |
"hidden_act": "gelu",
|
14 |
"hidden_dropout_prob": 0.1,
|
15 |
"hidden_size": 768,
|
16 |
"id2label": {
|
17 |
-
"0": "
|
18 |
"1": "B-TITLE",
|
19 |
"2": "I-TITLE",
|
20 |
"3": "B-SECTION_HEADER",
|
@@ -23,7 +17,6 @@
|
|
23 |
"6": "I-SUB_SECTION_HEADER"
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
-
"input_size": 224,
|
27 |
"intermediate_size": 3072,
|
28 |
"label2id": {
|
29 |
"B-SECTION_HEADER": 3,
|
@@ -32,29 +25,20 @@
|
|
32 |
"I-SECTION_HEADER": 4,
|
33 |
"I-SUB_SECTION_HEADER": 6,
|
34 |
"I-TITLE": 2,
|
35 |
-
"
|
36 |
},
|
37 |
-
"layer_norm_eps": 1e-
|
38 |
"max_2d_position_embeddings": 1024,
|
39 |
-
"max_position_embeddings":
|
40 |
-
"max_rel_2d_pos": 256,
|
41 |
-
"max_rel_pos": 128,
|
42 |
"model_type": "layoutlm",
|
43 |
"num_attention_heads": 12,
|
44 |
-
"num_channels": 3,
|
45 |
"num_hidden_layers": 12,
|
46 |
-
"
|
47 |
-
"
|
48 |
"position_embedding_type": "absolute",
|
49 |
-
"rel_2d_pos_bins": 64,
|
50 |
-
"rel_pos_bins": 32,
|
51 |
-
"second_input_size": 112,
|
52 |
-
"shape_size": 128,
|
53 |
-
"text_embed": true,
|
54 |
"torch_dtype": "float32",
|
55 |
"transformers_version": "4.33.2",
|
56 |
-
"type_vocab_size":
|
57 |
"use_cache": true,
|
58 |
-
"
|
59 |
-
"vocab_size": 50265
|
60 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "microsoft/layoutlm-base-uncased",
|
3 |
"architectures": [
|
4 |
"LayoutLMForTokenClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"hidden_act": "gelu",
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
+
"0": "OTHER",
|
12 |
"1": "B-TITLE",
|
13 |
"2": "I-TITLE",
|
14 |
"3": "B-SECTION_HEADER",
|
|
|
17 |
"6": "I-SUB_SECTION_HEADER"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
|
|
20 |
"intermediate_size": 3072,
|
21 |
"label2id": {
|
22 |
"B-SECTION_HEADER": 3,
|
|
|
25 |
"I-SECTION_HEADER": 4,
|
26 |
"I-SUB_SECTION_HEADER": 6,
|
27 |
"I-TITLE": 2,
|
28 |
+
"OTHER": 0
|
29 |
},
|
30 |
+
"layer_norm_eps": 1e-12,
|
31 |
"max_2d_position_embeddings": 1024,
|
32 |
+
"max_position_embeddings": 512,
|
|
|
|
|
33 |
"model_type": "layoutlm",
|
34 |
"num_attention_heads": 12,
|
|
|
35 |
"num_hidden_layers": 12,
|
36 |
+
"output_past": true,
|
37 |
+
"pad_token_id": 0,
|
38 |
"position_embedding_type": "absolute",
|
|
|
|
|
|
|
|
|
|
|
39 |
"torch_dtype": "float32",
|
40 |
"transformers_version": "4.33.2",
|
41 |
+
"type_vocab_size": 2,
|
42 |
"use_cache": true,
|
43 |
+
"vocab_size": 30522
|
|
|
44 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfbeca20098c21b821eb4ea46658c79c6233b6f2bce5144089eb19a7055c8779
|
3 |
+
size 450603969
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4027
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4dd91ecdba9a8615d187fd92bd8c72d7e92d348a88a05cfbc6f7de26ac246c96
|
3 |
size 4027
|