CoolFace
Modelpublic

thorirhrafn/llama_DPO_model_e2

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

llamaDPOmodel_e2

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.1045
  • Rewards/chosen: 0.4197
  • Rewards/rejected: -1.9316
  • Rewards/accuracies: 1.0
  • Rewards/margins: 2.3513
  • Logps/rejected: -204.1257
  • Logps/chosen: -156.4368
  • Logits/rejected: -1.0515
  • Logits/chosen: -0.8584

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: 7.5e-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.67320.1250.65180.0274-0.05840.88670.0858-185.3935-160.3602-1.0521-0.8541
0.5880.2500.56160.0780-0.20930.99330.2873-186.9026-159.8541-1.0523-0.8550
0.50770.3750.46900.1360-0.38961.00.5256-188.7056-159.2737-1.0525-0.8564
0.41790.41000.38720.1873-0.58611.00.7734-190.6710-158.7608-1.0532-0.8563
0.36140.51250.31700.2381-0.78951.01.0276-192.7043-158.2528-1.0533-0.8568
0.28120.61500.25440.2856-1.01211.01.2977-194.9309-157.7783-1.0527-0.8569
0.23780.71750.20660.3262-1.22401.01.5502-197.0494-157.3717-1.0520-0.8573
0.18660.792000.17040.3591-1.42221.01.7812-199.0312-157.0431-1.0526-0.8577
0.15550.892250.14290.3829-1.60501.01.9879-200.8594-156.8051-1.0523-0.8580
0.13120.992500.12390.4002-1.75341.02.1536-202.3439-156.6322-1.0515-0.8572
0.12761.092750.11470.4086-1.83251.02.2410-203.1341-156.5480-1.0518-0.8578
0.10381.193000.10940.4144-1.87791.02.2923-203.5883-156.4901-1.0511-0.8574
0.1011.293250.10720.4191-1.90231.02.3214-203.8326-156.4429-1.0512-0.8569
0.11281.393500.10560.4189-1.92061.02.3394-204.0154-156.4454-1.0511-0.8576
0.111.493750.10470.4220-1.92621.02.3482-204.0712-156.4135-1.0509-0.8570
0.10011.594000.10480.4224-1.92811.02.3505-204.0909-156.4098-1.0514-0.8574
0.09781.694250.10420.4246-1.92921.02.3538-204.1014-156.3875-1.0512-0.8573
0.11111.794500.10410.4244-1.92921.02.3536-204.1017-156.3903-1.0514-0.8587
0.10641.894750.10440.4199-1.93171.02.3516-204.1266-156.4352-1.0514-0.8577
0.1071.995000.10450.4197-1.93161.02.3513-204.1257-156.4368-1.0515-0.8584

Framework versions

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