--- license: mit base_model: HuggingFaceH4/mistral-7b-sft-beta tags: - trl - dpo - generated_from_trainer model-index: - name: zephyr-7b-dpo-full results: [] --- [Visualize in Weights & Biases](https://wandb.ai/sanqiang/wdpo/runs/dnn9mazg) # zephyr-7b-dpo-full This model is a fine-tuned version of [HuggingFaceH4/mistral-7b-sft-beta](https://huggingface.co/HuggingFaceH4/mistral-7b-sft-beta) on the None dataset. It achieves the following results on the evaluation set: - Loss: 0.5417 - Rewards/chosen: -2.1562 - Rewards/rejected: -2.8807 - Rewards/accuracies: 0.7313 - Rewards/margins: 0.7245 - Logps/rejected: -438.7701 - Logps/chosen: -359.8675 - Logits/rejected: 0.5902 - Logits/chosen: 0.3561 ## 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 - train_batch_size: 8 - eval_batch_size: 8 - seed: 42 - distributed_type: multi-GPU - num_devices: 8 - gradient_accumulation_steps: 2 - total_train_batch_size: 128 - total_eval_batch_size: 64 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: cosine - lr_scheduler_warmup_ratio: 0.1 - num_epochs: 1 ### Training results | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | |:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:| | 0.679 | 0.0796 | 100 | 0.6759 | -0.1436 | -0.1818 | 0.5998 | 0.0382 | -168.8750 | -158.6036 | -2.6862 | -2.6943 | | 0.5947 | 0.1592 | 200 | 0.6027 | -1.5133 | -2.0123 | 0.6679 | 0.4990 | -351.9330 | -295.5727 | -1.6083 | -1.6620 | | 0.578 | 0.2388 | 300 | 0.5751 | -1.2683 | -1.7143 | 0.6894 | 0.4460 | -322.1284 | -271.0768 | -1.3925 | -1.5128 | | 0.5575 | 0.3183 | 400 | 0.5613 | -1.7874 | -2.4481 | 0.7052 | 0.6607 | -395.5074 | -322.9848 | -0.2511 | -0.4263 | | 0.5311 | 0.3979 | 500 | 0.5601 | -2.0743 | -2.7782 | 0.7248 | 0.7039 | -428.5196 | -351.6741 | 0.1321 | -0.1444 | | 0.5658 | 0.4775 | 600 | 0.5562 | -1.9576 | -2.6629 | 0.7192 | 0.7053 | -416.9899 | -340.0069 | 0.9125 | 0.6661 | | 0.556 | 0.5571 | 700 | 0.5502 | -2.1146 | -2.7825 | 0.7201 | 0.6678 | -428.9443 | -355.7084 | 0.9969 | 0.7302 | | 0.5285 | 0.6367 | 800 | 0.5477 | -2.1980 | -2.9456 | 0.7229 | 0.7476 | -445.2567 | -364.0405 | 0.8564 | 0.6029 | | 0.5299 | 0.7163 | 900 | 0.5450 | -2.1121 | -2.8512 | 0.7341 | 0.7391 | -435.8159 | -355.4508 | 0.9832 | 0.7089 | | 0.5629 | 0.7959 | 1000 | 0.5440 | -2.1483 | -2.8941 | 0.7323 | 0.7457 | -440.1051 | -359.0749 | 0.7033 | 0.4600 | | 0.5351 | 0.8754 | 1100 | 0.5423 | -2.1496 | -2.8571 | 0.7304 | 0.7074 | -436.4062 | -359.2066 | 0.5029 | 0.2753 | | 0.5499 | 0.9550 | 1200 | 0.5417 | -2.1562 | -2.8807 | 0.7313 | 0.7245 | -438.7701 | -359.8675 | 0.5902 | 0.3561 | ### Framework versions - Transformers 4.41.0.dev0 - Pytorch 2.1.2+cu121 - Datasets 2.14.6 - Tokenizers 0.19.1