This repository contains the official implementation of the paper: Think Wider, Detect Sharper: Reinforced Reference Coverage for Document-Level Self-Contradiction Detection
pip install -r requirements.txtTraining data is constructed with StorySumm, REPLIQA, and CoT Distillation using DeepSeek R1.
bash script/data_constructor.shStep 1: Supervised Fine-Tuning (SFT)
bash script/sft.shStep 2: Reinforcement Learning Fine-Tuning (RL)
bash script/rl.shEvaluate (Base, CoT, SFT, RL) on the ContraDoc dataset.
bash script/test.sh