CoolFace
Modelpublic

jiazhengli/Mixtral-8x7B-Instruct-v0.1-QLoRA-Assessment-Rationale-dpo

sourceHugging Faceotherupdated 2y agoView on Hugging Face
0likes4downloads
Model Card

Mixtral-8x7B-Instruct-v0.1-QLoRA-Assessment-Rationale-dpo

The model trained with w/o private data from the EMNLP 2024 Paper: Calibrating LLMs with Preference Optimization on Thought Trees for Generating Rationale in Science Question Scoring.

Intended uses & limitations

This model offers a valuable resource for research in explainable AI within educational technology. The model is trained with noisy response-level rationales. This makes them unsuitable for direct application in high-stakes assessments without additional verification.

Training and evaluation data

We trained and evaluated the model on the Synthetic Rationale data, which was generated from the Rationale MCTS data.

To extract scores from rationales, please use the jiazhengli/deberta-v3-large-Rationale-to-Score.

Citation

Please cite the following work if you utilize this model:

BibTeX:

bibtex
@misc{li2024calibratingllmspreferenceoptimization,
      title={Calibrating LLMs with Preference Optimization on Thought Trees for Generating Rationale in Science Question Scoring}, 
      author={Jiazheng Li and Hainiu Xu and Zhaoyue Sun and Yuxiang Zhou and David West and Cesare Aloisi and Yulan He},
      year={2024},
      eprint={2406.19949},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2406.19949}, 
}

Training procedure

Please refer to our paper.

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: cosine
  • —lrschedulerwarmup_steps: 0.1
  • —num_epochs: 3.0
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossRewards/chosenRewards/rejectedRewards/accuraciesRewards/marginsLogps/rejectedLogps/chosenLogits/rejectedLogits/chosen
1.17260.332002.607914.876013.69480.59291.1812-199.3195-162.4827-0.7607-0.7827
1.00280.674002.674314.973013.83420.58441.1388-197.9255-161.5126-0.8669-0.8743
0.51271.06002.523915.406313.99310.60001.4132-196.3373-157.1801-0.8501-0.8561
0.37871.338002.595115.269513.91120.61421.3582-197.1555-158.5480-0.8385-0.8358
0.3811.6710002.581415.018613.48130.62131.5373-201.4548-161.0572-0.7846-0.7808
0.29932.012002.581615.030713.39170.63831.6390-202.3505-160.9355-0.7590-0.7554
0.29172.3314002.627014.537012.88850.64261.6485-207.3829-165.8732-0.8337-0.8292
0.28812.6716002.635814.384912.69730.64681.6875-209.2946-167.3941-0.8503-0.8468

Framework versions

  • —PEFT 0.10.0
  • —Transformers 4.38.2
  • —Pytorch 2.2.1+cu121
  • —Datasets 2.18.0
  • —Tokenizers 0.15.2