HC3 human / ChatGPT answer classifier
Fine-tuned MiniLM classifier for the historical English HC3 benchmark. Labels: 0 = human, 1 = ChatGPT. Input is answer text only.
Evaluation
Baseline test accuracy: 0.844901 Fine-tuned test accuracy: 0.986932 Fine-tuned macro F1: 0.986930
Training and data
Dataset: Hello-SimpleAI/HC3, revision 4d0ff18143b5a7e1b1e79beb540c04549d1e59d3. One nonempty human/generated answer pair per eligible, deduplicated question. Question-level 80/10/10 train/validation/test split with seed 42. Split sizes: {'train': 37334, 'validation': 4666, 'test': 4668}. AdamW, learning rate 2e-05, 5 epochs, batch size 32, maximum 256 tokens, dynamic padding. The baseline is logistic regression on frozen sentence embeddings.
Limitations
Performance measures this historical corpus, not current generators or unseen domains. Text is truncated at the maximum sequence length. Dataset style artifacts can influence predictions. Do not use this model as evidence of student misconduct.
Inference
from transformers import pipeline
classifier = pipeline("text-classification", model="space-xun/hw1-hc3-detector")
print(classifier("An answer to classify.", truncation=True, max_length=256))
- Downloads last month
- 7
Model tree for space-xun/hw1-hc3-detector
Base model
nreimers/MiniLM-L6-H384-uncased