upload cortexa-write-scorer v1
Browse files
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: other
|
| 5 |
+
license_name: pleius-internal
|
| 6 |
+
tags:
|
| 7 |
+
- text-classification
|
| 8 |
+
- writing-feedback
|
| 9 |
+
- creator-tools
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# cortexa-write-scorer (v1 — worker stub, no weights)
|
| 13 |
+
|
| 14 |
+
Production scorer for Pleius Write. **There are no model weights in this
|
| 15 |
+
repo.** Write's launch backend is a deterministic lexical/structural
|
| 16 |
+
feature extractor implemented in TypeScript inside the
|
| 17 |
+
`cortexa-proxy` Cloudflare Worker — version-tagged
|
| 18 |
+
`write-worker-stub-v1`. It is a pure function of the input text (no
|
| 19 |
+
network, no learned parameters), so identical text always yields the
|
| 20 |
+
same scores.
|
| 21 |
+
|
| 22 |
+
## Why no ONNX?
|
| 23 |
+
|
| 24 |
+
Write's iter54 model concept (LC=66.90% on the LM-arena benchmark) was
|
| 25 |
+
implemented as a worker-side approximation for launch: TF-IDF word
|
| 26 |
+
8k + char 8k surrogates, per-family logic, meta-blend across pillars. A
|
| 27 |
+
neural Write scorer is a planned follow-up but not yet trained.
|
| 28 |
+
|
| 29 |
+
## Pillars produced
|
| 30 |
+
|
| 31 |
+
- `read_likelihood` — will a reader start AND keep going? Flesch
|
| 32 |
+
reading-ease analog + type-token ratio + word length.
|
| 33 |
+
- `hold` — structural variety. Sentence-length coefficient of variation
|
| 34 |
+
(monotone cadence loses attention).
|
| 35 |
+
- `structure` — paragraph density / transition-word density / discourse
|
| 36 |
+
marker frequency.
|
| 37 |
+
- `score` (overall) — meta-blend: `0.4·read + 0.4·hold + 0.2·structure`.
|
| 38 |
+
|
| 39 |
+
## Where the code lives
|
| 40 |
+
|
| 41 |
+
Worker source: https://github.com/matthewf725/Perspecting/blob/main/research/cortexa_trm/unified/product/proxy/src/index.js
|
| 42 |
+
(function `scoreWriteStub`)
|
| 43 |
+
|
| 44 |
+
Python port for offline distillation:
|
| 45 |
+
https://github.com/matthewf725/Perspecting/blob/main/research/distill_students/write_scorer.py
|
| 46 |
+
|
| 47 |
+
## Surface
|
| 48 |
+
|
| 49 |
+
`POST /predict/write` on `cortexa-proxy` Cloudflare Worker.
|
| 50 |
+
|
| 51 |
+
## License
|
| 52 |
+
|
| 53 |
+
Pleius internal — see https://pleius.com. Not for redistribution.
|