File size: 12,139 Bytes
054ef83 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 |
---
license: apache-2.0
base_model: google/flan-t5-small
tags:
- generated_from_trainer
model-index:
- name: t5-dialogue-classification
results: []
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# t5-dialogue-classification
This model is a fine-tuned version of [google/flan-t5-small](https://huggingface.co/google/flan-t5-small) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.2827
- Classification Report: precision recall f1-score support
ALLERGY 1.00 0.92 0.96 12
ASSESSMENT 0.14 0.09 0.11 11
CC 0.35 0.55 0.43 11
DIAGNOSIS 0.00 0.00 0.00 1
DISPOSITION 1.00 1.00 1.00 1
EDCOURSE 0.00 0.00 0.00 4
EXAM 0.40 0.40 0.40 5
FAM/SOCHX 0.88 0.96 0.91 45
GENHX 0.77 0.83 0.80 53
GYNHX 0.00 0.00 0.00 1
IMAGING 0.00 0.00 0.00 1
IMMUNIZATIONS 0.00 0.00 0.00 1
LABS 0.00 0.00 0.00 1
MEDICATIONS 0.83 1.00 0.91 10
OTHER_HISTORY 0.00 0.00 0.00 3
PASTMEDICALHX 0.58 0.79 0.67 14
PASTSURGICAL 1.00 0.86 0.92 7
PLAN 0.00 0.00 0.00 1
PROCEDURES 0.00 0.00 0.00 1
ROS 0.85 0.65 0.73 17
accuracy 0.73 200
macro avg 0.39 0.40 0.39 200
weighted avg 0.69 0.73 0.71 200
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0003
- train_batch_size: 8
- eval_batch_size: 4
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5
### Training results
| Training Loss | Epoch | Step | Validation Loss | Classification Report |
|:-------------:|:-----:|:----:|:---------------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| No log | 1.0 | 163 | 0.3372 | precision recall f1-score support
ALLERGY 1.00 0.92 0.96 12
ASSESSMENT 0.00 0.00 0.00 11
CC 0.20 0.09 0.13 11
DIAGNOSIS 0.00 0.00 0.00 1
DISPOSITION 0.00 0.00 0.00 1
EDCOURSE 0.00 0.00 0.00 4
EXAM 0.50 0.20 0.29 5
FAM/SOCHX 0.90 0.96 0.92 45
GENHX 0.63 0.77 0.69 53
GYNHX 0.00 0.00 0.00 1
IMAGING 0.00 0.00 0.00 1
IMMUNIZATIONS 0.00 0.00 0.00 1
LABS 0.00 0.00 0.00 1
MEDICATIONS 0.83 1.00 0.91 10
OTHER_HISTORY 0.00 0.00 0.00 3
PASTMEDICALHX 0.31 0.64 0.42 14
PASTSURGICAL 0.78 1.00 0.88 7
PLAN 0.00 0.00 0.00 1
PROCEDURES 0.00 0.00 0.00 1
ROS 0.75 0.35 0.48 17
accuracy 0.65 200
macro avg 0.29 0.30 0.28 200
weighted avg 0.61 0.65 0.61 200
|
| No log | 2.0 | 326 | 0.2335 | precision recall f1-score support
ALLERGY 1.00 0.92 0.96 12
ASSESSMENT 0.00 0.00 0.00 11
CC 0.26 0.55 0.35 11
DIAGNOSIS 0.00 0.00 0.00 1
DISPOSITION 0.00 0.00 0.00 1
EDCOURSE 0.00 0.00 0.00 4
EXAM 0.67 0.40 0.50 5
FAM/SOCHX 0.88 0.96 0.91 45
GENHX 0.79 0.87 0.83 53
GYNHX 0.00 0.00 0.00 1
IMAGING 0.00 0.00 0.00 1
IMMUNIZATIONS 0.00 0.00 0.00 1
LABS 0.00 0.00 0.00 1
MEDICATIONS 0.83 1.00 0.91 10
OTHER_HISTORY 0.00 0.00 0.00 3
PASTMEDICALHX 0.46 0.79 0.58 14
PASTSURGICAL 1.00 0.86 0.92 7
PLAN 0.00 0.00 0.00 1
PROCEDURES 0.00 0.00 0.00 1
ROS 0.83 0.59 0.69 17
accuracy 0.73 200
macro avg 0.34 0.35 0.33 200
weighted avg 0.68 0.72 0.69 200
|
| No log | 3.0 | 489 | 0.2770 | precision recall f1-score support
ALLERGY 1.00 0.92 0.96 12
ASSESSMENT 0.00 0.00 0.00 11
CC 0.26 0.45 0.33 11
DIAGNOSIS 0.00 0.00 0.00 1
DISPOSITION 0.00 0.00 0.00 1
EDCOURSE 0.00 0.00 0.00 4
EXAM 0.50 0.40 0.44 5
FAM/SOCHX 0.88 0.96 0.91 45
GENHX 0.75 0.85 0.80 53
GYNHX 0.00 0.00 0.00 1
IMAGING 0.00 0.00 0.00 1
IMMUNIZATIONS 0.00 0.00 0.00 1
LABS 0.00 0.00 0.00 1
MEDICATIONS 0.83 1.00 0.91 10
OTHER_HISTORY 0.00 0.00 0.00 3
PASTMEDICALHX 0.43 0.64 0.51 14
PASTSURGICAL 0.78 1.00 0.88 7
PLAN 0.00 0.00 0.00 1
PROCEDURES 0.00 0.00 0.00 1
ROS 0.79 0.65 0.71 17
accuracy 0.71 200
macro avg 0.31 0.34 0.32 200
weighted avg 0.65 0.71 0.68 200
|
| 0.3713 | 4.0 | 652 | 0.2746 | precision recall f1-score support
ALLERGY 1.00 0.92 0.96 12
ASSESSMENT 0.11 0.09 0.10 11
CC 0.35 0.55 0.43 11
DIAGNOSIS 0.00 0.00 0.00 1
DISPOSITION 1.00 1.00 1.00 1
EDCOURSE 0.00 0.00 0.00 4
EXAM 0.25 0.20 0.22 5
FAM/SOCHX 0.88 0.93 0.90 45
GENHX 0.86 0.83 0.85 53
GYNHX 0.00 0.00 0.00 1
IMAGING 0.00 0.00 0.00 1
IMMUNIZATIONS 0.00 0.00 0.00 1
LABS 0.00 0.00 0.00 1
MEDICATIONS 0.83 1.00 0.91 10
OTHER_HISTORY 0.00 0.00 0.00 3
PASTMEDICALHX 0.52 0.79 0.63 14
PASTSURGICAL 1.00 1.00 1.00 7
PLAN 0.00 0.00 0.00 1
PROCEDURES 0.00 0.00 0.00 1
ROS 0.86 0.71 0.77 17
accuracy 0.73 200
macro avg 0.38 0.40 0.39 200
weighted avg 0.71 0.73 0.71 200
|
| 0.3713 | 5.0 | 815 | 0.2827 | precision recall f1-score support
ALLERGY 1.00 0.92 0.96 12
ASSESSMENT 0.14 0.09 0.11 11
CC 0.35 0.55 0.43 11
DIAGNOSIS 0.00 0.00 0.00 1
DISPOSITION 1.00 1.00 1.00 1
EDCOURSE 0.00 0.00 0.00 4
EXAM 0.40 0.40 0.40 5
FAM/SOCHX 0.88 0.96 0.91 45
GENHX 0.77 0.83 0.80 53
GYNHX 0.00 0.00 0.00 1
IMAGING 0.00 0.00 0.00 1
IMMUNIZATIONS 0.00 0.00 0.00 1
LABS 0.00 0.00 0.00 1
MEDICATIONS 0.83 1.00 0.91 10
OTHER_HISTORY 0.00 0.00 0.00 3
PASTMEDICALHX 0.58 0.79 0.67 14
PASTSURGICAL 1.00 0.86 0.92 7
PLAN 0.00 0.00 0.00 1
PROCEDURES 0.00 0.00 0.00 1
ROS 0.85 0.65 0.73 17
accuracy 0.73 200
macro avg 0.39 0.40 0.39 200
weighted avg 0.69 0.73 0.71 200
|
### Framework versions
- Transformers 4.35.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.0
|