CoolFace
Modelpublic

karangupta224/mental_roberta_suicide

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

mentalrobertasuicide

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.5994
  • —Accuracy: 0.7446
  • —F1: 0.7487
  • —Precision: 0.7368
  • —Recall: 0.7609

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: 7
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
0.69340.97250.69340.50.00.00.0
0.6911.98510.69050.50.02130.50.0109
0.68662.99770.66660.65220.54930.780.4239
0.64274.01030.56520.71740.70110.74390.6630
0.55944.971280.55860.72280.69820.76620.6413
0.5215.981540.54050.72830.72830.72830.7283
0.40976.81750.59940.74460.74870.73680.7609

Framework versions

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