CoolFace
Modelpublic

ayeshgk/codet5-small-java-v1-text-to-code

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

codet5-small-java-v1-text-to-code

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

  • Loss: 0.7705
  • Rouge1: 57.1969
  • Rouge2: 40.0098
  • Rougel: 55.326
  • Rougelsum: 56.119
  • Gen Len: 16.8335

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

Training results

Training LossEpochStepValidation LossRouge1Rouge2RougelRougelsumGen Len
0.74341.062500.814855.904538.59254.027854.763316.796
0.67082.0125000.786856.335438.984354.527855.219716.751
0.63093.0187500.774156.988339.862655.132155.917316.8495
0.62624.0250000.770557.196940.009855.32656.11916.8335

Framework versions

  • Transformers 4.36.0.dev0
  • Pytorch 2.1.0+cu118
  • Datasets 2.15.0
  • Tokenizers 0.15.0