Training in progress, epoch 1
Browse files- .gitignore +1 -0
- config.json +186 -0
- pytorch_model.bin +3 -0
- runs/Apr27_07-58-48_ea1c8325af52/1682582350.8509066/events.out.tfevents.1682582350.ea1c8325af52.5725.1 +3 -0
- runs/Apr27_07-58-48_ea1c8325af52/events.out.tfevents.1682582350.ea1c8325af52.5725.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +36 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlmv2-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMv2ForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"convert_sync_batchnorm": true,
|
8 |
+
"coordinate_size": 128,
|
9 |
+
"detectron2_config_args": {
|
10 |
+
"MODEL.ANCHOR_GENERATOR.SIZES": [
|
11 |
+
[
|
12 |
+
32
|
13 |
+
],
|
14 |
+
[
|
15 |
+
64
|
16 |
+
],
|
17 |
+
[
|
18 |
+
128
|
19 |
+
],
|
20 |
+
[
|
21 |
+
256
|
22 |
+
],
|
23 |
+
[
|
24 |
+
512
|
25 |
+
]
|
26 |
+
],
|
27 |
+
"MODEL.BACKBONE.NAME": "build_resnet_fpn_backbone",
|
28 |
+
"MODEL.FPN.IN_FEATURES": [
|
29 |
+
"res2",
|
30 |
+
"res3",
|
31 |
+
"res4",
|
32 |
+
"res5"
|
33 |
+
],
|
34 |
+
"MODEL.MASK_ON": true,
|
35 |
+
"MODEL.PIXEL_STD": [
|
36 |
+
57.375,
|
37 |
+
57.12,
|
38 |
+
58.395
|
39 |
+
],
|
40 |
+
"MODEL.POST_NMS_TOPK_TEST": 1000,
|
41 |
+
"MODEL.RESNETS.ASPECT_RATIOS": [
|
42 |
+
[
|
43 |
+
0.5,
|
44 |
+
1.0,
|
45 |
+
2.0
|
46 |
+
]
|
47 |
+
],
|
48 |
+
"MODEL.RESNETS.DEPTH": 101,
|
49 |
+
"MODEL.RESNETS.NUM_GROUPS": 32,
|
50 |
+
"MODEL.RESNETS.OUT_FEATURES": [
|
51 |
+
"res2",
|
52 |
+
"res3",
|
53 |
+
"res4",
|
54 |
+
"res5"
|
55 |
+
],
|
56 |
+
"MODEL.RESNETS.SIZES": [
|
57 |
+
[
|
58 |
+
32
|
59 |
+
],
|
60 |
+
[
|
61 |
+
64
|
62 |
+
],
|
63 |
+
[
|
64 |
+
128
|
65 |
+
],
|
66 |
+
[
|
67 |
+
256
|
68 |
+
],
|
69 |
+
[
|
70 |
+
512
|
71 |
+
]
|
72 |
+
],
|
73 |
+
"MODEL.RESNETS.STRIDE_IN_1X1": false,
|
74 |
+
"MODEL.RESNETS.WIDTH_PER_GROUP": 8,
|
75 |
+
"MODEL.ROI_BOX_HEAD.NAME": "FastRCNNConvFCHead",
|
76 |
+
"MODEL.ROI_BOX_HEAD.NUM_FC": 2,
|
77 |
+
"MODEL.ROI_BOX_HEAD.POOLER_RESOLUTION": 14,
|
78 |
+
"MODEL.ROI_HEADS.IN_FEATURES": [
|
79 |
+
"p2",
|
80 |
+
"p3",
|
81 |
+
"p4",
|
82 |
+
"p5"
|
83 |
+
],
|
84 |
+
"MODEL.ROI_HEADS.NAME": "StandardROIHeads",
|
85 |
+
"MODEL.ROI_HEADS.NUM_CLASSES": 5,
|
86 |
+
"MODEL.ROI_MASK_HEAD.NAME": "MaskRCNNConvUpsampleHead",
|
87 |
+
"MODEL.ROI_MASK_HEAD.NUM_CONV": 4,
|
88 |
+
"MODEL.ROI_MASK_HEAD.POOLER_RESOLUTION": 7,
|
89 |
+
"MODEL.RPN.IN_FEATURES": [
|
90 |
+
"p2",
|
91 |
+
"p3",
|
92 |
+
"p4",
|
93 |
+
"p5",
|
94 |
+
"p6"
|
95 |
+
],
|
96 |
+
"MODEL.RPN.POST_NMS_TOPK_TRAIN": 1000,
|
97 |
+
"MODEL.RPN.PRE_NMS_TOPK_TEST": 1000,
|
98 |
+
"MODEL.RPN.PRE_NMS_TOPK_TRAIN": 2000
|
99 |
+
},
|
100 |
+
"fast_qkv": true,
|
101 |
+
"gradient_checkpointing": false,
|
102 |
+
"has_relative_attention_bias": true,
|
103 |
+
"has_spatial_attention_bias": true,
|
104 |
+
"has_visual_segment_embedding": false,
|
105 |
+
"hidden_act": "gelu",
|
106 |
+
"hidden_dropout_prob": 0.1,
|
107 |
+
"hidden_size": 768,
|
108 |
+
"id2label": {
|
109 |
+
"0": "B-PROVIDER_NAME_KEY",
|
110 |
+
"1": "E-PROVIDER_NAME_VALUE",
|
111 |
+
"2": "S-PATIENT_NAME_KEY",
|
112 |
+
"3": "I-DOB_KEY",
|
113 |
+
"4": "B-DOB_VALUE",
|
114 |
+
"5": "I-PROVIDER_NAME_KEY",
|
115 |
+
"6": "E-DOB_VALUE",
|
116 |
+
"7": "O",
|
117 |
+
"8": "E-PATIENT_NAME_VALUE",
|
118 |
+
"9": "B-PATIENT_NAME_KEY",
|
119 |
+
"10": "E-PROVIDER_NAME_KEY",
|
120 |
+
"11": "S-DOB_VALUE",
|
121 |
+
"12": "S-PROVIDER_NAME_KEY",
|
122 |
+
"13": "B-PROVIDER_NAME_VALUE",
|
123 |
+
"14": "I-PATIENT_NAME_VALUE",
|
124 |
+
"15": "S-PATIENT_NAME_VALUE",
|
125 |
+
"16": "I-DOB_VALUE",
|
126 |
+
"17": "S-PROVIDER_NAME_VALUE",
|
127 |
+
"18": "B-DOB_KEY",
|
128 |
+
"19": "S-DOB_KEY",
|
129 |
+
"20": "I-PATIENT_NAME_KEY",
|
130 |
+
"21": "E-PATIENT_NAME_KEY",
|
131 |
+
"22": "E-DOB_KEY",
|
132 |
+
"23": "I-PROVIDER_NAME_VALUE",
|
133 |
+
"24": "B-PATIENT_NAME_VALUE"
|
134 |
+
},
|
135 |
+
"image_feature_pool_shape": [
|
136 |
+
7,
|
137 |
+
7,
|
138 |
+
256
|
139 |
+
],
|
140 |
+
"initializer_range": 0.02,
|
141 |
+
"intermediate_size": 3072,
|
142 |
+
"label2id": {
|
143 |
+
"B-DOB_KEY": 18,
|
144 |
+
"B-DOB_VALUE": 4,
|
145 |
+
"B-PATIENT_NAME_KEY": 9,
|
146 |
+
"B-PATIENT_NAME_VALUE": 24,
|
147 |
+
"B-PROVIDER_NAME_KEY": 0,
|
148 |
+
"B-PROVIDER_NAME_VALUE": 13,
|
149 |
+
"E-DOB_KEY": 22,
|
150 |
+
"E-DOB_VALUE": 6,
|
151 |
+
"E-PATIENT_NAME_KEY": 21,
|
152 |
+
"E-PATIENT_NAME_VALUE": 8,
|
153 |
+
"E-PROVIDER_NAME_KEY": 10,
|
154 |
+
"E-PROVIDER_NAME_VALUE": 1,
|
155 |
+
"I-DOB_KEY": 3,
|
156 |
+
"I-DOB_VALUE": 16,
|
157 |
+
"I-PATIENT_NAME_KEY": 20,
|
158 |
+
"I-PATIENT_NAME_VALUE": 14,
|
159 |
+
"I-PROVIDER_NAME_KEY": 5,
|
160 |
+
"I-PROVIDER_NAME_VALUE": 23,
|
161 |
+
"O": 7,
|
162 |
+
"S-DOB_KEY": 19,
|
163 |
+
"S-DOB_VALUE": 11,
|
164 |
+
"S-PATIENT_NAME_KEY": 2,
|
165 |
+
"S-PATIENT_NAME_VALUE": 15,
|
166 |
+
"S-PROVIDER_NAME_KEY": 12,
|
167 |
+
"S-PROVIDER_NAME_VALUE": 17
|
168 |
+
},
|
169 |
+
"layer_norm_eps": 1e-12,
|
170 |
+
"max_2d_position_embeddings": 1024,
|
171 |
+
"max_position_embeddings": 512,
|
172 |
+
"max_rel_2d_pos": 256,
|
173 |
+
"max_rel_pos": 128,
|
174 |
+
"model_type": "layoutlmv2",
|
175 |
+
"num_attention_heads": 12,
|
176 |
+
"num_hidden_layers": 12,
|
177 |
+
"output_past": true,
|
178 |
+
"pad_token_id": 0,
|
179 |
+
"rel_2d_pos_bins": 64,
|
180 |
+
"rel_pos_bins": 32,
|
181 |
+
"shape_size": 128,
|
182 |
+
"torch_dtype": "float32",
|
183 |
+
"transformers_version": "4.28.0",
|
184 |
+
"type_vocab_size": 2,
|
185 |
+
"vocab_size": 30522
|
186 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f1049fde614b5c7df16759282d745a9dd3ccb0db27e734c3b14dec1efeff715
|
3 |
+
size 802286393
|
runs/Apr27_07-58-48_ea1c8325af52/1682582350.8509066/events.out.tfevents.1682582350.ea1c8325af52.5725.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a12d020b844edb4a04be284b442a84fecee0a80790ca39296641e78d60180622
|
3 |
+
size 5976
|
runs/Apr27_07-58-48_ea1c8325af52/events.out.tfevents.1682582350.ea1c8325af52.5725.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5fc4bf2463ff718351d4fff42b775327681a7a5f8367199ac887dda392f2955
|
3 |
+
size 9795
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": null,
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"cls_token": "[CLS]",
|
5 |
+
"cls_token_box": [
|
6 |
+
0,
|
7 |
+
0,
|
8 |
+
0,
|
9 |
+
0
|
10 |
+
],
|
11 |
+
"do_basic_tokenize": true,
|
12 |
+
"do_lower_case": true,
|
13 |
+
"mask_token": "[MASK]",
|
14 |
+
"model_max_length": 512,
|
15 |
+
"never_split": null,
|
16 |
+
"only_label_first_subword": true,
|
17 |
+
"pad_token": "[PAD]",
|
18 |
+
"pad_token_box": [
|
19 |
+
0,
|
20 |
+
0,
|
21 |
+
0,
|
22 |
+
0
|
23 |
+
],
|
24 |
+
"pad_token_label": -100,
|
25 |
+
"sep_token": "[SEP]",
|
26 |
+
"sep_token_box": [
|
27 |
+
1000,
|
28 |
+
1000,
|
29 |
+
1000,
|
30 |
+
1000
|
31 |
+
],
|
32 |
+
"strip_accents": null,
|
33 |
+
"tokenize_chinese_chars": true,
|
34 |
+
"tokenizer_class": "LayoutLMv2Tokenizer",
|
35 |
+
"unk_token": "[UNK]"
|
36 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:977438418bc6363ba3db4082104511605010abcc1b57b190dd2be06de2397b15
|
3 |
+
size 3707
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|