CoolFace
Modelpublic

neuralsentry/vulnerabilityDetection-StarEncoder-Devign

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

starencoder-vd-25-75

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

  • Loss: 0.7599
  • Accuracy: 0.7019
  • Precision: 0.7660
  • Recall: 0.5883
  • F1: 0.6655
  • Roc Auc: 0.7028

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: 9e-06
  • trainbatchsize: 45
  • evalbatchsize: 45
  • seed: 420
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 10.0

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1Roc Auc
0.62131.05510.58200.66280.68160.62120.65000.6631
0.55852.011020.58020.66900.78610.47150.58950.6706
0.51093.016530.56870.68860.76810.54740.63930.6897
0.46454.022040.58750.69730.77420.56400.65260.6984
0.41615.027550.58190.70970.74250.64910.69260.7101
0.37566.033060.63190.70580.74510.63270.68430.7064
0.34517.038570.65420.70250.73580.63940.68420.7030
0.31448.044080.72040.70170.76070.59550.66800.7025
0.29789.049590.71680.70320.75240.61300.67560.7040
0.275710.055100.75990.70190.76600.58830.66550.7028

Framework versions

  • Transformers 4.31.0
  • Pytorch 2.1.0.dev20230605+cu121
  • Datasets 2.14.0
  • Tokenizers 0.13.3