conda create -n dpkd python=3.11
conda activate dpkdand
bash install.shTrain runner:
bash scripts/dpkd-gpt2_base_runner.sh PATH_TO_DPKD Evaluation runner:
bash scripts/dpkd-gpt2_base_evaluate.sh PATH_TO_DPKD @article{dpkd,
title={Direct Preference Knowledge Distillation for Large Language Models},
author={Yixing Li and Yuxian Gu and Li Dong and Dequan Wang and Yu Cheng and Furu Wei},
journal={arXiv preprint arXiv:2406.19774},
year={2024}
}