LYCEUMAI

News

The lab journal — dated milestones from building a neural-network framework from zero, newest first. Each entry links to the evidence it produced.

est. 2026-08-189 modules60k epochs verified
  1. The site becomes part of the evidence

    Lyceumai.dev redesigned as an editorial research journal — single warm light theme, serif statements, and every number on every page rendered from the same abort()-on-fail gates that verify the code. Custom 404, error boundary, robots and sitemap ship alongside.

    See the research
  2. Grokking, at full scale

    The complete 30k-epoch grokking reproduction lands: MLP 28→128→14 on all-but-diagonal (a+b) mod 14 pairs, both weight decays run to completion. Held-out accuracy reaches 1.00 at epoch 9,000 (wd=1.0) and 25,000 (wd=0.3) — stronger decay crosses first, matching the reference ordering.

    Read the curves
  3. MiniGPT fits through real attention

    Stage C closes: Embedding, LayerNorm, causal SDPA, multi-head attention, TransformerBlock — each with its numeric gradient check. MiniGPT (Embedding + learned positions + 2 blocks + seq head) fits a period-8 char grammar at train 97.7%, held-out 94.5%.

    Model results
  4. The engine turns over

    Arena autograd and optimizers land in the same window: a dynamic Graph of Value nodes with backward dispatch, then SGD, momentum, Adam, and AdamW with decoupled weight decay. The generic trainer follows — fit/predict/evaluate over any model meeting the NNBase trait.

    How an epoch runs
  5. First principles, first tensors

    The ml/ package takes shape: extended Tensor ops on row-major Lists of Float64, cross_entropy / mse / binary_cross_entropy losses, and the synthetic-task dataset layer with deterministic LCG shuffling. Every op ships with its central-difference gradient check from day one.

    Module by module