HuggingFaceH4/ultrafeedback_binarized
Viewer โข Updated โข 187k โข 36.2k โข 363
How to use taicheng/zephyr-7b-dpo-qlora with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
model = PeftModel.from_pretrained(base_model, "taicheng/zephyr-7b-dpo-qlora")This model is a fine-tuned version of alignment-handbook/zephyr-7b-sft-qlora on the HuggingFaceH4/ultrafeedback_binarized dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.6212 | 0.1047 | 100 | 0.6321 | -0.3313 | -0.5450 | 0.6944 | 0.2137 | -299.1472 | -298.0506 | -2.0086 | -2.0933 |
| 0.5618 | 0.2094 | 200 | 0.5601 | -0.8198 | -1.3660 | 0.7222 | 0.5461 | -381.2446 | -346.9064 | -1.6694 | -1.7551 |
| 0.54 | 0.3141 | 300 | 0.5265 | -1.5221 | -2.3343 | 0.7460 | 0.8122 | -478.0748 | -417.1275 | -1.0704 | -1.1715 |
| 0.5261 | 0.4187 | 400 | 0.5082 | -1.6553 | -2.5263 | 0.7540 | 0.8710 | -497.2759 | -430.4526 | -1.1014 | -1.2013 |
| 0.5107 | 0.5234 | 500 | 0.5059 | -2.4506 | -3.4250 | 0.75 | 0.9744 | -587.1476 | -509.9848 | -0.9852 | -1.0956 |
| 0.4851 | 0.6281 | 600 | 0.5023 | -2.2726 | -3.2316 | 0.7679 | 0.9590 | -567.8049 | -492.1783 | -0.9970 | -1.1078 |
| 0.4681 | 0.7328 | 700 | 0.4993 | -2.3170 | -3.3688 | 0.7679 | 1.0517 | -581.5197 | -496.6232 | -1.0068 | -1.1190 |
| 0.4852 | 0.8375 | 800 | 0.4950 | -2.3970 | -3.4117 | 0.7738 | 1.0147 | -585.8156 | -504.6183 | -1.0237 | -1.1353 |
| 0.4907 | 0.9422 | 900 | 0.4945 | -2.5678 | -3.6349 | 0.7778 | 1.0671 | -608.1346 | -521.7063 | -0.9901 | -1.1024 |
Base model
mistralai/Mistral-7B-v0.1