CoolFace
Modelpublic

thorirhrafn/gpt1B_DPO_model_ver2

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes6downloads
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. -->

gpt1BDPOmodel_ver2

This model is a fine-tuned version of AI-Sweden-Models/gpt-sw3-1.3b on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0069
  • Rewards/chosen: 0.0482
  • Rewards/rejected: -6.7989
  • Rewards/accuracies: 1.0
  • Rewards/margins: 6.8472
  • Logps/rejected: -275.1611
  • Logps/chosen: -112.8062
  • Logits/rejected: -2.7230
  • Logits/chosen: -2.9162

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

Training results

Training LossEpochStepValidation LossRewards/chosenRewards/rejectedRewards/accuraciesRewards/marginsLogps/rejectedLogps/chosenLogits/rejectedLogits/chosen
0.00890.792000.00860.0829-6.33431.06.4172-270.5143-112.4591-2.7397-2.9321
0.00311.594000.00690.0482-6.79891.06.8472-275.1611-112.8062-2.7230-2.9162

Framework versions

  • PEFT 0.8.2
  • Transformers 4.38.1
  • Pytorch 2.2.0+cu118
  • Datasets 2.17.1
  • Tokenizers 0.15.2