Team Ai
Modelpublic

mcanoglu/microsoft-codebert-base-finetuned-defect-detection

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

microsoft-codebert-base-finetuned-defect-detection

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

  • —Loss: 0.6197
  • —Accuracy: 0.7382
  • —Roc Auc: 0.7394
  • —Precision: 0.7070
  • —Recall: 0.7924

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: 4711
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 32
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 5
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyRoc AucPrecisionRecall
0.64561.09960.54350.68320.68100.71510.5843
0.50862.019930.53730.71130.71390.66540.8227
0.41733.029890.54760.72890.72930.71250.7461
0.35434.039860.58030.73570.73690.70510.7888
0.30595.049800.61970.73820.73940.70700.7924

Framework versions

  • —Transformers 4.37.2
  • —Pytorch 2.2.0+cu121
  • —Datasets 2.17.1
  • —Tokenizers 0.15.2