CoolFace
Modelpublic

mrm8488/ModernBERT-base-ft-code-defect-detection-10e-4k

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes8downloads
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. -->

ModernBERT-base-ft-code-defect-detection-10e-4k

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

  • Loss: 2.0516
  • Accuracy Score: 0.6369
  • F1 Score: 0.6091
  • Precision Score: 0.6159
  • Recall Score: 0.6025

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: 8e-05
  • trainbatchsize: 64
  • evalbatchsize: 64
  • seed: 42
  • optimizer: Use adamwtorch with betas=(0.9,0.98) and epsilon=1e-06 and optimizerargs=No additional optimizer arguments
  • lrschedulertype: linear
  • num_epochs: 10

Training results

Training LossEpochStepValidation LossAccuracy ScoreF1 ScorePrecision ScoreRecall Score
0.67681.03420.61300.63580.57280.53150.6210
0.59022.06840.58280.66540.54210.43110.7301
0.53463.010260.59950.65850.47440.33550.8096
0.45834.013680.61150.68120.60850.53940.6979
0.37225.017100.67490.64820.61970.62390.6156
0.28966.020520.81970.64900.60870.59440.6237
0.22347.023940.94510.64900.60190.57770.6282
0.16558.027361.16320.63540.61150.62470.5989
0.11519.030781.41680.63870.60630.60560.6070
0.068410.034202.05160.63690.60910.61590.6025

Framework versions

  • Transformers 4.48.0.dev0
  • Pytorch 2.5.1+cu121
  • Datasets 3.2.0
  • Tokenizers 0.21.0