yazied49 commited on
Commit
409916b
·
verified ·
1 Parent(s): 646d18d

knowledge_disabilityyy_final_model

Browse files
README.md ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: dmis-lab/biobert-base-cased-v1.1
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: disabilityy_model_final
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # disabilityy_model_final
18
+
19
+ This model is a fine-tuned version of [dmis-lab/biobert-base-cased-v1.1](https://huggingface.co/dmis-lab/biobert-base-cased-v1.1) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.7046
22
+ - Accuracy: 0.9993
23
+ - F1: 0.9993
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 10
49
+ - label_smoothing_factor: 0.1
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:------:|
55
+ | 3.5334 | 0.1361 | 100 | 3.1591 | 0.3578 | 0.2920 |
56
+ | 2.2694 | 0.2721 | 200 | 1.8688 | 0.8490 | 0.8256 |
57
+ | 1.4181 | 0.4082 | 300 | 1.1307 | 0.9571 | 0.9541 |
58
+ | 0.9179 | 0.5442 | 400 | 0.8041 | 0.9912 | 0.9911 |
59
+ | 0.7608 | 0.6803 | 500 | 0.7383 | 0.9966 | 0.9966 |
60
+ | 0.7273 | 0.8163 | 600 | 0.7282 | 0.9973 | 0.9973 |
61
+ | 0.7196 | 0.9524 | 700 | 0.7239 | 0.9973 | 0.9973 |
62
+ | 0.7178 | 1.0884 | 800 | 0.7175 | 0.9980 | 0.9980 |
63
+ | 0.7111 | 1.2245 | 900 | 0.7165 | 0.9973 | 0.9973 |
64
+ | 0.7121 | 1.3605 | 1000 | 0.7152 | 0.9986 | 0.9986 |
65
+ | 0.7084 | 1.4966 | 1100 | 0.7117 | 0.9986 | 0.9986 |
66
+ | 0.7079 | 1.6327 | 1200 | 0.7126 | 0.9980 | 0.9980 |
67
+ | 0.7077 | 1.7687 | 1300 | 0.7108 | 0.9986 | 0.9986 |
68
+ | 0.7076 | 1.9048 | 1400 | 0.7099 | 0.9993 | 0.9993 |
69
+ | 0.7102 | 2.0408 | 1500 | 0.7088 | 0.9986 | 0.9986 |
70
+ | 0.7049 | 2.1769 | 1600 | 0.7081 | 0.9986 | 0.9986 |
71
+ | 0.7043 | 2.3129 | 1700 | 0.7077 | 0.9986 | 0.9986 |
72
+ | 0.7041 | 2.4490 | 1800 | 0.7064 | 0.9993 | 0.9993 |
73
+ | 0.7071 | 2.5850 | 1900 | 0.7086 | 0.9986 | 0.9986 |
74
+ | 0.7042 | 2.7211 | 2000 | 0.7069 | 0.9993 | 0.9993 |
75
+ | 0.7036 | 2.8571 | 2100 | 0.7057 | 0.9993 | 0.9993 |
76
+ | 0.7032 | 2.9932 | 2200 | 0.7061 | 0.9993 | 0.9993 |
77
+ | 0.7031 | 3.1293 | 2300 | 0.7059 | 0.9993 | 0.9993 |
78
+ | 0.703 | 3.2653 | 2400 | 0.7055 | 0.9993 | 0.9993 |
79
+ | 0.7033 | 3.4014 | 2500 | 0.7062 | 0.9993 | 0.9993 |
80
+ | 0.7032 | 3.5374 | 2600 | 0.7062 | 0.9993 | 0.9993 |
81
+ | 0.703 | 3.6735 | 2700 | 0.7054 | 0.9993 | 0.9993 |
82
+ | 0.7028 | 3.8095 | 2800 | 0.7054 | 0.9993 | 0.9993 |
83
+ | 0.7027 | 3.9456 | 2900 | 0.7046 | 0.9993 | 0.9993 |
84
+ | 0.7027 | 4.0816 | 3000 | 0.7055 | 0.9993 | 0.9993 |
85
+ | 0.7029 | 4.2177 | 3100 | 0.7051 | 0.9993 | 0.9993 |
86
+ | 0.7026 | 4.3537 | 3200 | 0.7047 | 0.9993 | 0.9993 |
87
+
88
+
89
+ ### Framework versions
90
+
91
+ - Transformers 4.51.3
92
+ - Pytorch 2.5.1+cu124
93
+ - Datasets 3.6.0
94
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "LABEL_0",
12
+ "1": "LABEL_1",
13
+ "2": "LABEL_2",
14
+ "3": "LABEL_3",
15
+ "4": "LABEL_4",
16
+ "5": "LABEL_5",
17
+ "6": "LABEL_6",
18
+ "7": "LABEL_7",
19
+ "8": "LABEL_8",
20
+ "9": "LABEL_9",
21
+ "10": "LABEL_10",
22
+ "11": "LABEL_11",
23
+ "12": "LABEL_12",
24
+ "13": "LABEL_13",
25
+ "14": "LABEL_14",
26
+ "15": "LABEL_15",
27
+ "16": "LABEL_16",
28
+ "17": "LABEL_17",
29
+ "18": "LABEL_18",
30
+ "19": "LABEL_19",
31
+ "20": "LABEL_20",
32
+ "21": "LABEL_21",
33
+ "22": "LABEL_22",
34
+ "23": "LABEL_23",
35
+ "24": "LABEL_24",
36
+ "25": "LABEL_25",
37
+ "26": "LABEL_26",
38
+ "27": "LABEL_27",
39
+ "28": "LABEL_28",
40
+ "29": "LABEL_29",
41
+ "30": "LABEL_30",
42
+ "31": "LABEL_31",
43
+ "32": "LABEL_32",
44
+ "33": "LABEL_33",
45
+ "34": "LABEL_34",
46
+ "35": "LABEL_35",
47
+ "36": "LABEL_36",
48
+ "37": "LABEL_37",
49
+ "38": "LABEL_38",
50
+ "39": "LABEL_39",
51
+ "40": "LABEL_40",
52
+ "41": "LABEL_41",
53
+ "42": "LABEL_42",
54
+ "43": "LABEL_43",
55
+ "44": "LABEL_44",
56
+ "45": "LABEL_45",
57
+ "46": "LABEL_46",
58
+ "47": "LABEL_47",
59
+ "48": "LABEL_48"
60
+ },
61
+ "initializer_range": 0.02,
62
+ "intermediate_size": 3072,
63
+ "label2id": {
64
+ "LABEL_0": 0,
65
+ "LABEL_1": 1,
66
+ "LABEL_10": 10,
67
+ "LABEL_11": 11,
68
+ "LABEL_12": 12,
69
+ "LABEL_13": 13,
70
+ "LABEL_14": 14,
71
+ "LABEL_15": 15,
72
+ "LABEL_16": 16,
73
+ "LABEL_17": 17,
74
+ "LABEL_18": 18,
75
+ "LABEL_19": 19,
76
+ "LABEL_2": 2,
77
+ "LABEL_20": 20,
78
+ "LABEL_21": 21,
79
+ "LABEL_22": 22,
80
+ "LABEL_23": 23,
81
+ "LABEL_24": 24,
82
+ "LABEL_25": 25,
83
+ "LABEL_26": 26,
84
+ "LABEL_27": 27,
85
+ "LABEL_28": 28,
86
+ "LABEL_29": 29,
87
+ "LABEL_3": 3,
88
+ "LABEL_30": 30,
89
+ "LABEL_31": 31,
90
+ "LABEL_32": 32,
91
+ "LABEL_33": 33,
92
+ "LABEL_34": 34,
93
+ "LABEL_35": 35,
94
+ "LABEL_36": 36,
95
+ "LABEL_37": 37,
96
+ "LABEL_38": 38,
97
+ "LABEL_39": 39,
98
+ "LABEL_4": 4,
99
+ "LABEL_40": 40,
100
+ "LABEL_41": 41,
101
+ "LABEL_42": 42,
102
+ "LABEL_43": 43,
103
+ "LABEL_44": 44,
104
+ "LABEL_45": 45,
105
+ "LABEL_46": 46,
106
+ "LABEL_47": 47,
107
+ "LABEL_48": 48,
108
+ "LABEL_5": 5,
109
+ "LABEL_6": 6,
110
+ "LABEL_7": 7,
111
+ "LABEL_8": 8,
112
+ "LABEL_9": 9
113
+ },
114
+ "layer_norm_eps": 1e-12,
115
+ "max_position_embeddings": 512,
116
+ "model_type": "bert",
117
+ "num_attention_heads": 12,
118
+ "num_hidden_layers": 12,
119
+ "pad_token_id": 0,
120
+ "position_embedding_type": "absolute",
121
+ "problem_type": "single_label_classification",
122
+ "torch_dtype": "float32",
123
+ "transformers_version": "4.51.3",
124
+ "type_vocab_size": 2,
125
+ "use_cache": true,
126
+ "vocab_size": 28996
127
+ }
id2label.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"ADHD": 0, "Amputation": 1, "Anxiety Disorders": 2, "Aphasia": 3, "Apraxia of Speech": 4, "Arthritis": 5, "Auditory Processing Disorder": 6, "Autism Spectrum Disorder": 7, "Bipolar Disorder": 8, "Blindness": 9, "Cataracts": 10, "Cerebral Palsy": 11, "Color Blindness": 12, "Conductive Hearing Loss": 13, "Depression": 14, "Developmental Delay": 15, "Down Syndrome": 16, "Dysarthria": 17, "Eating Disorders": 18, "Executive Function Deficits": 19, "Fragile X Syndrome": 20, "Glaucoma": 21, "Intellectual Disability": 22, "Language Processing Disorder": 23, "Low Vision": 24, "Macular Degeneration": 25, "Mixed Hearing Loss": 26, "Mobility Impairment": 27, "Multiple Sclerosis (MS)": 28, "Muscular Dystrophy": 29, "Neural Hearing Loss": 30, "Noise-Induced Hearing Loss": 31, "Nonverbal Learning Disability": 32, "OCD": 33, "PTSD": 34, "Profound Hearing Loss": 35, "Retinal Disorders": 36, "Schizophrenia": 37, "Selective Mutism": 38, "Sensorineural Hearing Loss": 39, "Specific Learning Disabilities": 40, "Spinal Cord Injury": 41, "Stuttering": 42, "Tinnitus": 43, "Tourette Syndrome": 44, "Voice Disorders": 45, "dyscalculia": 46, "dysgraphia": 47, "dyslexia": 48}
label2id.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"ADHD": 0, "Amputation": 1, "Anxiety Disorders": 2, "Aphasia": 3, "Apraxia of Speech": 4, "Arthritis": 5, "Auditory Processing Disorder": 6, "Autism Spectrum Disorder": 7, "Bipolar Disorder": 8, "Blindness": 9, "Cataracts": 10, "Cerebral Palsy": 11, "Color Blindness": 12, "Conductive Hearing Loss": 13, "Depression": 14, "Developmental Delay": 15, "Down Syndrome": 16, "Dysarthria": 17, "Eating Disorders": 18, "Executive Function Deficits": 19, "Fragile X Syndrome": 20, "Glaucoma": 21, "Intellectual Disability": 22, "Language Processing Disorder": 23, "Low Vision": 24, "Macular Degeneration": 25, "Mixed Hearing Loss": 26, "Mobility Impairment": 27, "Multiple Sclerosis (MS)": 28, "Muscular Dystrophy": 29, "Neural Hearing Loss": 30, "Noise-Induced Hearing Loss": 31, "Nonverbal Learning Disability": 32, "OCD": 33, "PTSD": 34, "Profound Hearing Loss": 35, "Retinal Disorders": 36, "Schizophrenia": 37, "Selective Mutism": 38, "Sensorineural Hearing Loss": 39, "Specific Learning Disabilities": 40, "Spinal Cord Injury": 41, "Stuttering": 42, "Tinnitus": 43, "Tourette Syndrome": 44, "Voice Disorders": 45, "dyscalculia": 46, "dysgraphia": 47, "dyslexia": 48}
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3822252cd0e2f573f7c0558a0426f16543887d9f0c00417b7c5a59f3823f7e17
3
+ size 433415340
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:748642d5ac24fb66c383891f8a3e15efa28ebeafcd1872577221f5a285465e05
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff