Long posts, article channel, write-path README - #45
Merged
Conversation
Post length targets now use linkedin_post p75/p90 (LinkedIn ~3k-char ceiling). write --channel article outlines, drafts sections, and stitches. build-writer-sft / train --writer / write --adapter wire a brief→post LoRA without making the translator the product path. README matches. Co-authored-by: Cursor <cursoragent@cursor.com>
MLX train persists weights under adapters/latest; write --adapter must load from there. Co-authored-by: Cursor <cursoragent@cursor.com>
Quickstart, workflow, and hardware notes now describe ingest → index-voice → build-style-profile → write, which needs no training run: write loads base MLX weights with adapter=none. Regenerate docs/images/cli-shipped.png, which still showed `train --proof` + `filter` as the shipped path, as a Contoso-safe `write` shot (post + --channel article, adapter=none). Move build-writer-sft/train, --adapter, filter/compare/select, and scripts/beast_demo.sh under Advanced (optional), where the adapter is only kept if eval-write-holdout beats the default on holdouts. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
linkedin_postp75/p90 length (LinkedIn ~3k-char / ~550-word ceiling).write --channel articleruns outline → sections → stitch with article-only retrieval (floor: 5 articles).build-writer-sft/train --writer/write --adapterare optional plumbing on the RAG path;writedefault staysadapter=none.ingest → index-voice → build-style-profile → write [--channel post|article]; train/filter/adapter moved to Advanced (optional).docs/images/cli-shipped.pngregenerated: it previously showedtrain --backend mlx --proof+filterlabeled as the shipped path. New shot is Contoso-safewriteoutput withadapter=none.Test plan
pytest(269 Contoso-safe)bash scripts/sanitize_check.shpersonality-protect write --topic "Contoso Ledger exceptions" --points "- Name one owner"personality-protect write --channel article --topic "Contoso Ledger guide" --points "- Name one owner"(≥5 articles)personality-protect eval-write-holdout --out receipt.jsonbefore keeping any adapter