This repository contains the main code for our ICLR submission: “HAPDA: A Human-Machine Predictive Discrepancy Adapter for AI-Generated Text Detection.”
The core components of the HAPDA framework are implemented in HAPDA-Finetune.py and HAPDA-Calibration.py.