pangboo/hw1-hc3-detector
HW1 HC3 Detector
This model classifies English answer text as human-written or ChatGPT-generated. It was fine-tuned from sentence-transformers/all-MiniLM-L6-v2 with a two-class sequence classification head for CS546 Homework 1.
Repository: https://huggingface.co/pangboo/hw1-hc3-detector
Labels
Only answer text is used as input; questions are excluded from the model input.
Evaluation results
Both models were evaluated on the same held-out HC3 test split of 4,668 answers.
Dataset and preprocessing
The retained 23,334 question pairs are sorted by normalized question text, shuffled with seed 42, and split by question before answers are flattened. Answers associated with the same question therefore remain in the same split. Each split contains equal numbers of human and ChatGPT answers.
Training
The baseline uses frozen 384-dimensional SentenceTransformer embeddings and scikit-learn LogisticRegression(random_state=42) with its remaining defaults.
The fine-tuned model updates all encoder parameters and the classification head using the following settings:
The final model is the checkpoint after five epochs. The training loop does not use early stopping, a learning-rate scheduler, or validation-based checkpoint selection.
