CoolFace
Modelpublic

alvarobartt/mistral-7b-orpo-alignment-handbook

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
1likes20downloads
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. -->

mistral-7b-orpo-alignment-handbook

This model is a fine-tuned version of mistralai/Mistral-7B-v0.1 on the argilla/dpo-mix-7k dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.8562
  • —Rewards/chosen: -0.0394
  • —Rewards/rejected: -0.0485
  • —Rewards/accuracies: 0.6615
  • —Rewards/margins: 0.0091
  • —Logps/rejected: -0.9709
  • —Logps/chosen: -0.7882
  • —Logits/rejected: -2.9442
  • —Logits/chosen: -2.9335
  • —Nll Loss: 0.8317
  • —Log Odds Ratio: -0.6241
  • —Log Odds Chosen: 0.3600

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: 4
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 64
  • —totalevalbatch_size: 32
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_ratio: 0.1
  • —lrschedulerwarmup_steps: 100
  • —num_epochs: 3

Training results

Training LossEpochStepValidation LossRewards/chosenRewards/rejectedRewards/accuraciesRewards/marginsLogps/rejectedLogps/chosenLogits/rejectedLogits/chosenNll LossLog Odds RatioLog Odds Chosen
0.90810.951000.8756-0.0406-0.04830.6250.0077-0.9657-0.8116-3.0351-3.02660.8517-0.64380.3078
0.87431.92000.8544-0.0391-0.04740.64580.0083-0.9474-0.7823-2.9519-2.94230.8308-0.63190.3327
0.79522.843000.8562-0.0394-0.04850.66150.0091-0.9709-0.7880-2.9507-2.93990.8317-0.62380.3606

Framework versions

  • —Transformers 4.39.0.dev0
  • —Pytorch 2.2.1+cu121
  • —Datasets 2.14.6
  • —Tokenizers 0.15.2