Repository navigation
v0.2.0: detector comparison and trained classifiers
Second study: Clef compared with Binoculars and a trained classifier on longer, held-out texts. Results are in results/comparison.md.
Assets
| File | What it is |
|---|---|
classifier-raid.tar.gz |
DistilRoBERTa (82M parameters) fine-tuned for one epoch on RAID human text and 2023-era machine text. Hugging Face format (config.json, model.safetensors, tokenizer). |
classifier-mirrors.tar.gz |
The same model after a short update on 264 texts from four current models, human forum posts and a RAID sample. |
To use them with this repository, extract each archive into RAW_DATA_DIR/models/ (so that models/raid/config.json exists) and run uv run python -m detecteval.classify raid mirrors. They load with AutoModelForSequenceClassification.from_pretrained(<folder>); label 1 is "AI". They read at most 512 tokens.
These are experiment artifacts, not a detector to rely on: the mirror-trained model flagged 19% of non-native TOEFL essays in testing. The base model distilbert/distilroberta-base is Apache-2.0; training data sources are listed in THIRD_PARTY_NOTICES.md.