Team Ai
Modelpublic

softhell/code_docstring_model

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes7downloads
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. -->

codedocstringmodel

This model is a fine-tuned version of Salesforce/codet5-base on the codesearchnet dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.9051
  • —Bleu: 0.0187

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: 5e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 8
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 64
  • —optimizer: Use adamwtorch with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 7
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossBleu
1.1111.010020.97810.0108
0.9982.020040.93970.0109
0.92953.030060.92040.0120
0.88144.040080.90880.0159
0.85575.050100.90640.0171
0.83646.060120.90550.0180
0.81846.993370070.90510.0187

Framework versions

  • —Transformers 4.47.0
  • —Pytorch 2.5.1+cu121
  • —Datasets 3.3.1
  • —Tokenizers 0.21.0