CoolFace
Modelpublic

funmidab/xss-classifier

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
1likes19downloads
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. -->

xss-classifier

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

  • —Loss: 0.0131
  • —Accuracy: 0.9984
  • —Precision: 0.9977
  • —Recall: 0.9977
  • —F1: 0.9977

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: 8
  • —evalbatchsize: 8
  • —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
  • —num_epochs: 5

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
0.01241.043220.00900.99710.99340.99830.9959
0.00752.086440.01120.99810.99700.99770.9974
0.00773.0129660.01320.99830.99740.99770.9975
0.00204.0172880.01050.99810.99770.99700.9974
0.00005.0216100.01310.99840.99770.99770.9977

Framework versions

  • —Transformers 5.13.1
  • —Pytorch 2.11.0+cu128
  • —Datasets 4.0.0
  • —Tokenizers 0.22.2