CoolFace
Modelpublic

thorirhrafn/llama_SFT_e1_DPO_e2

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

llamaSFTe1DPOe2

This model is a fine-tuned version of meta-llama/Llama-2-7b-hf on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.1258
  • Rewards/chosen: 0.3605
  • Rewards/rejected: -1.7770
  • Rewards/accuracies: 1.0
  • Rewards/margins: 2.1375
  • Logps/rejected: -203.4181
  • Logps/chosen: -156.2596
  • Logits/rejected: -1.0532
  • Logits/chosen: -0.8665

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: 7e-07
  • trainbatchsize: 1
  • evalbatchsize: 1
  • seed: 42
  • gradientaccumulationsteps: 8
  • totaltrainbatch_size: 8
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 2

Training results

Training LossEpochStepValidation LossRewards/chosenRewards/rejectedRewards/accuraciesRewards/marginsLogps/rejectedLogps/chosenLogits/rejectedLogits/chosen
0.68250.1250.65960.0243-0.04510.86670.0694-186.0986-159.6209-1.0534-0.8570
0.60180.2500.58200.0671-0.17280.98000.2399-187.3757-159.1936-1.0531-0.8568
0.53330.3750.50210.1133-0.32361.00.4369-188.8834-158.7311-1.0544-0.8586
0.45220.41000.42130.1615-0.50291.00.6644-190.6768-158.2497-1.0547-0.8596
0.39620.51250.35550.1988-0.68441.00.8832-192.4913-157.8759-1.0548-0.8608
0.31640.61500.29200.2416-0.88721.01.1288-194.5195-157.4483-1.0550-0.8660
0.26730.71750.24000.2789-1.09361.01.3725-196.5838-157.0758-1.0540-0.8656
0.2170.792000.20080.3028-1.28731.01.5900-198.5201-156.8367-1.0540-0.8668
0.18220.892250.16940.3294-1.46001.01.7894-200.2475-156.5703-1.0541-0.8674
0.15780.992500.14830.3436-1.60561.01.9492-201.7036-156.4280-1.0538-0.8668
0.15091.092750.13640.3512-1.69031.02.0414-202.5503-156.3527-1.0534-0.8666
0.12731.193000.13220.3561-1.72421.02.0804-202.8900-156.3031-1.0532-0.8657
0.12081.293250.12840.3561-1.75461.02.1106-203.1934-156.3038-1.0534-0.8668
0.13251.393500.12700.3598-1.76541.02.1252-203.3020-156.2663-1.0532-0.8665
0.12871.493750.12630.3618-1.77181.02.1336-203.3654-156.2462-1.0534-0.8666
0.12031.594000.12520.3624-1.77831.02.1407-203.4305-156.2402-1.0532-0.8666
0.11881.694250.12540.3610-1.77671.02.1377-203.4145-156.2542-1.0530-0.8664
0.13311.794500.12530.3640-1.77601.02.1400-203.4073-156.2242-1.0531-0.8662
0.13011.894750.12520.3641-1.77721.02.1413-203.4194-156.2230-1.0531-0.8667
0.12891.995000.12580.3605-1.77701.02.1375-203.4181-156.2596-1.0532-0.8665

Framework versions

  • PEFT 0.8.2
  • Transformers 4.38.1
  • Pytorch 2.2.0+cu118
  • Datasets 2.17.1
  • Tokenizers 0.15.2