CoolFace
Modelpublic

mamiksik/CodeBertaCLM

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

CodeBertaCLM

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

  • Loss: 2.5831
  • Accuracy: 0.0144
  • F1: 0.0144
  • Bleu4: 0.0421

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
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 200

Training results

Training LossEpochStepValidation LossAccuracyF1Bleu4
3.67341.016733.68840.01590.01590.0131
2.81392.033463.25170.01640.01640.0192
2.41763.050193.07470.01780.01780.0332
2.27854.066922.96950.01740.01740.0347
2.15575.083652.88860.01710.01710.0377
2.03576.0100382.83130.01580.01580.0394
1.96157.0117112.78650.01580.01580.0393
1.89828.0133842.74980.01470.01470.0399
1.82339.0150572.71950.01490.01490.0430
1.786610.0167302.69250.01570.01570.0485
1.723711.0184032.67450.01460.01460.0419
1.675712.0200762.66160.01460.01460.0403
1.645213.0217492.63770.01470.01470.0403
1.603614.0234222.62160.01450.01450.0397
1.581815.0250952.61690.01500.01500.0413
1.538916.0267682.60470.01460.01460.0420
1.513117.0284412.59400.01530.01530.0433
1.482218.0301142.58990.01450.01450.0404
1.446119.0317872.58120.01500.01500.0423
1.414920.0334602.58410.01480.01480.0418
1.393321.0351332.57830.01390.01390.0386
1.375222.0368062.57300.01510.01510.0444
1.341223.0384792.57090.01490.01490.0419
1.330724.0401522.56990.01430.01430.0424
1.290925.0418252.56480.01440.01440.0416
1.267926.0434982.56150.01450.01450.0420
1.260327.0451712.56260.01480.01480.0433
1.220328.0468442.56700.01480.01480.0410
1.213429.0485172.55360.01470.01470.0422
1.190730.0501902.57010.01390.01390.0404
1.170231.0518632.57220.01430.01430.0424
1.155532.0535362.56790.01440.01440.0434
1.137133.0552092.56940.01460.01460.0431
1.118934.0568822.56920.01410.01410.0422
1.098935.0585552.58310.01440.01440.0421

Framework versions

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