CoolFace
Modelpublic

angusleung100/GraphCodeBERT-Base-Solidity-Vulnerability

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

GraphCodeBERT-Base-Solidity-Vulnerability

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

  • Loss: 0.0000
  • Accuracy: 1.0
  • Precision: 1.0
  • Recall: 1.0
  • F1: 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: 1
  • evalbatchsize: 1
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 3

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
0.05221.047130.01010.99920.99920.99920.9992
0.05632.094260.00001.01.01.01.0
0.03.0141390.00001.01.01.01.0

Framework versions

  • Transformers 4.44.2
  • Pytorch 2.4.1+cu121
  • Datasets 3.0.1
  • Tokenizers 0.19.1