CoolFace
Modelpublic

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

sourceHugging Facemitupdated 9mo agoView on Hugging Face
0likes11downloads
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-bidirectionalqacross_attn-binary

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.3213
  • —Accuracy: 0.8607
  • —Unsafe Precision: 0.8704
  • —Unsafe Recall: 0.8808
  • —Unsafe F1: 0.8756
  • —Unsafe Fpr: 0.1645
  • —Unsafe Aucpr: 0.9549
  • —Safe Precision: 0.8482
  • —Safe Recall: 0.8355
  • —Safe F1: 0.8418
  • —Safe Fpr: 0.1192
  • —Safe Aucpr: 0.9210

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: 6e-06
  • —trainbatchsize: 64
  • —evalbatchsize: 128
  • —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.30210.250121140.35430.84690.90180.81340.85530.11110.94480.79150.88890.83740.18660.8978
0.33670.500142280.33230.85400.86140.87910.87020.17740.94920.84430.82260.83330.12090.9084
0.30570.750263420.32220.85780.89720.84080.86810.12090.95210.81490.87910.84580.15920.9138
0.34351.000284560.32260.85980.87740.86960.87350.15250.95200.83820.84750.84280.13040.9141
0.30141.2503105700.32240.85920.87460.87200.87330.15690.95290.84000.84310.84160.12800.9163
0.28281.5004126840.32980.86040.87610.87250.87430.15470.95390.84090.84530.84310.12750.9179
0.2791.7504147980.31920.86100.87800.87130.87460.15190.95490.84010.84810.84400.12870.9198
0.32022.0005169120.31700.86320.89190.85830.87470.13060.95530.83020.86940.84940.14170.9197
0.31882.2505190260.31460.86100.87980.86900.87440.14900.95430.83810.85100.84450.13100.9201
0.26612.5006211400.32130.86070.87040.88080.87560.16450.95490.84820.83550.84180.11920.9210
0.26522.7507232540.31960.86140.87820.87180.8750.15160.95530.84060.84840.84450.12820.9215
0.2723.0007253680.32540.86120.88390.86410.87390.14240.95540.83420.85760.84570.13590.9222
0.26353.2508274820.33710.85870.87980.86400.87190.14810.95430.83320.85190.84250.13600.9180
0.2453.5008295960.33720.85860.88300.85990.87130.14300.95390.82980.85700.84320.14010.9181

Framework versions

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