CoolFace
Modelpublic

welsachy/mental-bert-base-uncased-finetuned-depression

sourceHugging Facecc-by-nc-4.0updated 2y agoView on Hugging Face
1likes39downloads
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. -->

mental-bert-base-uncased-finetuned-depression

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

  • Loss: 0.5358
  • Precision: 0.8986
  • Recall: 0.8885
  • F1: 0.8933
  • Accuracy: 0.9158

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: 20

Training results

Training LossEpochStepValidation LossPrecisionRecallF1Accuracy
No log1.04690.39290.87440.83460.85160.8849
0.47262.09380.44050.90520.83590.86600.8955
0.21653.014070.45940.86270.84350.85150.8891
0.12634.018760.52130.90120.87810.88860.9094
0.07195.023450.48790.90360.86940.88510.9083
0.04716.028140.56280.91850.86390.88800.9104
0.04317.032830.55920.89800.87310.88460.9104
0.04028.037520.59480.91660.85910.88480.9094
0.03489.042210.53580.89860.88850.89330.9158
0.027610.046900.63610.91160.86190.88430.9094
0.028111.051590.65350.90950.87260.88970.9147
0.02912.056280.67760.90980.86730.88680.9136
0.018813.060970.69400.90720.86290.88290.9072
0.021514.065660.70220.91680.86060.88560.9115
0.018415.070350.69960.90270.86870.88460.9126
0.020416.075040.69900.90630.86870.88610.9126
0.020417.079730.72680.91030.86770.88710.9115
0.018518.084420.72100.90660.87660.89070.9147
0.018119.089110.73460.90960.87320.89020.9147
0.015120.093800.73630.90900.87200.88920.9136

Framework versions

  • Transformers 4.41.2
  • Pytorch 2.3.0+cu121
  • Datasets 2.20.0
  • Tokenizers 0.19.1