The AI model development lifecycle
It's the SDLC — same nine-phase loop, same reason it's drawn as a circle and not a line. The labels change (Data instead of Analysis, Train instead of Implementation), but the shape is identical: plan, build, ship, watch, and feed what you learn back into the next pass.
Every stage below links to where this project actually did it — and names honestly the two stages it didn't.
Decide what to build and why — in our case, a model from scratch, on one machine, specifically so every later stage would be inspectable rather than a black box.
Honest gap: this stage has no dedicated page. It's the conversation that started everything else, not an artifact.Gather and understand what the model will actually learn from — 40,000 lines of real Shakespeare, and the 65-symbol dictionary built directly from it.
Choose the architecture: token + position embeddings, six attention blocks, a final projection to logits — the actual equations behind every layer.
Run the actual training loop: 5,000 real steps, loss falling from 4.2886 to 0.9795, on one GPU.
Sample real output, check it against held-out text. Testing caught a real defect here: validation loss stopped improving around step 3,750 while training loss kept falling — the model had started memorizing, not generalizing.
Convert the trained checkpoint into a format something else can run — GGUF, hand-mapped tensor by tensor. Two real bugs surfaced and got fixed here.
Ship it somewhere it can actually be run — a three-line Modelfile, ollama create, and it behaves like any other local model.
Watch what the running model is actually doing — and this is where almost this entire project lives. Real computation graphs, real GPU kernels, real sampling probabilities, real gaps named honestly where nothing readable exists.
Take what monitoring revealed and feed it back into the next pass — here, that would mean retraining with early stopping around step 3,750, or fixing the dropped lm_head bias from the GGUF conversion.
The SDLC stopped being drawn as a straight line decades ago for the same reason this diagram is a circle: Monitor isn't the end. What it reveals — a real overfitting point, a real dropped bias term — is supposed to feed back into Data and Train for the next pass. This project walked eight of the nine stages for real. The ninth, Iterate, is exactly the honest, named gap that's left.