CoolFace
Modelpublic

cj453/dense_reward_trainer_final_opt__NumTrainEpochs5_SaveStrategiesno_reward_modeling_anthropic_hh

sourceHugging Faceotherupdated 2y agoView on Hugging Face
0likes54downloads
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. -->

denserewardtrainerfinalopt_NumTrainEpochs5SaveStrategiesnorewardmodelinganthropichh

This model is a fine-tuned version of facebook/opt-1.3b on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 2.4124
  • —Accuracy: 0.6660
  • —Train Rewards/chosen: 9.2061
  • —Train Rewards/rejected: -9.4536
  • —Train Rewards/accuracies: 0.9844
  • —Train Rewards/margins: 18.6597
  • —Train Nll Loss: 2.1547
  • —Train Logit Total Loss: 0.0587
  • —Train Logit Loss: 0.0375
  • —Rewards/chosen: 3.4303
  • —Rewards/rejected: -2.3575
  • —Rewards/accuracies: 0.6484
  • —Rewards/margins: 5.7878
  • —Nll Loss: 2.1950
  • —Logit Total Loss: 2.4421
  • —Logit Loss: 2.4446

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: 1.41e-05
  • —trainbatchsize: 4
  • —evalbatchsize: 8
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 16
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 5

Training results

Training LossEpochStepValidation LossAccuracyRewards/chosenRewards/rejectedRewards/accuraciesRewards/marginsNll LossLogit Total LossLogit Loss
0.70770.111000.68970.6165-1.6378-1.80010.60160.16222.80920.68810.6667
0.71170.232000.67640.6103-2.8148-3.05360.59640.23882.89270.67460.6522
0.65020.343000.66260.6536-0.8018-1.16450.63990.36272.96960.66110.6377
0.6550.464000.65030.6144-1.5457-1.96480.59840.41912.77730.64890.6274
0.64670.575000.66530.6165-0.9541-1.34830.60360.39422.81390.66430.6426
0.66940.696000.64320.6392-1.5917-1.94390.62780.35222.77790.64260.6211
0.67530.87000.64940.6371-1.3508-1.71910.62460.36832.80560.64740.6256
0.68060.918000.64490.6103-1.4576-1.81650.60040.35892.72150.64240.6214
0.54341.039000.68270.6557-0.8965-1.66110.64680.76452.67620.68160.6615
0.54481.1410000.71940.6392-0.8661-1.82650.62660.96042.62140.71840.6992
0.51291.2611000.79900.62891.31080.23900.61651.07182.65260.79660.7779
0.50331.3712000.68880.6557-0.9571-1.86010.64880.90302.62630.68680.6672
0.4041.4913000.74220.6309-1.1408-2.02970.62260.88902.60460.73480.7159
0.55121.614000.67620.6474-2.5166-3.30230.63270.78572.58720.67660.6573
0.45581.7115000.68430.6619-2.3183-3.24120.64760.92292.52680.68110.6625
0.51841.8316000.71350.6557-1.5991-2.55380.64560.95472.56710.71790.6992
0.42131.9417000.72200.6495-1.3947-2.41980.63951.02512.50400.71980.7018
0.15082.0618001.08270.65982.52820.25340.64762.27482.64371.07581.0599
0.12162.1719001.13760.6474-0.0750-2.15230.63022.07732.55061.15021.1361
0.10442.2920001.46820.6722-0.4860-3.52680.65773.04082.52921.48361.4730
0.09522.421001.63030.66391.9842-1.36730.64443.35152.52931.63771.6287
0.19512.5122001.15150.6784-0.0674-2.46600.66372.39852.45891.14631.1331
0.11192.6323001.38450.67224.41491.26690.65483.14802.47971.38691.3759
0.16132.7424001.19480.6536-4.3162-7.11330.63672.79712.46611.20141.1887
0.14082.8625001.41670.6557-3.1501-6.35920.64153.20912.45911.42421.4137
0.26942.9726001.21680.65360.5185-2.25310.63952.77162.43971.20741.1949
0.11843.0927001.67290.64120.5427-3.28290.63153.82572.41881.66271.6551
0.10043.228001.87680.67423.9205-0.65430.66294.57482.39061.86251.8572
0.10293.3129001.74610.66190.1775-4.20790.64964.38542.35341.73561.7294
0.04013.4330001.99490.68253.6497-1.38190.66985.03172.33271.99021.9868
0.043.5431002.02060.6763-0.5106-5.09030.65974.57982.32022.02242.0194
0.10353.6632002.19710.66602.3511-2.56450.65364.91562.31372.22182.2209
0.05893.7733002.15990.64122.0054-2.74690.62624.75232.29362.17892.1777
0.0843.8934002.20960.65981.7952-3.00610.63914.80132.28332.23862.2382
0.0634.035002.22770.66604.2291-0.85130.64845.08052.26932.25392.2537
0.0654.1136002.34310.65982.1719-3.19230.64445.36422.24992.35752.3585
0.04534.2337002.40690.64745.68390.22290.63355.46092.23442.43272.4347
0.03774.3438002.49830.65572.7785-2.99280.63555.77142.22582.53972.5429
0.05594.4639002.40270.65362.8063-2.85870.63755.66502.21352.42782.4299
0.02194.5740002.43220.65983.9024-1.84120.64355.74362.20812.48052.4832
0.094.6941002.40410.66803.7769-1.98900.64965.76592.20112.42482.4271
0.08974.842002.37270.67222.7679-3.01820.65245.78612.19742.38152.3833
0.04744.9143002.41240.66603.4303-2.35750.64845.78782.19502.44212.4446

Framework versions

  • —Transformers 4.37.2
  • —Pytorch 2.4.0+cu121
  • —Datasets 2.21.0
  • —Tokenizers 0.15.2