CoolFace
Modelpublic

wcyat/roberta-suicide-detection-hk

sourceHugging Facemitupdated 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. -->

roberta-suicide-detection-hk

This model is a fine-tuned version of FacebookAI/xlm-roberta-large on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.1628
  • —Accuracy: 0.9608

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

Training results

Training LossEpochStepValidation LossAccuracy
0.67830.19200.58850.7451
0.73040.37400.69780.7059
0.60860.56600.48230.7255
0.50710.74800.55640.7059
0.59330.931000.59930.6667
0.63111.111200.65310.7059
0.58671.31400.61580.4510
0.68451.481600.58510.7059
0.74791.671800.61340.7059
0.5731.852000.59720.7059
0.61832.042200.56310.7059
0.6572.222400.61660.7059
0.72932.412600.58510.7059
0.62152.592800.46030.7647
0.35092.783000.62920.7647
0.34842.963200.67700.8431
0.32793.153400.11230.9608
0.40963.333600.13800.9804
0.36263.523800.43170.9216
0.28093.74000.16810.9804
0.55473.894200.11940.9804
0.37514.074400.29430.9216
0.11314.264600.05580.9804
0.1824.444800.14630.9608
0.29914.635000.28000.9608
0.24714.815200.22610.9608
0.10225.05400.16280.9608

Framework versions

  • —Transformers 4.39.3
  • —Pytorch 2.1.2
  • —Datasets 2.18.0
  • —Tokenizers 0.15.2