The Model Core's screen

Experimental alpha. Expect breaking changes and major bugs. Your feedback is much appreciated.

The Model Core's screen

Use a Model Core to open it. Its tabs take a model from its data to its tests; The Model Core tells how they go together.

Data: what the model practises on, and where it is kept.

  1. The tabs: The screen's views. It opens on the one you left it on.

  2. Practice: Datasets or an Archive Drive for the model to practise on.

  3. Tokenizer: A Tokenizer here sets the tokens the model reads and writes. Without one, it reads one character at a time. Changing it reshapes the first and last layers, so they start over.

  4. Checkpoint: A checkpoint here takes the trained model when you save. A saved one shows what it can do.

  5. Save to checkpoint: Tests the model on every benchmark and keeps it, scores and all, in the checkpoint.

  6. What it practises: Each benchmark what is loaded lets it practise, and the job that benchmark is used for.

  7. Status: What the Core is doing, and how many steps the model has trained.

Train: the model learning, step by step.

  1. The curve: Train loss in teal, test loss in amber, accuracy in green, against the steps trained. Point at it to read any step.

  2. Where it stands: The numbers the curves end at. Point at them for its parameters, gradient norm and threads.

  3. Train: Starts training, and stops it.

  4. Reset: Starts the model over from fresh weights.

  5. Check: Reads the model's machines again and lists anything wrong with them.

  6. Speed: Watch slows each step down so you can follow it; Max trains as fast as the Core can.

  7. Learning rate: How far each step moves the weights. Too high and the loss jumps about; too low and it barely moves.

  8. Batch: How many examples each step learns from at once.

  9. Clip: The longest a step's gradient may be, so one bad batch can't throw the model off course.

Tests: how the model does on what it has not practised.

  1. A benchmark: One line for each: its name, a bar toward what passes, and its score, green once it passes. Scroll for the rest. Point at a line for its job, when it was tested and how its test goes. Click it for its runs from fresh seeds, a look-alike of its test and the server's leaderboard: Comparing Models tells how they go.

  2. Test all: Runs every test now.

  3. Save to checkpoint: Tests the model on every benchmark and keeps it, scores and all, in the checkpoint.

Scroll through the Tests tab to see every benchmark.

  1. A benchmark: Each row opens its comparison when clicked.

  2. The scroll bar: Shows which rows are in view. Scroll over the list or click the bar to move through it.

Click a benchmark to compare its test, fresh runs and the server's designs.

  1. The comparison: The score on its test and on a look-alike with other items. A warning means its test flatters it beyond chance.

  2. Fresh seeds: The spread of runs from fresh weights and batches, with the previous design below when there is one.

  3. The server's board: The leading designs, their makers, scores and sizes. Point at one for its machines.

  4. The distributions: How the server's designs spread by score and size, with this model marked in amber.

  5. Back: Returns to the benchmark list.

Try: the model answering.

  1. Benchmark: Which benchmark to try it on.

  2. Example: Draws a fresh example from the test and has the model answer it. Where you can type, this asks or writes instead.

  3. Its answer: Grey is what the model was shown, white is what it wrote. The bars show its odds for the first token it chose; ⏎ is a line break.

Inspect: the model's machines, a line each.

  1. Its machines: Each machine with its name, the shape of what it puts out, its parameters and how much gradient reaches it. Anything wrong comes first, in red.

Recipe: how a run goes beside its learning rate.

  1. The settings: Each is dim until the unit for it touches the Core. The Recipe says what each does.

  2. What the run is doing: The rate now, what the weights take, the text read, the spikes, the largest scores and how often a second head is right. Point at one for what it means.

  3. The rate over the run: What the learning rate is multiplied by from the first step to the last, with a line where the run has reached.

  4. The units: Lit if one touches the Core, directly or through accelerators and other units. Point at one for what it opens.

  5. Schedule: How the learning rate moves over a run: held steady, falling along a cosine from the end of warmup, or held and falling over the last fifth. A falling one needs a Length.

  6. Warmup: How many steps the rate takes to rise to its full size.

  7. Length: How many steps a run lasts, after which it stops by itself. With no end it runs until it is stopped.

  8. Precision: What the model's matrices, and the numbers going into them, are rounded to, in training and whenever it answers afterwards. The narrower, the fewer bytes a weight takes.

  9. Optimizer: What moves the weights: AdamW, each number on its own, or Muon, each matrix inside the model as a whole, every direction alike.

  10. Packing: How archive text is cut into rows: windows of long stretches only, rows packed from every stretch, or packed with a mask so that nothing looks from one stretch into another.

Compute: what the run really costs, and how it shares out its work.

  1. The run: How it shares out and on how many devices, its memory against what has to hold it, its flops a second, its power and PUE, and what it has spent so far.

  2. The last step: What each device did through the last step: teal forward, amber back, violet collectives. Where it is dark it waited: with pipeline parallelism, those are its bubbles.

  3. Sharing out the work: How a run shares its work among its devices. It takes effect when the next run starts.