CoolFace
Modelpublic

wirthdrew1/zephyr-7b-dpo-qlora

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-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:

  • —Loss: 0.5036
  • —Rewards/chosen: -2.0892
  • —Rewards/rejected: -3.1197
  • —Rewards/accuracies: 0.7295
  • —Rewards/margins: 1.0304
  • —Logps/rejected: -560.7722
  • —Logps/chosen: -477.4810
  • —Logits/rejected: 2.3638
  • —Logits/chosen: 1.7891

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-06
  • —trainbatchsize: 4
  • —evalbatchsize: 8
  • —seed: 42
  • —distributed_type: multi-GPU
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 8
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 1

Training results

Training LossEpochStepLogits/chosenLogits/rejectedLogps/chosenLogps/rejectedValidation LossRewards/accuraciesRewards/chosenRewards/marginsRewards/rejected
0.69310.01100-2.2163-2.1335-268.5095-248.78550.69300.51350.00050.00030.0002
0.69260.03200-2.2157-2.1330-268.3331-248.72240.69240.58850.00230.00140.0008
0.69040.04300-2.2194-2.1373-267.3080-248.17080.69010.64750.01250.00620.0064
0.68680.05400-2.2179-2.1356-264.7627-247.12430.68300.66100.03800.02110.0168
0.67810.07500-2.1590-2.0748-266.5388-252.37080.66790.67850.02020.0558-0.0356
0.65650.08600-2.0685-1.9763-278.9226-272.44210.64030.6805-0.10360.1327-0.2364
0.64110.09700-2.0181-1.9197-283.8720-282.30920.62540.6820-0.15310.1819-0.3350
0.61770.1800-1.9304-1.8202-307.0186-313.11280.61340.6765-0.38460.2585-0.6431
0.63330.12900-1.9660-1.8566-308.6199-317.15260.60820.6740-0.40060.2829-0.6835
0.57760.131000-2.0038-1.8956-335.0627-351.87940.60660.6735-0.66500.3657-1.0307
0.60930.141100-2.0022-1.9019-324.4846-341.52300.60750.6740-0.55920.3679-0.9272
0.56070.161200-1.9182-1.8081-352.8372-375.34660.59700.6800-0.84280.4226-1.2654
0.56270.171300-1.3203-1.1519-411.9446-433.78770.59350.6850-1.43390.4160-1.8498
0.58530.181400-1.0520-0.8708-389.5525-417.23250.58420.6950-1.20990.4743-1.6843
0.56220.21500-0.6561-0.4323-419.2693-453.90200.57120.6990-1.50710.5439-2.0510
0.48150.211600-0.5810-0.3415-421.0228-464.60430.56630.7035-1.52460.6333-2.1580
0.46980.2217000.5697-1.8165-2.49860.69900.6821-498.6652-450.21030.56410.2594
0.52130.2418000.5670-1.4236-2.10110.70550.6776-458.9214-410.91520.61730.2952
0.52950.2519000.5606-1.9797-2.69520.69450.7155-518.3280-466.52940.89410.5819
0.60740.2620000.5525-1.1848-1.78810.71650.6033-427.6170-387.03960.34490.0271
0.5680.2721000.5388-1.5667-2.24880.72200.6822-473.6912-425.22631.34970.9786
0.56430.2922000.5539-1.8112-2.61840.71450.8072-510.6461-449.67741.96031.5565
0.52260.323000.5354-1.6020-2.35880.72450.7568-484.6839-428.75531.36730.9661
0.41440.3124000.5338-2.0110-2.82760.72450.8167-531.5681-469.65571.66091.2542
0.52330.3325000.5387-1.9001-2.72900.72450.8289-521.7109-458.57341.73901.3093
0.54250.3426000.5430-2.4619-3.33660.72250.8747-582.4704-514.75142.44311.9262
0.47190.3527000.5309-1.9122-2.71180.72850.7996-519.9872-459.78162.05861.6066
0.55430.3728000.5268-1.7066-2.46230.72250.7557-495.0332-439.21621.59241.1721
0.54090.3829000.5400-2.1879-3.15510.71750.9673-564.3220-487.34772.08901.6062
0.49560.3930000.5285-1.8388-2.71650.72850.8777-520.4593-452.44311.64641.1679
0.45720.4131000.5198-1.6639-2.42690.72650.7630-491.4958-434.95051.76271.2994
0.49620.4232000.5181-1.6914-2.52140.72650.8300-500.9511-437.69941.64521.1780
0.60980.4333000.5188-1.6044-2.43800.73100.8336-492.6022-428.99951.51411.0617
0.53490.4434000.5210-1.4720-2.30900.72850.8370-479.7061-415.75781.49651.0371
0.47730.4635000.5206-1.4425-2.22850.72800.7861-471.6597-412.80621.80901.3264
0.53120.4736000.5196-1.8128-2.67190.73200.8591-515.9943-449.83872.53392.0191
0.58790.4837000.5128-1.9225-2.79750.73550.8750-528.5556-460.81232.93902.3934
0.52020.538000.5155-1.8291-2.71530.73300.8863-520.3419-451.46672.27281.7445
0.51160.5139000.5188-2.0732-3.04270.72850.9696-553.0799-475.87522.27211.7291
0.55210.5240000.5161-2.3283-3.30540.72550.9771-579.3469-501.38722.25771.7449
0.51070.5441000.5197-1.8192-2.73480.72150.9156-522.2897-450.48031.76781.2222
0.47730.5542000.5163-2.1894-3.15540.72650.9660-564.3451-487.49921.84971.3121
0.43150.5643000.5097-2.0873-3.04160.73400.9544-552.9705-477.28722.20391.6783
0.51760.5844000.5097-2.2486-3.24090.72900.9924-572.8979-493.41462.07821.5387
0.44870.5945000.5132-2.0257-3.01440.72450.9887-550.2475-471.12822.06761.4968
0.4780.646000.5082-2.0565-3.03430.72700.9778-552.2376-474.20842.10651.5402
0.53510.6247000.5038-1.9625-2.89930.72850.9368-538.7390-464.81202.04881.5017
0.49420.6348000.5058-2.2570-3.24790.73050.9909-573.5954-494.25752.52101.9471
0.49180.6449000.5129-2.4781-3.53220.73501.0541-602.0275-516.36532.82952.2468
0.46930.6550000.5131-2.2974-3.35890.73151.0615-584.6987-498.29682.69312.1137
0.57960.6751000.5084-2.1485-3.17090.73001.0224-565.8975-483.41132.49251.9365
0.51370.6852000.5012-2.0083-2.93700.73650.9287-542.5073-469.39032.09691.5738
0.44840.6953000.5022-2.1149-3.07650.73450.9616-556.4618-480.05312.25391.7154
0.46080.7154000.5035-2.1639-3.15860.73800.9947-564.6663-484.94852.22241.6704
0.57460.7255000.5045-2.3599-3.40230.73201.0424-589.0370-504.55202.21341.6562
0.57680.7356000.5011-2.0662-3.04300.73750.9767-553.1031-475.18301.81991.2667
0.43590.7557000.5032-2.0933-3.11000.73501.0166-559.8049-477.89321.90731.3503
0.48120.7658000.5056-2.2931-3.36400.73201.0709-585.2068-497.86712.12341.5508
0.50480.7759000.5036-1.9424-2.92860.73350.9862-541.6672-462.80241.79701.2367
0.45050.7960000.5053-1.9881-2.98960.73301.0015-547.7703-467.36951.95821.3843
0.51970.861000.5071-2.0238-3.03910.73151.0152-552.7153-470.94452.01181.4341
0.60460.8162000.5064-2.0803-3.11160.73101.0313-559.9708-476.59392.11511.5328
0.46690.8263000.5072-2.1010-3.15410.73101.0531-564.2192-478.65702.22641.6394
0.56310.8464000.5055-2.0938-3.13850.73051.0447-562.6528-477.93852.30721.7230
0.4330.8565000.5044-2.0630-3.09360.72901.0306-558.1638-474.85862.27601.6963
0.49080.8666000.5043-2.0569-3.08630.72951.0294-557.4365-474.25402.33431.7557
0.5220.8867000.5039-2.0755-3.10600.73001.0304-559.4037-476.11252.34691.7706
0.49530.8968000.5039-2.0918-3.12350.72901.0317-561.1605-477.73882.38811.8129
0.56830.969000.5036-2.0899-3.12030.73001.0304-560.8373-477.54722.36491.7897
0.53990.9270000.5037-2.0831-3.11190.72951.0288-560.0004-476.87212.35901.7832
0.46280.9371000.5035-2.0882-3.11880.73001.0307-560.6896-477.37612.36591.7910
0.52730.9472000.5036-2.0897-3.12020.72951.0305-560.8275-477.53172.35941.7853
0.44450.9673000.5035-2.0889-3.11970.73051.0308-560.7729-477.44472.36141.7871
0.48390.9774000.5035-2.0894-3.11990.73101.0304-560.7961-477.50422.36461.7896
0.44250.9875000.5036-2.0892-3.11970.72951.0304-560.7722-477.48102.36381.7891
0.51950.9976000.5036-2.0892-3.11970.72951.0304-560.7722-477.48102.36381.7891

Framework versions

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