CoolFace
Modelpublic

ireneisdoomed/clinical_trial_stop_reasons_custom

sourceHugging Faceapache-2.0updated 4y 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. -->

clinicaltrialstopreasonscustom

This model is a fine-tuned version of bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.1448
  • —Accuracy Thresh: 0.9570
  • —F1 Micro: 0.5300
  • —F1 Macro: 0.1254
  • —Confusion Matrix: [[5940 15] [ 270 150]]

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: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 7

Training results

Training LossEpochStepValidation LossAccuracy ThreshF1 MicroF1 MacroConfusion Matrix
No log1.01060.28120.83280.00.0[[5955 0]
[ 420 0]]
No log2.02120.21890.93820.00.0[[5955 0]
[ 420 0]]
No log3.03180.18400.94890.00.0[[5955 0]
[ 420 0]]
No log4.04240.16380.94850.49400.0989[[5943 12]
[ 288 132]]
0.2395.05300.15260.95330.50600.1018[[5943 12]
[ 277 143]]
0.2396.06360.14670.95640.50770.1020[[5938 17]
[ 275 145]]
0.2397.07420.14480.95700.53000.1254[[5940 15]
[ 270 150]]

Framework versions

  • —Transformers 4.26.0
  • —Pytorch 1.12.1+cu102
  • —Datasets 2.9.0
  • —Tokenizers 0.13.2