The official repository of paper: "Check Me If You Can: Detecting ChatGPT-Generated Academic Writing using CheckGPT".
Data structure: { {KEY}:{TEXT} }. You may use your own data following this structure.
To turn text into features, use features.py.
Run
pip install -r requirements.txt
For training, testing and transfer learning, use dnn.py using this format:
python dnn.py {SUBJECT} {TASK} {EXP_ID}
Examples:
- To train a model from scratch on CS and task 1:
python dnn.py CS 1 0001
- To test a model on HSS and task 3:
python dnn.py HSS 3 0001 --test 1
- To evaluate any text, run and follow instructions:
python test.py