CoolFace
Modelpublic

yanghuattt/microsoft_CodeGPT-small-java_1_ft_clm

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

microsoftCodeGPT-small-java1ftclm

This model is a fine-tuned version of microsoft/CodeGPT-small-java on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 1.2841
  • Accuracy: 0.7565

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: 8
  • evalbatchsize: 24
  • seed: 42
  • gradientaccumulationsteps: 4
  • totaltrainbatch_size: 32
  • optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • lrschedulertype: cosine
  • lrschedulerwarmup_ratio: 0.02
  • num_epochs: 5

Training results

Training LossEpochStepValidation LossAccuracy
0.69670.50285001.31620.7521
0.64811.005010001.30020.7551
0.60911.507815001.29650.7550
0.60912.010120001.28940.7556
0.58052.512825001.29180.7556
0.5573.015130001.28620.7559
0.55133.517835001.28410.7565
0.54684.020140001.28490.7562
0.55134.522945001.28950.7559

Framework versions

  • Transformers 4.53.0
  • Pytorch 2.7.1+cu126
  • Datasets 3.6.0
  • Tokenizers 0.21.2