CoolFace
Modelpublic

YYYYYYibo/zephyr-7b-dpo-qlora-training-on-full-binary

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes12downloads
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. -->

zephyr-7b-dpo-qlora-training-on-full-binary

This model is a fine-tuned version of alignment-handbook/zephyr-7b-sft-qlora on the updated and the original datasets. It achieves the following results on the evaluation set:

  • —Loss: 0.5386
  • —Rewards/chosen: -0.9159
  • —Rewards/rejected: -1.5101
  • —Rewards/accuracies: 0.6960
  • —Rewards/margins: 0.5943
  • —Logps/rejected: -392.2019
  • —Logps/chosen: -355.0374
  • —Logits/rejected: 0.1234
  • —Logits/chosen: -0.3064

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-06
  • —trainbatchsize: 2
  • —evalbatchsize: 2
  • —seed: 42
  • —distributed_type: multi-GPU
  • —num_devices: 4
  • —gradientaccumulationsteps: 32
  • —totaltrainbatch_size: 256
  • —totalevalbatch_size: 8
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 1

Training results

Training LossEpochStepValidation LossRewards/chosenRewards/rejectedRewards/accuraciesRewards/marginsLogps/rejectedLogps/chosenLogits/rejectedLogits/chosen
0.54640.421000.5636-0.6892-1.19600.70600.5068-360.7926-332.3759-0.6169-0.9747
0.53690.842000.5386-0.9159-1.51010.69600.5943-392.2019-355.03740.1234-0.3064

Framework versions

  • —PEFT 0.7.1
  • —Transformers 4.36.2
  • —Pytorch 2.2.2+cu121
  • —Datasets 2.14.6
  • —Tokenizers 0.15.2