Experimental alpha. Expect breaking changes and major bugs. Your
feedback is much appreciated.
Residual
Someone lived in this world before you. They are no longer here, but traces of them still remain in the ruins. Most mysteriously, they seemed to have built machines that thought.
These are field notes on building models again: language models made of machines that each do one operation, cabled into a network, trained on text, and tested on text they have never seen. A model that knows what the blocks around it will do next lets a Forecaster run them ahead of time. Others carry on a pattern, tell what a thing is by its name, turn what you say into programs for agents, and read what the old world wrote.
Start here
- Getting Started: a first model, and furnaces that run four times as fast.
- The Bench and the Fabricator: machines wired from the smallest operations there are.
- Ruins: where the old world's things are.
- Milestones: every advancement, lit once you have made it, and how to make the rest.
Models
- The Archive: shards, drives, and restoring what was lost.
- The Bench and the Fabricator: designs wired from primitives, and the machines made from them.
- The Model Core: where models are built, trained, tested and saved.
- Tokens: the BPE Forge, and vocabularies learned from the archive.
- The Refinery: a hall of machines that turns the raw traffic of fallen masts into a counted supply of tokens, and measures what each machine was worth.
- Training: reading a loss curve, and the settings that shape it.
- The Recipe: how a run's rate moves, what its numbers are rounded to, what moves its weights.
- The Modern Block: the layer the old world's last models seem to have been made of, and what each part of it does.
- Models and Tests: the benchmarks, checkpoints, and how big a model may be.
- Salvaged Models: broken models from the ruins.
Putting models to work
- The Forecaster: a model of the blocks around it, trusted only as far as it is right, runs them ahead.
- Agents: frames that run programs, with models where learning beats a rule.
- Programs: one language for agents and Ports, what it can do, how fast and how far, and how to watch it run.
- The Architect: agents that copy, move and repeat builds, read as letters a slice at a time.
- The Surveyor: a model that finds the ores in the ground around it, read a row at a time.
- The Stream Scope: what a model does inside, drawn over its machines.
- The Trial Rig: what can go wrong with a model, done on purpose to a copy of it.
- Comparing Models: how much of a score is luck, whether it has seen the test, and what everyone else made.
- The Arena: a model that has learned how a mob fights plays it in a chamber, for what the mob drops.
- Serving Models: Model Servers, relays, gates, links and the Terminal.
- Tuning: changing a model that has finished practising, by what you choose and what a checker can verify.
- Thinking Longer: many answers to a question, and how to keep the right one.
The base
- Storage: drives that keep any number of kinds, a terminal that finds anything, and Ports that move items between the network and every chest and machine, 1,280 a second.
- Power: generators from fire to steam to the sun, cables and cells, and a Smelter that makes two ingots from every ore, three with a controller.
- The Reactor: the most power there is, for a model that can hold it.
- Compute: process nodes, memory, racks and pods, and the ways of sharing out a run's work.
- Halls: cooling lines, what cooling costs, and a load you can read across the room.
- Flight: the flight frame, flown by a pilot you train.
- The Exosuit: armour with a quantized model on board, whose compute sets what the suit can do.
Reference
- Machines and Cables: how values travel between blocks.
- The Residual Stream: the running sum every transformer layer reads and adds to.
- Shapes: what [B×T×C] means, and how to fix a shape error.
- Screens: every screen, part by part.
- Machines, one page each.
Residual