CoolFace
Modelpublic

ajtamayoh/Disease_Identification_SonatafyAI_BERT_v1

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes12downloads
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. -->

DiseaseIdentificationSonatafyAIBERTv1

This model is a fine-tuned version of google-bert/bert-base-cased on the ncbi_disease dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.1063
  • —Precision: 0.8247
  • —Recall: 0.8729
  • —F1: 0.8481
  • —Accuracy: 0.9840

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

Training results

Training LossEpochStepValidation LossPrecisionRecallF1Accuracy
0.12081.06800.05790.73390.82720.77780.9816
0.04382.013600.06160.77850.87550.82420.9836
0.01713.020400.07360.79490.82720.81070.9822
0.00964.027200.08570.81730.86400.84000.9844
0.00695.034000.09860.80500.85510.82930.9833
0.00166.040800.10550.80680.87550.83970.9834
0.00097.047600.10630.82470.87290.84810.9840

Framework versions

  • —Transformers 4.38.2
  • —Pytorch 2.2.1+cu121
  • —Datasets 2.18.0
  • —Tokenizers 0.15.2