CoolFace
Modelpublic

karangupta224/mental_roberta_depression

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

mentalrobertadepression

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

  • Loss: 0.3151
  • Accuracy: 0.8698
  • F1: 0.9191
  • Precision: 0.8785
  • Recall: 0.9636

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: 4
  • evalbatchsize: 8
  • seed: 42
  • gradientaccumulationsteps: 16
  • totaltrainbatch_size: 64
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • lrschedulerwarmup_steps: 500
  • num_epochs: 4
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
0.44790.96150.44670.76740.86840.76741.0
0.41211.98310.40250.76740.86840.76741.0
0.33943.0470.32290.76740.86840.76741.0
0.28063.82600.31510.86980.91910.87850.9636

Framework versions

  • Transformers 4.39.1
  • Pytorch 2.2.1+cu121
  • Datasets 2.18.0
  • Tokenizers 0.15.2