CoolFace
Modelpublic

fawern/Bio_ClinicalBERT-medical-text-classification

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes7downloads
Model Card

<!-- 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. -->

Bio_ClinicalBERT-medical-text-classification

This model is a fine-tuned version of emilyalsentzer/Bio_ClinicalBERT on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 1.8941
  • Accuracy: 0.273
  • Precision: 0.2486
  • Recall: 0.273
  • F1: 0.2532

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: 5e-05
  • trainbatchsize: 16
  • evalbatchsize: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • lrschedulerwarmup_steps: 500
  • num_epochs: 30

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
2.48661.02502.54360.3550.14600.3550.2036
1.91452.05002.05550.3690.24370.3690.2406
1.8493.07501.84210.3210.28620.3210.2949
1.40254.010001.76780.3250.29500.3250.2957
1.3115.012501.80070.3120.26540.3120.2743
1.21126.015001.89410.2730.24860.2730.2532

Framework versions

  • Transformers 4.39.3
  • Pytorch 2.1.2
  • Datasets 2.18.0
  • Tokenizers 0.15.2