CoolFace
Modelpublic

saiteki-kai/QA-DeBERTa-v3-large-binary-focal

sourceHugging Facemitupdated 10mo agoView on Hugging Face
0likes15downloads
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. -->

QA-DeBERTa-v3-large-binary-focal

This model is a fine-tuned version of microsoft/deberta-v3-large on the saiteki-kai/Beavertails-it dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0603
  • —Accuracy: 0.8625
  • —Unsafe Precision: 0.8786
  • —Unsafe Recall: 0.8735
  • —Unsafe F1: 0.8761
  • —Unsafe Fpr: 0.1514
  • —Unsafe Aucpr: 0.9564
  • —Safe Precision: 0.8425
  • —Safe Recall: 0.8486
  • —Safe F1: 0.8455
  • —Safe Fpr: 0.1265
  • —Safe Aucpr: 0.9242

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: 9e-06
  • —trainbatchsize: 64
  • —evalbatchsize: 512
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 1000
  • —num_epochs: 10

Training results

Training LossEpochStepValidation LossAccuracyUnsafe PrecisionUnsafe RecallUnsafe F1Unsafe FprUnsafe AucprSafe PrecisionSafe RecallSafe F1Safe FprSafe Aucpr
0.06441.084540.06230.86040.87300.87660.87480.16000.95400.84440.84000.84220.12340.9189
0.05342.0169080.06030.86250.87860.87360.87610.15150.95640.84250.84850.84550.12640.9242
0.05353.0253620.06190.86150.87740.87300.87520.15300.95640.84170.84700.84430.12700.9252
0.05024.0338160.06790.85840.86760.87970.87360.16840.95540.84640.83160.83890.12030.9252

Framework versions

  • —Transformers 4.57.1
  • —Pytorch 2.7.1+cu118
  • —Datasets 4.4.1
  • —Tokenizers 0.22.1