CoolFace
Modelpublic

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

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
1likes8downloads
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-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: 0.5844
  • Accuracy Score: 0.6537
  • F1 Score: 0.5784
  • Precision Score: 0.5171
  • Recall Score: 0.6562

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: 3

Training results

Training LossEpochStepValidation LossAccuracy ScoreF1 ScorePrecision ScoreRecall Score
0.67951.03420.64350.61200.30990.18960.8470
0.61682.06840.59600.63950.43160.29800.7824
0.56053.010260.58440.65370.57840.51710.6562

Framework versions

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