Separate stylistic formality from synthetic probability offline (~213 MB combined):
Stage 1 (onnx-community/tmr-ai-text-detector-ONNX, upstream
Oxidane/tmr-ai-text-detector, 125.86 MB q8, MIT) estimates AI vs Human
stylometry, and Stage 2 (Xenova/nli-deberta-v3-xsmall, 87.3 MB q8,
MIT, reusing ../zero-shot-text/worker.js with dynamic
res.classNames NLI mapping) classifies discourse register to flag formal-prose false-positive risk.
Why Pair Detector Score with Register NLI: Legal boilerplate, academic abstracts, and
formal ESL cover letters naturally score high on uniformity. Cross-checking against discourse register
helps reviewers distinguish genuine formulaic AI traits from formal human genres.
1. Two Independent On-Device Models (213.16 MB Total)