CoolFace
Modelpublic

k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-test

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

Salesforce-codet5-small-CodeXGLUE-CONCODE-test

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

  • Loss: 0.8508
  • Exact Match: 0.156
  • Rouge1: 0.5559
  • Rouge2: 0.3857
  • Rougel: 0.5378
  • Rougelsum: 0.5465
  • Bleu: 0.1246

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

Training results

Training LossEpochStepValidation LossExact MatchRouge1Rouge2RougelRougelsumBleu
1.35630.165001.16520.11150.50980.31910.49150.49820.1088
0.96560.3210001.04350.12450.52460.34440.50750.51450.1164
0.86270.4815000.98510.1210.52750.34200.50740.51540.1132
0.77180.6420000.92880.13850.53340.35890.51740.52420.1206
0.72370.825000.88670.14950.55050.37620.53280.54060.1208
0.68120.9630000.85080.1560.55590.38570.53780.54650.1246

Framework versions

  • Transformers 4.27.1
  • Pytorch 1.12.1+cu113
  • Datasets 2.10.1
  • Tokenizers 0.13.2