Training in progress, epoch 1
Browse files- .gitignore +1 -0
- config.json +182 -0
- pytorch_model.bin +3 -0
- runs/Oct07_10-24-51_1ad834c1cec2/1665138307.218415/events.out.tfevents.1665138307.1ad834c1cec2.753.1 +3 -0
- runs/Oct07_10-24-51_1ad834c1cec2/events.out.tfevents.1665138307.1ad834c1cec2.753.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +37 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "S-DOB_KEY",
|
110 |
+
"1": "I-DOB_KEY",
|
111 |
+
"2": "E-DOB_VALUE",
|
112 |
+
"3": "E-PATIENT_NAME_KEY",
|
113 |
+
"4": "B-PATIENT_NAME_KEY",
|
114 |
+
"5": "B-DOCTOR_NAME_VALUE",
|
115 |
+
"6": "I-PATIENT_NAME_KEY",
|
116 |
+
"7": "I-PATIENT_NAME_VALUE",
|
117 |
+
"8": "S-PATIENT_NAME_KEY",
|
118 |
+
"9": "B-PATIENT_NAME_VALUE",
|
119 |
+
"10": "S-DOB_VALUE",
|
120 |
+
"11": "E-DOCTOR_NAME_KEY",
|
121 |
+
"12": "O",
|
122 |
+
"13": "B-DOCTOR_NAME_KEY",
|
123 |
+
"14": "E-DOB_KEY",
|
124 |
+
"15": "S-DOCTOR_NAME_KEY",
|
125 |
+
"16": "I-DOB_VALUE",
|
126 |
+
"17": "B-DOB_VALUE",
|
127 |
+
"18": "B-DOB_KEY",
|
128 |
+
"19": "E-PATIENT_NAME_VALUE",
|
129 |
+
"20": "E-DOCTOR_NAME_VALUE",
|
130 |
+
"21": "I-DOCTOR_NAME_VALUE",
|
131 |
+
"22": "I-DOCTOR_NAME_KEY"
|
132 |
+
},
|
133 |
+
"image_feature_pool_shape": [
|
134 |
+
7,
|
135 |
+
7,
|
136 |
+
256
|
137 |
+
],
|
138 |
+
"initializer_range": 0.02,
|
139 |
+
"intermediate_size": 3072,
|
140 |
+
"label2id": {
|
141 |
+
"B-DOB_KEY": 18,
|
142 |
+
"B-DOB_VALUE": 17,
|
143 |
+
"B-DOCTOR_NAME_KEY": 13,
|
144 |
+
"B-DOCTOR_NAME_VALUE": 5,
|
145 |
+
"B-PATIENT_NAME_KEY": 4,
|
146 |
+
"B-PATIENT_NAME_VALUE": 9,
|
147 |
+
"E-DOB_KEY": 14,
|
148 |
+
"E-DOB_VALUE": 2,
|
149 |
+
"E-DOCTOR_NAME_KEY": 11,
|
150 |
+
"E-DOCTOR_NAME_VALUE": 20,
|
151 |
+
"E-PATIENT_NAME_KEY": 3,
|
152 |
+
"E-PATIENT_NAME_VALUE": 19,
|
153 |
+
"I-DOB_KEY": 1,
|
154 |
+
"I-DOB_VALUE": 16,
|
155 |
+
"I-DOCTOR_NAME_KEY": 22,
|
156 |
+
"I-DOCTOR_NAME_VALUE": 21,
|
157 |
+
"I-PATIENT_NAME_KEY": 6,
|
158 |
+
"I-PATIENT_NAME_VALUE": 7,
|
159 |
+
"O": 12,
|
160 |
+
"S-DOB_KEY": 0,
|
161 |
+
"S-DOB_VALUE": 10,
|
162 |
+
"S-DOCTOR_NAME_KEY": 15,
|
163 |
+
"S-PATIENT_NAME_KEY": 8
|
164 |
+
},
|
165 |
+
"layer_norm_eps": 1e-12,
|
166 |
+
"max_2d_position_embeddings": 1024,
|
167 |
+
"max_position_embeddings": 512,
|
168 |
+
"max_rel_2d_pos": 256,
|
169 |
+
"max_rel_pos": 128,
|
170 |
+
"model_type": "layoutlmv2",
|
171 |
+
"num_attention_heads": 12,
|
172 |
+
"num_hidden_layers": 12,
|
173 |
+
"output_past": true,
|
174 |
+
"pad_token_id": 0,
|
175 |
+
"rel_2d_pos_bins": 64,
|
176 |
+
"rel_pos_bins": 32,
|
177 |
+
"shape_size": 128,
|
178 |
+
"torch_dtype": "float32",
|
179 |
+
"transformers_version": "4.23.0.dev0",
|
180 |
+
"type_vocab_size": 2,
|
181 |
+
"vocab_size": 30522
|
182 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:250382958e76e48d1ac4bf7f98f6d99080cdce8bcd2eeaab8482c4396aefc203
|
3 |
+
size 802275371
|
runs/Oct07_10-24-51_1ad834c1cec2/1665138307.218415/events.out.tfevents.1665138307.1ad834c1cec2.753.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3040a63ea4d9d0f52f538e66314b74f305a8b271c52719cdf9e3427255d518c
|
3 |
+
size 5567
|
runs/Oct07_10-24-51_1ad834c1cec2/events.out.tfevents.1665138307.1ad834c1cec2.753.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66b337a6445fbc4e34780cf608a1e780bca8c73fbaa9a8dd2b231a05ffe31447
|
3 |
+
size 9326
|
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,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": null,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"cls_token_box": [
|
5 |
+
0,
|
6 |
+
0,
|
7 |
+
0,
|
8 |
+
0
|
9 |
+
],
|
10 |
+
"do_basic_tokenize": true,
|
11 |
+
"do_lower_case": true,
|
12 |
+
"mask_token": "[MASK]",
|
13 |
+
"model_max_length": 512,
|
14 |
+
"name_or_path": "microsoft/layoutlmv2-base-uncased",
|
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 |
+
"special_tokens_map_file": null,
|
33 |
+
"strip_accents": null,
|
34 |
+
"tokenize_chinese_chars": true,
|
35 |
+
"tokenizer_class": "LayoutLMv2Tokenizer",
|
36 |
+
"unk_token": "[UNK]"
|
37 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e282dc2e45c2ea11b880766213917d2aebdf5d3b50f888a8647ac6889369fc1
|
3 |
+
size 3503
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|