CoolFace
Modelpublic

argilla/zephyr-7b-spin-iter2-v0

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
1likes31downloads
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-spin-iter2-v0

This model is a fine-tuned version of argilla/zephyr-7b-spin-iter1-v0 on the argilla/10k_prompts_SPIN_iter2_zephyr_top and the argilla/10k_prompts_SPIN_iter1_zephyr_top dataset.

It achieves the following results on the evaluation set:

  • —Loss: 0.1253
  • —Rewards/real: -0.5683
  • —Rewards/generated: -4.9538
  • —Rewards/accuracies: 0.9479
  • —Rewards/margins: 4.3854
  • —Logps/generated: -739.3701
  • —Logps/real: -278.2851
  • —Logits/generated: -2.8430
  • —Logits/real: -2.8375

MT-Bench results

Model1st Turn Score2nd Turn ScoreAverage Score
zephyr-7b-sft-full6.66256.02506.34375
zephyr-7b-spin-iter0-v06.643756.17506.409375
zephyr-7b-spin-iter1-v06.906256.30006.603125
zephyr-7b-spin-iter2-v07.13756.31256.725000
zephyr-7b-spin-iter3-v07.093756.45006.771875

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: 1e-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: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 2.0

Training results

Training LossEpochStepValidation LossRewards/realRewards/generatedRewards/accuraciesRewards/marginsLogps/generatedLogps/realLogits/generatedLogits/real
5.87690.49250.1890-0.1680-2.98330.93752.8153-719.6649-274.2817-2.7940-2.8382
0.12020.97500.1440-0.4164-4.22560.94793.8092-732.0879-276.7652-2.8395-2.8439
0.07541.46750.1298-0.5468-4.75650.95834.2097-737.3973-278.0700-2.8411-2.8388
0.06211.941000.1253-0.5683-4.95380.94794.3854-739.3701-278.2851-2.8430-2.8375

Framework versions

  • —Transformers 4.37.0
  • —Pytorch 2.1.2+cu121
  • —Datasets 2.14.6
  • —Tokenizers 0.15.2