CoolFace
Modelpublic

LBK95/Llama-2-7b-hf-DPO-Filtered-0.2-version-4

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

Llama-2-7b-hf-DPO-Filtered-0.2-version-4

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

  • Loss: 0.4722
  • Rewards/chosen: -4.6553
  • Rewards/rejected: -7.8727
  • Rewards/accuracies: 0.8500
  • Rewards/margins: 3.2174
  • Logps/rejected: -130.0573
  • Logps/chosen: -99.6505
  • Logits/rejected: -1.6599
  • Logits/chosen: -1.6641

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: 5e-05
  • trainbatchsize: 1
  • evalbatchsize: 1
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: cosine
  • lrschedulerwarmup_steps: 10
  • num_epochs: 3

Training results

Training LossEpochStepValidation LossRewards/chosenRewards/rejectedRewards/accuraciesRewards/marginsLogps/rejectedLogps/chosenLogits/rejectedLogits/chosen
0.62530.30072890.48040.1896-0.82780.751.0174-59.6087-51.2020-0.5776-0.5728
0.73890.60155780.6042-0.7550-1.28770.750.5327-64.2070-60.6478-0.5344-0.5271
0.94090.90228670.5284-1.7710-2.83040.80001.0594-79.6340-70.8077-0.7636-0.7588
0.16771.202911560.5894-3.1943-5.23910.85002.0448-103.7217-85.0409-1.2480-1.2513
0.72141.503614450.9016-2.9280-4.98770.752.0597-101.2072-82.3778-1.7146-1.7203
0.08861.804417340.5467-5.1233-7.76540.80002.6421-128.9842-104.3309-1.6795-1.6833
0.00172.105120230.4601-4.5145-7.65150.90003.1370-127.8453-98.2430-1.6638-1.6679
0.05172.405823120.4787-4.6994-7.91520.85003.2159-130.4826-100.0915-1.6608-1.6651
0.00032.706626010.4722-4.6553-7.87270.85003.2174-130.0573-99.6505-1.6599-1.6641

Framework versions

  • PEFT 0.10.0
  • Transformers 4.40.2
  • Pytorch 2.3.0+cu121
  • Datasets 2.19.1
  • Tokenizers 0.19.1