Skip to content

Multi-model · 113.5 MB Combined CPU WASM · 2 Independent Web Workers · CC-BY-NC-4.0 + Apache-2.0

2-Stage Pipeline: Redpen Slop 11M → DistilBERT SST-2 Tone & Readability Audit

Stage 1 — dempfi/redpen-slop-11m (45.2 MB fp32 WASM, CC-BY-NC-4.0) detects AI-slop cliché spans per sentence. Stage 2 — built Xenova/distilbert-base-uncased-finetuned-sst-2-english (68.3 MB q8 WASM, Apache-2.0, reusing models/distilbert-base-uncased-finetuned-sst-2-english/worker.js) scores emotional polarity and logit margin alongside readability to separate melodramatic slop from restrained human craft.

Stage 1 · Redpen Slop 11M (45.2 MB WASM fp32)

dempfi/redpen-slop-11m · text-classification · CC-BY-NC-4.0

Stage 2 · DistilBERT SST-2 Tone (68.3 MB WASM q8)

Xenova/distilbert-base-uncased-finetuned-sst-2-english · text-classification · Apache-2.0

1. Editorial Manuscript & 2-Stage Pipeline Controls

0.70

Initialise both local CPU WASM models above (113.5 MB combined) to run the live 2-stage Slop → Tone editorial audit.

2. Fused Sentence-by-Sentence Audit (Slop Spans + Tone Polarity + Readability)

Run both stages to combine Redpen Slop 11M red-pencil underlines with DistilBERT SST-2 tone polarity and Flesch reading ease.

3. Inspect Stage 2 Worker Bridge & Editorial Fusion Code

Show the code · redpen.js — Sst2ToneStageClient (reusing built DistilBERT SST-2 worker)
Show the code · redpen-core.mjs — fuseSlopAndTone() (Stage 1 slop + Stage 2 sentiment diagnosis)