How to filter preference data?
Thank you very much for your excellent work!We want to know how the preference data is filtered out? The paper mentioned:
We exclude data samples for which all SFT model-generated CoT solutions are either entirely correct or entirely incorrect.
Are the entirely correct and entirely wrong statements here for N distinct CoT solutions from the reference model π_SFT?
Hi @tom68-ll, thanks for your interest!
Are the entirely correct and entirely wrong statements here for N distinct CoT solutions from the reference model π_SFT?
That's right, for each <question, gold sql> pairs in the original training dataset, we sample $\pi_{SFT}$ N times (De-duplication is optional, which has minimal impact on final results according to our observations), compare their execution results with gold sql, and construct preference pairs based on that. Hope this clarification helps you!