Iloriayomide commited on
Commit
bee9179
·
verified ·
1 Parent(s): 032cdff

End of training

Browse files
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: emilyalsentzer/Bio_ClinicalBERT
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: results_massive_v2
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # results_massive_v2
16
+
17
+ This model is a fine-tuned version of [emilyalsentzer/Bio_ClinicalBERT](https://huggingface.co/emilyalsentzer/Bio_ClinicalBERT) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.2577
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 2e-05
39
+ - train_batch_size: 32
40
+ - eval_batch_size: 16
41
+ - seed: 42
42
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 3
45
+ - mixed_precision_training: Native AMP
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | 0.4108 | 1.0 | 2737 | 0.3452 |
52
+ | 0.3092 | 2.0 | 5474 | 0.2852 |
53
+ | 0.2526 | 3.0 | 8211 | 0.2577 |
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.53.3
59
+ - Pytorch 2.6.0+cu124
60
+ - Datasets 4.4.1
61
+ - Tokenizers 0.21.2
config.json ADDED
@@ -0,0 +1,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "Acne",
12
+ "1": "Arthritis",
13
+ "2": "Bronchial Asthma",
14
+ "3": "Cervical spondylosis",
15
+ "4": "Chicken pox",
16
+ "5": "Common Cold",
17
+ "6": "Dengue",
18
+ "7": "Dimorphic Hemorrhoids",
19
+ "8": "Fungal infection",
20
+ "9": "Hypertension",
21
+ "10": "Impetigo",
22
+ "11": "Jaundice",
23
+ "12": "Malaria",
24
+ "13": "Migraine",
25
+ "14": "Pneumonia",
26
+ "15": "Psoriasis",
27
+ "16": "Typhoid",
28
+ "17": "Varicose Veins",
29
+ "18": "actinic keratosis",
30
+ "19": "acute bronchiolitis",
31
+ "20": "acute bronchitis",
32
+ "21": "acute bronchospasm",
33
+ "22": "acute kidney injury",
34
+ "23": "acute pancreatitis",
35
+ "24": "acute sinusitis",
36
+ "25": "allergy",
37
+ "26": "angina",
38
+ "27": "anxiety",
39
+ "28": "appendicitis",
40
+ "29": "arthritis of the hip",
41
+ "30": "asthma",
42
+ "31": "benign prostatic hyperplasia (bph)",
43
+ "32": "brachial neuritis",
44
+ "33": "bursitis",
45
+ "34": "carpal tunnel syndrome",
46
+ "35": "cholecystitis",
47
+ "36": "chronic back pain",
48
+ "37": "chronic constipation",
49
+ "38": "chronic obstructive pulmonary disease (copd)",
50
+ "39": "common cold",
51
+ "40": "complex regional pain syndrome",
52
+ "41": "concussion",
53
+ "42": "conjunctivitis",
54
+ "43": "conjunctivitis due to allergy",
55
+ "44": "contact dermatitis",
56
+ "45": "cornea infection",
57
+ "46": "croup",
58
+ "47": "cystitis",
59
+ "48": "degenerative disc disease",
60
+ "49": "dental caries",
61
+ "50": "depression",
62
+ "51": "developmental disability",
63
+ "52": "diabetes",
64
+ "53": "diaper rash",
65
+ "54": "diverticulitis",
66
+ "55": "drug reaction",
67
+ "56": "ear drum damage",
68
+ "57": "eczema",
69
+ "58": "esophagitis",
70
+ "59": "eustachian tube dysfunction (ear disorder)",
71
+ "60": "fungal infection of the hair",
72
+ "61": "gallstone",
73
+ "62": "gastroesophageal reflux disease",
74
+ "63": "gastrointestinal hemorrhage",
75
+ "64": "gout",
76
+ "65": "gum disease",
77
+ "66": "heart attack",
78
+ "67": "heart failure",
79
+ "68": "hemorrhoids",
80
+ "69": "herniated disk",
81
+ "70": "hiatal hernia",
82
+ "71": "hyperemesis gravidarum",
83
+ "72": "hypertensive heart disease",
84
+ "73": "hypoglycemia",
85
+ "74": "idiopathic excessive menstruation",
86
+ "75": "idiopathic irregular menstrual cycle",
87
+ "76": "idiopathic painful menstruation",
88
+ "77": "infectious gastroenteritis",
89
+ "78": "injury to the arm",
90
+ "79": "injury to the leg",
91
+ "80": "injury to the trunk",
92
+ "81": "liver disease",
93
+ "82": "macular degeneration",
94
+ "83": "marijuana abuse",
95
+ "84": "multiple sclerosis",
96
+ "85": "noninfectious gastroenteritis",
97
+ "86": "nose disorder",
98
+ "87": "obstructive sleep apnea (osa)",
99
+ "88": "otitis externa (swimmer's ear)",
100
+ "89": "otitis media",
101
+ "90": "pain after an operation",
102
+ "91": "panic disorder",
103
+ "92": "pelvic inflammatory disease",
104
+ "93": "peptic ulcer disease",
105
+ "94": "peripheral nerve disorder",
106
+ "95": "personality disorder",
107
+ "96": "pneumonia",
108
+ "97": "problem during pregnancy",
109
+ "98": "psoriasis",
110
+ "99": "pyogenic skin infection",
111
+ "100": "rectal disorder",
112
+ "101": "schizophrenia",
113
+ "102": "seasonal allergies (hay fever)",
114
+ "103": "sebaceous cyst",
115
+ "104": "sepsis",
116
+ "105": "sickle cell crisis",
117
+ "106": "sinus bradycardia",
118
+ "107": "skin pigmentation disorder",
119
+ "108": "skin polyp",
120
+ "109": "spinal stenosis",
121
+ "110": "spondylosis",
122
+ "111": "spontaneous abortion",
123
+ "112": "sprain or strain",
124
+ "113": "strep throat",
125
+ "114": "stye",
126
+ "115": "temporary or benign blood in urine",
127
+ "116": "threatened pregnancy",
128
+ "117": "urinary tract infection",
129
+ "118": "vaginal cyst",
130
+ "119": "vaginitis",
131
+ "120": "vulvodynia"
132
+ },
133
+ "initializer_range": 0.02,
134
+ "intermediate_size": 3072,
135
+ "label2id": {
136
+ "Acne": 0,
137
+ "Arthritis": 1,
138
+ "Bronchial Asthma": 2,
139
+ "Cervical spondylosis": 3,
140
+ "Chicken pox": 4,
141
+ "Common Cold": 5,
142
+ "Dengue": 6,
143
+ "Dimorphic Hemorrhoids": 7,
144
+ "Fungal infection": 8,
145
+ "Hypertension": 9,
146
+ "Impetigo": 10,
147
+ "Jaundice": 11,
148
+ "Malaria": 12,
149
+ "Migraine": 13,
150
+ "Pneumonia": 14,
151
+ "Psoriasis": 15,
152
+ "Typhoid": 16,
153
+ "Varicose Veins": 17,
154
+ "actinic keratosis": 18,
155
+ "acute bronchiolitis": 19,
156
+ "acute bronchitis": 20,
157
+ "acute bronchospasm": 21,
158
+ "acute kidney injury": 22,
159
+ "acute pancreatitis": 23,
160
+ "acute sinusitis": 24,
161
+ "allergy": 25,
162
+ "angina": 26,
163
+ "anxiety": 27,
164
+ "appendicitis": 28,
165
+ "arthritis of the hip": 29,
166
+ "asthma": 30,
167
+ "benign prostatic hyperplasia (bph)": 31,
168
+ "brachial neuritis": 32,
169
+ "bursitis": 33,
170
+ "carpal tunnel syndrome": 34,
171
+ "cholecystitis": 35,
172
+ "chronic back pain": 36,
173
+ "chronic constipation": 37,
174
+ "chronic obstructive pulmonary disease (copd)": 38,
175
+ "common cold": 39,
176
+ "complex regional pain syndrome": 40,
177
+ "concussion": 41,
178
+ "conjunctivitis": 42,
179
+ "conjunctivitis due to allergy": 43,
180
+ "contact dermatitis": 44,
181
+ "cornea infection": 45,
182
+ "croup": 46,
183
+ "cystitis": 47,
184
+ "degenerative disc disease": 48,
185
+ "dental caries": 49,
186
+ "depression": 50,
187
+ "developmental disability": 51,
188
+ "diabetes": 52,
189
+ "diaper rash": 53,
190
+ "diverticulitis": 54,
191
+ "drug reaction": 55,
192
+ "ear drum damage": 56,
193
+ "eczema": 57,
194
+ "esophagitis": 58,
195
+ "eustachian tube dysfunction (ear disorder)": 59,
196
+ "fungal infection of the hair": 60,
197
+ "gallstone": 61,
198
+ "gastroesophageal reflux disease": 62,
199
+ "gastrointestinal hemorrhage": 63,
200
+ "gout": 64,
201
+ "gum disease": 65,
202
+ "heart attack": 66,
203
+ "heart failure": 67,
204
+ "hemorrhoids": 68,
205
+ "herniated disk": 69,
206
+ "hiatal hernia": 70,
207
+ "hyperemesis gravidarum": 71,
208
+ "hypertensive heart disease": 72,
209
+ "hypoglycemia": 73,
210
+ "idiopathic excessive menstruation": 74,
211
+ "idiopathic irregular menstrual cycle": 75,
212
+ "idiopathic painful menstruation": 76,
213
+ "infectious gastroenteritis": 77,
214
+ "injury to the arm": 78,
215
+ "injury to the leg": 79,
216
+ "injury to the trunk": 80,
217
+ "liver disease": 81,
218
+ "macular degeneration": 82,
219
+ "marijuana abuse": 83,
220
+ "multiple sclerosis": 84,
221
+ "noninfectious gastroenteritis": 85,
222
+ "nose disorder": 86,
223
+ "obstructive sleep apnea (osa)": 87,
224
+ "otitis externa (swimmer's ear)": 88,
225
+ "otitis media": 89,
226
+ "pain after an operation": 90,
227
+ "panic disorder": 91,
228
+ "pelvic inflammatory disease": 92,
229
+ "peptic ulcer disease": 93,
230
+ "peripheral nerve disorder": 94,
231
+ "personality disorder": 95,
232
+ "pneumonia": 96,
233
+ "problem during pregnancy": 97,
234
+ "psoriasis": 98,
235
+ "pyogenic skin infection": 99,
236
+ "rectal disorder": 100,
237
+ "schizophrenia": 101,
238
+ "seasonal allergies (hay fever)": 102,
239
+ "sebaceous cyst": 103,
240
+ "sepsis": 104,
241
+ "sickle cell crisis": 105,
242
+ "sinus bradycardia": 106,
243
+ "skin pigmentation disorder": 107,
244
+ "skin polyp": 108,
245
+ "spinal stenosis": 109,
246
+ "spondylosis": 110,
247
+ "spontaneous abortion": 111,
248
+ "sprain or strain": 112,
249
+ "strep throat": 113,
250
+ "stye": 114,
251
+ "temporary or benign blood in urine": 115,
252
+ "threatened pregnancy": 116,
253
+ "urinary tract infection": 117,
254
+ "vaginal cyst": 118,
255
+ "vaginitis": 119,
256
+ "vulvodynia": 120
257
+ },
258
+ "layer_norm_eps": 1e-12,
259
+ "max_position_embeddings": 512,
260
+ "model_type": "bert",
261
+ "num_attention_heads": 12,
262
+ "num_hidden_layers": 12,
263
+ "pad_token_id": 0,
264
+ "position_embedding_type": "absolute",
265
+ "problem_type": "single_label_classification",
266
+ "torch_dtype": "float32",
267
+ "transformers_version": "4.53.3",
268
+ "type_vocab_size": 2,
269
+ "use_cache": true,
270
+ "vocab_size": 28996
271
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d08aa51ec8b532c3c15f7794e0eef0210a9ead574d72b7694258311a77540b78
3
+ size 433636812
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:227101b217df8e2e30fe28856b4351810aef69694c48267cd845dc8cd87c5275
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff