CoolFace
Modelpublic

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

sourceHugging Faceapache-2.0updated 4y 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. -->

Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor

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.8118
  • Exact Match: 0.1555
  • Rouge1: 0.5580
  • Rouge2: 0.3886
  • Rougel: 0.5407
  • Rougelsum: 0.5483
  • Bleu: 0.1297

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.0003
  • 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: 10
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossExact MatchRouge1Rouge2RougelRougelsumBleu
1.85250.165000.93400.14350.53600.35960.51710.52380.1146
0.86790.3210000.92620.14050.53850.36590.52280.52940.1179
0.81690.4815000.89570.1390.53720.36420.51920.52650.1135
0.77340.6420000.88270.140.54850.37060.53160.53810.1210
0.7430.825000.86470.1550.55030.38330.53380.54110.1184
0.720.9630000.86610.15450.54600.37350.52840.53660.1162
0.65391.1235000.85910.1560.55400.38410.53650.54440.1241
0.63011.2840000.84520.14850.55560.37940.53690.54510.1237
0.62221.4445000.83210.15850.55290.38180.53430.54300.1228
0.62211.650000.83170.1540.56640.39250.54810.55750.1289
0.60671.7655000.82280.16250.56070.39330.54380.55160.1299
0.59271.9260000.81790.1560.56250.39420.54570.55260.1309
0.55482.0865000.82590.1520.55820.38460.54020.54850.1314
0.51462.2470000.83280.15450.56050.38890.54290.55140.1299
0.51932.475000.81970.15550.56040.38660.54310.55010.1268
0.51722.5680000.81180.15550.55800.38860.54070.54830.1297

Framework versions

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