CoolFace
Modelpublic

tariqshinwari/draxion-shield-gate-v1

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

draxion-shield-gate-v1

This model is a fine-tuned version of answerdotai/ModernBERT-large on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0042
  • —F1 Micro: 0.9970
  • —F1 Macro: 0.9975
  • —Precision: 0.9973
  • —Recall: 0.9967
  • —F1 Business Confidential: 0.9983
  • —F1 Clean: 1.0
  • —F1 Code Ip: 1.0
  • —F1 Credentials: 0.9958
  • —F1 Pii Sensitive: 0.9909
  • —F1 Prompt Injection: 1.0

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: cosine
  • —lrschedulerwarmup_steps: 0.1
  • —num_epochs: 5

Training results

Training LossEpochStepValidation LossF1 MicroF1 MacroPrecisionRecallF1 Business ConfidentialF1 CleanF1 Code IpF1 CredentialsF1 Pii SensitiveF1 Prompt Injection
0.03620.26671000.01650.98330.96990.98460.98200.98531.00.98820.99160.98370.8706
0.00820.53332000.00850.99400.99520.99660.99130.99831.00.99700.98290.99281.0
0.00560.83000.00460.99770.99800.99800.99730.99831.01.00.99720.99261.0
0.00171.06674000.00510.99630.99690.99600.99670.99671.01.00.99580.98911.0
0.00101.33335000.00620.99400.98720.99660.99131.01.01.00.99720.99270.9333
0.00271.66000.00320.99700.99740.99730.99670.99511.01.00.99860.99081.0

Framework versions

  • —Transformers 5.9.0
  • —Pytorch 2.11.0+cu126
  • —Datasets 4.8.5
  • —Tokenizers 0.22.2