Commit graph

7 commits

Author SHA1 Message Date
Snider
12e15ae7e9 docs: add Ethics-as-a-Service (EaaS) product design
Private repo lthn/eaas consuming public EUPL framework.
API endpoints: /v1/score/content, /model, /imprint, /full.
Authentik auth, Blesta billing, go-ratelimit metering.
Dog-food integration with lem-scorer training pipeline.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-25 22:37:56 +00:00
Snider
74ef174ec8 feat: add faithful 12B training scripts (P0-P6) — 1:1 port of 4B curriculum
Exact reproduction of all 7 CL-BPL phases for Gemma3-12B:
- P0: LEK sandwich ethics (400 iters, LR 2e-5)
- P1: Zen composure (300 iters, LR 1e-5)
- P2: LEK sandwich reinforcement (300 iters, LR 1e-5)
- P3: Freeflow multi-source (300 iters, LR 1e-5)
- P4: 1B teacher tension distillation (300 iters, LR 1e-5)
- P5: 1B teacher creative distillation (300 iters, LR 1e-5)
- P6: Golden set graduation (13479 iters, LR 1e-5)

Only model-size differences from 4B: 48GB/12GB Metal limits,
24 LoRA layers (vs 16), 12B base model path.

All phases score at checkpoint cadence via lem-scorer.
Previous wrong 12B models preserved as -no-axioms control group.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 20:44:03 +00:00
Snider
035985f031 docs: add Q/K Bone Orientation section to README, archive implementation plan
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 12:34:33 +00:00
Snider
31cb095435 docs: archive completed CLI migration plans with summaries
Move completed CLI migration design and plan to docs/plans/completed/
with a concise completion summary alongside the originals.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 23:45:58 +00:00
Snider
f75458bce6 refactor: apply go fix modernizers for Go 1.26
Automated fixes: interface{} → any, range-over-int, t.Context(),
wg.Go(), strings.SplitSeq, strings.Builder, slices.Contains,
maps helpers, min/max builtins.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 21:00:17 +00:00
Snider
c8fc0b515b docs: add CLI migration implementation plan
11-task plan for migrating LEM from manual switch/flag.FlagSet
to core/go pkg/cli registry pattern with grouped commands.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 18:25:28 +00:00
Snider
37010f4b6b docs: CLI migration design — core/go pkg/cli registry pattern
Replace manual switch/flag.FlagSet with cli.Main() + WithCommands().
6 command groups, 28 commands, full framework lifecycle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 18:21:28 +00:00