CoolFace
Modelpublic

syedalvi/fyp-electra-xss-detector-v3

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

fyp-electra-xss-detector-v3

This model is a fine-tuned version of google/electra-base-discriminator on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0180
  • —Accuracy: 0.9975
  • —Precision: 1.0
  • —Recall: 0.9951
  • —F1: 0.9975

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: 16
  • —evalbatchsize: 32
  • —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 LossAccuracyPrecisionRecallF1
0.01701.02250.01720.99751.00.99510.9975
0.04382.04500.01740.99751.00.99510.9975
0.00483.06750.01800.99751.00.99510.9975

Framework versions

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