Team Ai
Modelpublic

thiomajid/codebert-java-inconsistency

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

codebert-java-inconsistency

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.3543
  • —Accuracy: 0.9167
  • —F1: 0.9183
  • —Precision: 0.9235
  • —Recall: 0.9167

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: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 64
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: cosine
  • —num_epochs: 30
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
1.46253.1290500.89540.75310.75540.77650.7531
0.58346.25811000.55590.81890.82410.84830.8189
0.28589.38711500.40460.89300.89450.89950.8930
0.162412.51612000.44610.86420.86610.87500.8642
0.108415.64522500.40120.90120.90380.91230.9012
0.07418.77423000.46890.87650.88170.89720.8765
0.057421.90323500.48850.88070.88450.89700.8807
0.045225.04000.49000.88480.88880.90110.8848
0.039628.12904500.48960.87650.88050.89340.8765

Framework versions

  • —Transformers 4.51.3
  • —Pytorch 2.6.0+cu124
  • —Datasets 3.5.0
  • —Tokenizers 0.21.1