ettin400m-purple v2 (GGUF)
AI purple prose / slop classifier, paragraph-level. Part of https://github.com/OrbFrontend/Chartreuse
What changed from v1
v1 (ettin150m-purple-GGUF) scored one sentence at a time, so it caught ornate sentences and missed modern LLM slop, where each sentence looks clean on its own and the problem only shows across the paragraph:
- filler and micro-beats (
A pause.You breathe.Just that. Nothing more.) - negation spam and "not X, but Y" constructions
- atmosphere and significance-signalling standing in for events
- camouflaged staccato and fragment rhythms
- stock house tics (
tilts her head,her voice drops,for half a heartbeat,lets the question hang, ...)
v2 takes one paragraph per input (no blank line inside; single newlines are fine), up to 512 tokens. It is fine-tuned from Ettin-400m. One-sentence paragraphs are in its training data too, so a single ornate line still scores as purple.
It also detects LLM provenance, on purpose. Every training negative is human-written. It gives nearly any LLM paragraph a high score (~0.85–0.91), slop or not. A tic or filler beat raises the score a bit, but scores among LLM paragraphs sit close together. Read it as "how far from human prose", not as a pure slop meter.
Files
| file | notes |
|---|---|
ettin400m-purple-v2-q8_0.gguf |
recommended |
ettin400m-purple-v2-f16.gguf |
reference precision |
threshold.json |
operating threshold 0.0599, calibrated to precision ≥ 0.90 |
chartreuse.json |
scoring unit (paragraph) and max_length (512) |
Labels: 0 = clean, 1 = purple_para. Mean pooling (classifier.pooling_type is in the GGUF).
Results
Test split, human-written negatives only: AUC 0.998. At the 0.0599 threshold, 6.4% of held-out human paragraphs are flagged. The threshold is low because every calibration negative is human, so for ranking or reward use, read the probability.
Both GGUFs match the torch model on 400 test rows (400/400 decisions agree; mean |Δp| 0.0013 for q8_0, < 0.0001 for f16).
Usage (llama.cpp)
Your llama.cpp build must read classifier.pooling_type. Older builds fall back to CLS pooling
without warning, and AUC drops to ~0.5.
llama-server -m ettin400m-purple-v2-q8_0.gguf -c 512 -b 512 -ub 512 \
--embeddings --pooling rank --flash-attn off
import json, math, urllib.request
def post(path, body):
req = urllib.request.Request(f"http://127.0.0.1:8080{path}", json.dumps(body).encode(),
{"Content-Type": "application/json"})
return json.loads(urllib.request.urlopen(req).read())
def p_purple(paragraph):
ids = post("/tokenize", {"content": paragraph, "add_special": True})["tokens"][:512]
a, b = post("/embedding", {"content": ids, "embd_normalize": -1})[0]["embedding"][0][:2]
return 1 / (1 + math.exp(a - b))
embd_normalize: -1 is required: without it every logit reads about 0.
Limitations
- Split documents on blank lines and score each paragraph separately. A long multi-paragraph input is out of distribution and dilutes the score.
- English only. Training is mostly roleplay-style prose.
- The labels come from LLM grading, not human annotation. The positives are mostly one model family's output.
- Once a phrase-level tic is learned, a writer can paraphrase around it.