CoolFace
Modelpublic

RayenLLM/Vulnerability_Detection_Using_CodeBERT

sourceHugging Faceupdated 1y agoView on Hugging Face
1likes48downloads
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. -->

VulnerabilityDetectionUsing_CodeBERT

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

  • Loss: 0.0740
  • Accuracy: 1.0
  • Auc: 1.0
  • Precision: 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: 0.0002
  • trainbatchsize: 8
  • evalbatchsize: 8
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • lrschedulertype: linear
  • num_epochs: 10

Training results

Training LossEpochStepValidation LossAccuracyAucPrecision
0.29711.0260.18150.9251.00.81
0.24072.0520.13490.9811.00.944
0.26193.0780.16680.8871.00.739
0.22074.01040.10811.01.01.0
0.15435.01300.10370.9811.01.0
0.14286.01560.09740.9811.00.944
0.15987.01820.09160.9811.01.0
0.13248.02080.10240.9811.00.944
0.14459.02340.07261.01.01.0
0.128710.02600.07401.01.01.0

Framework versions

  • Transformers 4.50.0
  • Pytorch 2.6.0+cu124
  • Datasets 3.5.0
  • Tokenizers 0.21.1