classification_flan_t5_base_enriched
This model is a fine-tuned version of google/flan-t5-base on an unknown dataset. It achieves the following results on the evaluation set:
Loss: 0.8345
Classification Report: precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.3333 0.1818 0.2353 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.2000 1.0000 0.3333 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8400 0.9333 0.8842 45 GENHX 0.6620 0.8868 0.7581 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.3333 1.0000 0.5000 1
IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6471 0.7857 0.7097 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8462 0.6471 0.7333 17
accuracy 0.7250 200
macro avg 0.4598 0.5204 0.4614 200
weighted avg 0.6618 0.7250 0.6812 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.0001
- train_batch_size: 7
- eval_batch_size: 7
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 20
Training results
Training Loss | Epoch | Step | Validation Loss | Classification Report |
---|---|---|---|---|
No log | 1.0 | 172 | 0.4392 | precision recall f1-score support |
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.1455 0.7273 0.2424 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.0000 0.0000 0.0000 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.0000 0.0000 0.0000 5 FAM/SOCHX 0.8148 0.9778 0.8889 45 GENHX 1.0000 0.3962 0.5676 53 GYNHX 0.0000 0.0000 0.0000 1 IMAGING 0.0000 0.0000 0.0000 1 IMMUNIZATIONS 0.0000 0.0000 0.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.4000 0.8571 0.5455 14 PASTSURGICAL 0.7778 1.0000 0.8750 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.6250 0.2941 0.4000 17
accuracy 0.5900 200
macro avg 0.2798 0.3085 0.2692 200
weighted avg 0.6663 0.5900 0.5694 200 | | No log | 2.0 | 344 | 0.3438 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.5000 0.2727 0.3529 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.2000 1.0000 0.3333 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.0000 0.0000 0.0000 5 FAM/SOCHX 0.9535 0.9111 0.9318 45 GENHX 0.5833 0.9245 0.7153 53 GYNHX 0.0000 0.0000 0.0000 1 IMAGING 0.0000 0.0000 0.0000 1 IMMUNIZATIONS 0.5000 1.0000 0.6667 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6364 0.5000 0.5600 14 PASTSURGICAL 0.5000 1.0000 0.6667 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8333 0.5882 0.6897 17
accuracy 0.7000 200
macro avg 0.3270 0.4057 0.3391 200
weighted avg 0.6347 0.7000 0.6476 200 | | 0.3577 | 3.0 | 516 | 0.3416 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.2083 0.4545 0.2857 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.3333 1.0000 0.5000 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 1.0000 0.2000 0.3333 5 FAM/SOCHX 0.8696 0.8889 0.8791 45 GENHX 0.6769 0.8302 0.7458 53 GYNHX 0.0000 0.0000 0.0000 1 IMAGING 0.0000 0.0000 0.0000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.5500 0.7857 0.6471 14 PASTSURGICAL 1.0000 1.0000 1.0000 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8000 0.4706 0.5926 17
accuracy 0.6950 200
macro avg 0.4136 0.4273 0.3925 200
weighted avg 0.6613 0.6950 0.6605 200 | | 0.3577 | 4.0 | 688 | 0.4118 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.3333 0.0909 0.1429 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.1429 1.0000 0.2500 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8431 0.9556 0.8958 45 GENHX 0.6438 0.8868 0.7460 53 GYNHX 0.0000 0.0000 0.0000 1 IMAGING 1.0000 1.0000 1.0000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6667 0.7143 0.6897 14 PASTSURGICAL 0.7778 1.0000 0.8750 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8571 0.7059 0.7742 17
accuracy 0.7250 200
macro avg 0.4299 0.4735 0.4262 200
weighted avg 0.6503 0.7250 0.6731 200 | | 0.3577 | 5.0 | 860 | 0.4030 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.2778 0.4545 0.3448 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.3333 1.0000 0.5000 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.6667 0.4000 0.5000 5 FAM/SOCHX 0.8511 0.8889 0.8696 45 GENHX 0.7077 0.8679 0.7797 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 1.0000 1.0000 1.0000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.7333 0.7857 0.7586 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.7500 0.7059 0.7273 17
accuracy 0.7350 200
macro avg 0.5077 0.5438 0.5134 200
weighted avg 0.6794 0.7350 0.7013 200 | | 0.0808 | 6.0 | 1032 | 0.5599 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.2500 0.0909 0.1333 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.1250 1.0000 0.2222 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8511 0.8889 0.8696 45 GENHX 0.6267 0.8868 0.7344 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 1.0000 1.0000 1.0000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.9091 1.0000 0.9524 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.5882 0.7143 0.6452 14 PASTSURGICAL 0.8750 1.0000 0.9333 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8462 0.6471 0.7333 17
accuracy 0.7100 200
macro avg 0.4786 0.5172 0.4733 200
weighted avg 0.6486 0.7100 0.6660 200 | | 0.0808 | 7.0 | 1204 | 0.5132 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.3333 0.2727 0.3000 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.1429 1.0000 0.2500 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8542 0.9111 0.8817 45 GENHX 0.6761 0.9057 0.7742 53 GYNHX 0.0000 0.0000 0.0000 1 IMAGING 1.0000 1.0000 1.0000 1 IMMUNIZATIONS 0.5000 1.0000 0.6667 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.7857 0.7857 0.7857 14 PASTSURGICAL 0.8750 1.0000 0.9333 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.7857 0.6471 0.7097 17
accuracy 0.7300 200
macro avg 0.4143 0.4819 0.4226 200
weighted avg 0.6645 0.7300 0.6876 200 | | 0.0808 | 8.0 | 1376 | 0.6372 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.3333 0.4545 0.3846 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.2500 1.0000 0.4000 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8400 0.9333 0.8842 45 GENHX 0.7302 0.8679 0.7931 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.5000 1.0000 0.6667 1 IMMUNIZATIONS 0.5000 1.0000 0.6667 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.7333 0.7857 0.7586 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.7857 0.6471 0.7097 17
accuracy 0.7350 200
macro avg 0.4503 0.5331 0.4669 200
weighted avg 0.6794 0.7350 0.6997 200 | | 0.034 | 9.0 | 1548 | 0.7346 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.3333 0.0909 0.1429 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.1250 1.0000 0.2222 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8542 0.9111 0.8817 45 GENHX 0.6026 0.8868 0.7176 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 1.0000 1.0000 1.0000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6429 0.6429 0.6429 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.7692 0.5882 0.6667 17
accuracy 0.7000 200
macro avg 0.4830 0.5047 0.4674 200
weighted avg 0.6454 0.7000 0.6565 200 | | 0.034 | 10.0 | 1720 | 0.6654 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.4286 0.5455 0.4800 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.2000 1.0000 0.3333 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8600 0.9556 0.9053 45 GENHX 0.7302 0.8679 0.7931 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 1.0000 1.0000 1.0000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6667 0.7143 0.6897 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8000 0.7059 0.7500 17
accuracy 0.7450 200
macro avg 0.5009 0.5381 0.5013 200
weighted avg 0.6904 0.7450 0.7112 200 | | 0.034 | 11.0 | 1892 | 0.7455 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.3333 0.1818 0.2353 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.1429 1.0000 0.2500 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.6667 0.4000 0.5000 5 FAM/SOCHX 0.8511 0.8889 0.8696 45 GENHX 0.6486 0.9057 0.7559 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.5000 1.0000 0.6667 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6250 0.7143 0.6667 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8462 0.6471 0.7333 17
accuracy 0.7200 200
macro avg 0.4724 0.5256 0.4733 200
weighted avg 0.6639 0.7200 0.6801 200 | | 0.0107 | 12.0 | 2064 | 0.7687 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.4286 0.2727 0.3333 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.1667 1.0000 0.2857 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.6667 0.4000 0.5000 5 FAM/SOCHX 0.8478 0.8667 0.8571 45 GENHX 0.6575 0.9057 0.7619 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.3333 1.0000 0.5000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.5882 0.7143 0.6452 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8462 0.6471 0.7333 17
accuracy 0.7200 200
macro avg 0.4684 0.5290 0.4703 200
weighted avg 0.6675 0.7200 0.6822 200 | | 0.0107 | 13.0 | 2236 | 0.8114 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.4545 0.4545 0.4545 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.1429 1.0000 0.2500 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8511 0.8889 0.8696 45 GENHX 0.6620 0.8868 0.7581 53 GYNHX 0.0000 0.0000 0.0000 1 IMAGING 0.5000 1.0000 0.6667 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6667 0.7143 0.6897 14 PASTSURGICAL 0.8750 1.0000 0.9333 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.9167 0.6471 0.7586 17
accuracy 0.7250 200
macro avg 0.4201 0.4854 0.4266 200
weighted avg 0.6695 0.7250 0.6865 200 | | 0.0107 | 14.0 | 2408 | 0.7763 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.3636 0.3636 0.3636 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.2500 1.0000 0.4000 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8511 0.8889 0.8696 45 GENHX 0.6620 0.8868 0.7581 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.3333 1.0000 0.5000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6667 0.7143 0.6897 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.7857 0.6471 0.7097 17
accuracy 0.7200 200
macro avg 0.4623 0.5237 0.4683 200
weighted avg 0.6624 0.7200 0.6819 200 | | 0.0049 | 15.0 | 2580 | 0.8111 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.4444 0.3636 0.4000 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.1667 1.0000 0.2857 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8542 0.9111 0.8817 45 GENHX 0.6667 0.9057 0.7680 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.5000 1.0000 0.6667 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6667 0.7143 0.6897 14 PASTSURGICAL 1.0000 1.0000 1.0000 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8333 0.5882 0.6897 17
accuracy 0.7300 200
macro avg 0.4733 0.5300 0.4766 200
weighted avg 0.6733 0.7300 0.6906 200 | | 0.0049 | 16.0 | 2752 | 0.8138 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.4286 0.2727 0.3333 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.2000 1.0000 0.3333 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8511 0.8889 0.8696 45 GENHX 0.6575 0.9057 0.7619 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.3333 1.0000 0.5000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6471 0.7857 0.7097 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8462 0.6471 0.7333 17
accuracy 0.7250 200
macro avg 0.4649 0.5237 0.4658 200
weighted avg 0.6684 0.7250 0.6844 200 | | 0.0049 | 17.0 | 2924 | 0.8209 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.3750 0.2727 0.3158 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.2000 1.0000 0.3333 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8400 0.9333 0.8842 45 GENHX 0.6571 0.8679 0.7480 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.3333 1.0000 0.5000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6250 0.7143 0.6667 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8462 0.6471 0.7333 17
accuracy 0.7200 200
macro avg 0.4605 0.5205 0.4628 200
weighted avg 0.6613 0.7200 0.6800 200 | | 0.0024 | 18.0 | 3096 | 0.8220 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.4286 0.2727 0.3333 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.2000 1.0000 0.3333 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8400 0.9333 0.8842 45 GENHX 0.6714 0.8868 0.7642 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.3333 1.0000 0.5000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6471 0.7857 0.7097 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8462 0.6471 0.7333 17
accuracy 0.7300 200
macro avg 0.4650 0.5250 0.4666 200
weighted avg 0.6696 0.7300 0.6883 200 | | 0.0024 | 19.0 | 3268 | 0.8372 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.3333 0.1818 0.2353 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.2000 1.0000 0.3333 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8400 0.9333 0.8842 45 GENHX 0.6620 0.8868 0.7581 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.3333 1.0000 0.5000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6471 0.7857 0.7097 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8462 0.6471 0.7333 17
accuracy 0.7250 200
macro avg 0.4598 0.5204 0.4614 200
weighted avg 0.6618 0.7250 0.6812 200 | | 0.0024 | 20.0 | 3440 | 0.8345 | precision recall f1-score support
ALLERGY 1.0000 0.9167 0.9565 12
ASSESSMENT 0.0000 0.0000 0.0000 11 CC 0.3333 0.1818 0.2353 11 DIAGNOSIS 0.0000 0.0000 0.0000 1 DISPOSITION 0.2000 1.0000 0.3333 1 EDCOURSE 0.0000 0.0000 0.0000 4 EXAM 0.5000 0.2000 0.2857 5 FAM/SOCHX 0.8400 0.9333 0.8842 45 GENHX 0.6620 0.8868 0.7581 53 GYNHX 1.0000 1.0000 1.0000 1 IMAGING 0.3333 1.0000 0.5000 1 IMMUNIZATIONS 1.0000 1.0000 1.0000 1 LABS 0.0000 0.0000 0.0000 1 MEDICATIONS 0.8333 1.0000 0.9091 10 OTHER_HISTORY 0.0000 0.0000 0.0000 3 PASTMEDICALHX 0.6471 0.7857 0.7097 14 PASTSURGICAL 1.0000 0.8571 0.9231 7 PLAN 0.0000 0.0000 0.0000 1 PROCEDURES 0.0000 0.0000 0.0000 1 ROS 0.8462 0.6471 0.7333 17
accuracy 0.7250 200
macro avg 0.4598 0.5204 0.4614 200
weighted avg 0.6618 0.7250 0.6812 200 |
Framework versions
- Transformers 4.38.2
- Pytorch 2.1.0+cu121
- Datasets 2.18.0
- Tokenizers 0.15.2
- Downloads last month
- 6
Model tree for sarahahtee/classification_flan_t5_base_enriched
Base model
google/flan-t5-base