CoolFace
Modelpublic

ItsKrishna/cybersent-prompt-injection

sourceHugging Faceapache-2.0updated 6mo agoView on Hugging Face
0likes4downloads
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. -->

cybersent-prompt-injection

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

  • —Loss: 0.1944
  • —Accuracy: 0.9138
  • —F1: 0.9091

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: 32
  • —evalbatchsize: 64
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 0.1
  • —num_epochs: 5
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyF1
No log1.0180.62120.60340.3784
0.63802.0360.34940.85340.8440
0.42783.0540.22300.89660.8909
0.20284.0720.23300.90520.8991
0.10515.0900.19440.91380.9091

Framework versions

  • —Transformers 5.0.0
  • —Pytorch 2.10.0+cu128
  • —Datasets 4.0.0
  • —Tokenizers 0.22.2