CoolFace
Modelpublic

iliazlobin/phi-2-coedit

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes15downloads
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. -->

phi-2-coedit

This model is a fine-tuned version of microsoft/phi-2 on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.7388
  • Rouge1: 0.5206
  • Rouge2: 0.4123
  • Rougel: 0.4979
  • Rougelsum: 0.5032
  • Sacreblue: 28.1346
  • Memory Used: 81917.5
  • Cuda Allocated: 10795.7861
  • Cuda Reserved: 74746.0
  • Ram Usage: 24042.6719
  • Em: 0.0
  • Gen Len: 120.6545

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

Training results

Training LossEpochStepValidation LossRouge1Rouge2RougelRougelsumSacreblueMemory UsedCuda AllocatedCuda ReservedRam UsageEmGen Len
0.57160.221000.75580.50410.39270.48090.485326.979881917.510795.81174738.022888.41020.0120.3347
0.54070.442000.74040.52410.41710.50130.506827.680681917.510795.81474738.023733.98050.0120.8277
0.53240.663000.72300.51760.40930.49470.500227.514581917.510795.818474738.023831.14840.0120.576
0.51070.884000.71610.52560.41670.50420.509228.127481917.510795.793574738.023891.78910.0120.5225
0.43741.15000.74950.52370.4140.5010.505928.040581917.510795.786174746.023922.0430.0120.3181
0.35151.326000.74180.52160.41330.4990.504928.052881917.510795.783274746.023973.81640.0120.6453
0.34491.547000.73860.52420.41630.50160.507528.314581917.510795.806674746.023950.10160.0120.5367
0.33751.768000.73540.51940.41240.49730.502528.025281917.510795.81474746.023931.00.0120.6476
0.33731.989000.73880.52060.41230.49790.503228.134681917.510795.786174746.024042.67190.0120.6545

Framework versions

  • Transformers 4.39.3
  • Pytorch 2.2.2
  • Datasets 2.18.0
  • Tokenizers 0.15.2