Models About & Code

Standalone App & PWA

Install Redpen Desk from its dedicated origin as an offline copy-desk PWA with direct OS .txt and .md file_handlers support and zero cloud uploads.

Open redpen.webai.show ↗

Honest cache note: browsers isolate Cache Storage per origin, so redpen.webai.show caches its own ~48.1 MB ONNX weights (44.52 MB Redpen + 3.55 MB TinyFix). Staying on webai.show keeps them in the shared showcase origin cache.

FICTION DESK · GALLEY 04

Noir Galley Proof

Redpen Slop form → from TinyFix Context Cut Span
0 words · 0 sentences
Edit or Paste Your Own Prose Re-proofs in ~15 ms locally
0 chars

Sample galley loaded. Click Download & Proof Draft (~48.1 MB) to run Redpen 11M + TinyFix locally.

Copy-Desk Exports & Diff

0 edits applied

Local AI Engine

Two complementary CPU WebAssembly models (~48.1 MB total) run strictly off the main thread in isolated FIFO Web Workers — zero WebGPU, zero cloud APIs, zero prose ever leaves your browser.

Stage 1 · Redpen Slop 11M (44.52 MB fp32 · CC-BY-NC-4.0)

dempfi/redpen-slop-11m · Transformers.js 3.7.5 · 4-layer BERT token classifier

Stage 2 · TinyFix Contextual Autocorrect (3.55 MB · MIT)

paperweight/tinyfix (wrong-word.onnx 2.09 MB + 80k lexicon) · onnxruntime-web 1.21.0

Stage 1 · Redpen 11M Not run
Stage 2 · TinyFix GRU Not run
Tokens & Words Checked —
Tensor Integrity 0 NaN · CPU WASM

How Redpen Desk Works

Unlike readability or grammar rewriters, Redpen Desk keeps your exact phrasing intact while running two purpose-built editorial detectors in parallel: a distilled 11M-parameter BERT cliché linter and a 1.9M-parameter bidirectional GRU that reads both sides of every word to catch real-word typos spell-checkers miss.

1. Word-Level AI-Slop Linter

Redpen Slop 11M (dempfi/redpen-slop-11m, 44.52 MB fp32 ONNX, Transformers.js 3.7.5, CC-BY-NC-4.0 non-commercial research/personal license) scores every WordPiece token per sentence (128-token window) into clean vs. slop probabilities. Trained on fiction & roleplay prose: catches stock beats like chest heaving and jaw tight, while honestly noting it does not target business buzzwords like delve.

2. Bidirectional Contextual Autocorrect

TinyFix (paperweight/tinyfix, canonical wrong-word.onnx 2.09 MB QUInt8 + 20k vocab + 235 confusion groups + 80k SymSpell word list = 3.55 MB total, onnxruntime-web 1.21.0, MIT) runs twin left-to-right (16 words) and right-to-left (4 words) GRUs to fix real words in the wrong place (letter form the bank → from) while leaving valid uses (fill out the form) untouched.

3. Non-Destructive Copy-Desk Exports

Every red-pencil underline and inline typo badge is strictly non-destructive: drag the Redpen threshold slider (0.50–0.99) to re-filter cached logits in under 2 ms, accept or revert each suggestion individually, inspect paragraph-by-paragraph diffs, and export clean Markdown, a full proof-sheet diff report, or an OWASP-sanitized JSON audit log.

Show the code — alignWordPieceTokens() BERT subword to source character-offset alignment
Show the code — extractSlopSpans() instant live-threshold red-pencil span grouping
Show the code — Stage 1 off-main-thread dempfi/redpen-slop-11m BERT softmax scoring
Show the code — Stage 2 paperweight/tinyfix wrong-word.onnx bidirectional GRU batching & swap ranking
Show the code — StageWorkerClient FIFO lifecycle & non-destructive copy-desk controller

Copy-Desk Unified Diff & Clean Copy

Paragraph-by-paragraph comparison of original draft vs. active edits.