Team Ai
Modelpublic

yanghuattt/microsoft_CodeGPT-small-java_0_ft_clm

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

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.1672
  • —Accuracy: 0.7708

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: 4
  • —evalbatchsize: 12
  • —seed: 42
  • —distributed_type: multi-GPU
  • —num_devices: 2
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 32
  • —totalevalbatch_size: 24
  • —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.88420.77885001.19340.7688
0.75571.557610001.16760.7693
0.70332.336415001.16310.7705
0.66243.115320001.16500.7707
0.64143.894125001.16460.7710
0.61874.672930001.16720.7708

Framework versions

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