CoolFace
Modelpublic

ondevicellm/phi-1_5_sft

sourceHugging Facemitupdated 3y agoView on Hugging Face
1likes19downloads
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-15sft

This model is a fine-tuned version of microsoft/phi-1_5 on the HuggingFaceH4/ultrachat_200k dataset. It achieves the following results on the evaluation set:

  • Loss: 1.2542

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: 8
  • seed: 42
  • distributed_type: multi-GPU
  • num_devices: 4
  • gradientaccumulationsteps: 2
  • totaltrainbatch_size: 128
  • totalevalbatch_size: 32
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: cosine
  • lrschedulerwarmup_steps: 120
  • num_epochs: 3

Training results

Training LossEpochStepValidation Loss
1.30990.11001.3398
1.31310.22001.3159
1.30090.33001.3046
1.29150.44001.2967
1.27140.55001.2906
1.28110.66001.2854
1.26210.77001.2807
1.24060.88001.2767
1.23710.99001.2731
1.25471.010001.2699
1.20851.111001.2693
1.22531.212001.2669
1.2151.313001.2649
1.21031.414001.2630
1.20811.515001.2612
1.20331.616001.2597
1.23071.717001.2582
1.20381.818001.2568
1.20141.919001.2557
1.1882.020001.2546
1.14732.121001.2563
1.18722.222001.2559
1.20862.323001.2553
1.18962.424001.2550
1.17332.525001.2548
1.16652.626001.2544
1.14992.727001.2543
1.17792.828001.2542
1.17462.929001.2542

Framework versions

  • Transformers 4.37.0
  • Pytorch 2.1.2+cu118
  • Datasets 2.16.1
  • Tokenizers 0.15.0