CoolFace
Modelpublic

RichardErkhov/alignment-handbook_-_zephyr-7b-dpo-full-gguf

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes95downloads
Model Card

Quantization made by Richard Erkhov.

Github

Discord

Request more models

zephyr-7b-dpo-full - GGUF

  • —Model creator: https://huggingface.co/alignment-handbook/
  • —Original model: https://huggingface.co/alignment-handbook/zephyr-7b-dpo-full/

Original model description: --- license: apache-2.0 base_model: alignment-handbook/zephyr-7b-sft-full tags:

  • —alignment-handbook
  • —generatedfromtrainer
  • —trl
  • —dpo
  • —generatedfromtrainer datasets:
  • —HuggingFaceH4/ultrafeedback_binarized model-index:
  • —name: zephyr-7b-dpo-full results: [] ---

<!-- 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-full

This model is a fine-tuned version of alignment-handbook/zephyr-7b-sft-full on the HuggingFaceH4/ultrafeedback_binarized dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.5042
  • —Rewards/chosen: -1.0500
  • —Rewards/rejected: -2.0480
  • —Rewards/accuracies: 0.7539
  • —Rewards/margins: 0.9980
  • —Logps/rejected: -468.1450
  • —Logps/chosen: -368.4135
  • —Logits/rejected: 2.3821
  • —Logits/chosen: 1.6141

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-07
  • —trainbatchsize: 8
  • —evalbatchsize: 8
  • —seed: 42
  • —distributed_type: multi-GPU
  • —num_devices: 8
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 128
  • —totalevalbatch_size: 64
  • —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.57230.211000.5851-0.4097-0.87520.70310.4655-350.8695-304.3812-2.3494-2.4070
0.50840.422000.5251-0.9116-1.74720.74220.8355-438.0663-354.57901.39180.9248
0.50590.633000.5130-0.8646-1.75420.750.8896-438.7735-349.87582.03311.2558
0.48530.844000.5050-1.0929-2.10850.75391.0156-474.1963-372.70672.59221.8194

Framework versions

  • —Transformers 4.36.2
  • —Pytorch 2.1.2+cu121
  • —Datasets 2.14.6
  • —Tokenizers 0.15.0