CoolFace
Modelpublic

mamiksik/CodeBERTa-commit-message-autocomplete

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

CodeBERTa-commit-message-autocomplete

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

  • Loss: 1.8906
  • Accuracy: 0.6346

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: 64
  • evalbatchsize: 64
  • seed: 42
  • gradientaccumulationsteps: 16
  • totaltrainbatch_size: 1024
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • lrschedulerwarmup_steps: 1000
  • num_epochs: 50
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
No log1.0404.55230.3432
No log2.0803.87110.3796
No log3.01203.24190.4503
No log4.01602.87090.4962
No log5.02002.69990.5085
No log6.02402.66220.5216
No log7.02802.50480.5410
No log8.03202.42490.5581
No log9.03602.37270.5623
No log10.04002.36250.5665
No log11.04402.33200.5706
No log12.04802.17040.5950
3.08113.05202.21090.5893
3.08114.05602.23300.5884
3.08115.06002.14540.5954
3.08116.06402.17400.5951
3.08117.06802.12190.5920
3.08118.07202.11360.6052
3.08119.07602.05860.6127
3.08120.08002.01850.6113
3.08121.08402.04930.6129
3.08122.08801.97660.6217
3.08123.09201.99680.6189
3.08124.09601.95670.6276
2.12225.010001.96110.6269
2.12226.010401.94370.6254
2.12227.010801.98650.6266
2.12228.011201.91120.6295
2.12229.011601.89030.6292
2.12230.012001.89920.6376
2.12231.012401.91220.6327
2.12232.012801.89060.6346

Framework versions

  • Transformers 4.25.1
  • Pytorch 1.13.0+cu117
  • Datasets 2.7.1
  • Tokenizers 0.13.2