A network that learns.
Watch a small neural network turn examples into a decision.
Small network. Visible decisions.
Output neuron
Probability of class 1 for the selected input.
Node values and connections come directly from the current weights.
The decision boundary
Teal = class 1 · orange = class 0. Click to probe an input.
Error over time
Full-batch gradient descent · deterministic seed 42 · 200 held-out examples
From words to the next token
Causal attention
Rows query columns. Future positions are masked to zero. Every row sums to one.
A distribution, then a choice
Greedy selection from the actual distribution. Unknown words map to <unk>.
Token activations
Select a checkpoint
Paper-answer synthesis with the Agent Kernel app's stage7947 checkpoint. Presets use synthetic evidence to probe behavior; edit the full prompt below.
Browser worker · float32 · maximum 64 tokens. Model assets load when you run.
Model response
Inside the encoder
Computed attention probabilities. These are observations, not causal explanations.
Activation fingerprint
Observed residual states from the actual forward pass. WebGPU runs BitNet linear operations; attention and other operations also use the CPU.
Encoder activations
Token decisions
Residual stream at the selected step
Checkpoint tensors & provenance
| Tensor | Shape | Parameters |
|---|
Change controls, then run. Quantization and optimizer experiments copy the current neural-network state.
Follow the concepts behind the computation
Declared prerequisites
Consumers
Atlas v2 draft · definitions and editorial status preserved from your local AI Dependency Atlas. Relationships are conceptual, not proof of implementation or model quality. Exports include the source hash.
Teaching interventions use the current weights. Trained head/neuron interventions target encoder block 1, using zero-based indices. Removal of residual connections is supported by miniature GPT.
Ready.
Learn from your text
8 hidden dimensions · two heads · one decoder block · all weights trainable. Adam, global gradient clipping at 1, deterministic 16-token chunks, maximum 5,000 updates. Reset learns a vocabulary from your text. Loss measures this corpus, not generalization.
Training loss · nats
Gradient RMS by parameter group
Live greedy continuation · current prompt
Six generated tokens from the current weights. Attention shows the current input; future positions are masked.
Training updates the model shown in GPT architecture and this graph.
Baseline
Select a node
Edges show tensor dependencies; inputs outside the selected scope are omitted. Node time is measured wall time including nested work where indicated. Native graphs show encoder operations and the first decoder step, with at most 16 rows × 24 columns sampled per tensor. Embedding lookup timing is unavailable on the native runtime.
Saved experiments
Up to 12 records. Checkpoints, inputs, model fingerprints, options and output are retained. Native weights are referenced by hash, not copied into saved files.
Small-model evaluation
Copying, key retrieval, sequence continuation and evidence-based QA. Exact match and token F1 are task scores. Loading, first-token latency and decoding speed are reported separately; failures remain visible. These small fixtures are diagnostic examples, not a general benchmark.