Get it
LensLapse
on GitHub Pages
An open-source, zero-backend web tool that lets users scrub across training checkpoints and watch logit-lens predictions evolve layer by layer, with live in-browser inference for small models and precomputed views for larger ones.

Going deeper

| Top-1 agreement (all / final layer) | ||||
|---|---|---|---|---|
| Format | step 8k | step 64k | step 143k | MB |
| fp32 ONNX | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 283 |
| int8 (tensor) | .90 / .88 | .73 / .69 | .61 / .52 | 71 |
| int8 (channel) | .93 / .95 | .78 / .85 | .74 / .71 | 72 |
| fp16 (ours) | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 142 |
Imagine watching a student study for an exam by peeking at their scratch notes every few days. Early on, the notes are full of common words and wild guesses. Slowly, real answers appear, disappear, and sometimes come back. That is what this tool lets you do with a language model's internal layers across its entire training.
Existing tools let you peek at the notes only once, for the finished student, and they require a server in the back room to do the work. LensLapse moves the work to your own browser — no server, no account, no data leaving your laptop. You slide a time bar across dozens of training snapshots and watch predictions flicker and settle, cell by cell.
The engineering trick is packing each snapshot into two small files — one for the brain, one for the answer sheet — stored as half-size numbers that still give identical top answers. A quiz built into the export pipeline checks every snapshot before shipping. The tradeoff: only small models fit in a browser. Bigger ones get a set of pre-drawn snapshots, or a lightweight local helper.
The abstract, word for word, with the seven densest phrases unpacked.
The logit lens is a standard mechanistic interpretability tool1 for inspecting a Transformer’s predictions across layers. However, existing logit lens tools typically focus on individual checkpoints2 rather than interactive exploration of a model’s training history. In this study, we introduce LensLapse, an open-source web application for interactive exploration of a model’s training history through token-level interpretability. Users can scrub a slider across public checkpoints from five model families and three multilingual checkpoint suites3 and observe how per-layer, per-position logit lens predictions evolve from frequency bias to factual knowledge4. For browser-compatible models, arbitrary user prompts are probed live in the browser via local inference5 over per-checkpoint model pairs. No server, no API key, no hosting cost6, and prompts never leave the user’s device. Moreover, LensLapse supports local models. A single pip install enables users to launch the application and explore their own models7 and training checkpoints without any additional web setup. LensLapse is MIT-licensed and permanently hosted at https://iamtatsuki05.github.io/lenslapse/.,,,
Two lines of prior work converge at this tool: interpretability lenses and open checkpoint suites.
Read in this order to understand the tool and what it shows.
Skip Section 2 if you know the logit lens and Pythia checkpoints.
If the tool's fidelity claims do not hold, or its scope is narrower than it seems, check here.
| Top-1 agreement (all / final layer) | ||||
|---|---|---|---|---|
| Format | step 8k | step 64k | step 143k | MB |
| fp32 ONNX | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 283 |
| int8 (tensor) | .90 / .88 | .73 / .69 | .61 / .52 | 71 |
| int8 (channel) | .93 / .95 | .78 / .85 | .74 / .71 | 72 |
| fp16 (ours) | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 142 |
In the production browser implementation (WebGPU), live probing matches the fp32 PyTorch precomputed results on all 56 evaluated cells, with a maximum absolute probability difference of 5.5×10-4. The ONNX-free probe server (fp32 by default) also achieves identical top-1 predictions on all 56 cells. By comparison, an fp16 server-side forward pass already flips 5 of the 56 predictions at step 143k, and lower-precision execution is therefore supported only as an explicit opt-in. In addition, capturing raw block outputs avoids double normalization of the final hidden state. Further details are provided in Appendix B. However, numerical fidelity does not establish interpretive reliability: intermediate-layer predictions can be brittle (Belrose et al., 2023). Tuned-lens support and cross-family validation of interpretive reliability remain future work.
| Browser | EP | Model | Thr. | Load c/w | Probe f/w |
|---|---|---|---|---|---|
| Chromium | WebGPU | 70M | 1 | 1052 / 295 | 157 / 70 |
| Chromium | WASM | 70M | 1 | 935 / 230 | 155 / 127 |
| Chromium | WebGPU | 70M | 4 | 3224 / 1066 | 488 / 233 |
| Chromium | WASM | 70M | 4 | 2821 / 888 | 632 / 530 |
| Chromium | WebGPU | 14M | 1 | 566 / 106 | 149 / 63 |
| Chromium | WASM | 14M | 1 | 509 / 84 | 94 / 66 |
| Chromium | WebGPU | 160M | 1 | 1799 / 590 | 237 / 134 |
| Chromium | WASM | 160M | 1 | 1610 / 489 | 352 / 316 |
| Firefox | WASM | 70M | 1 | 2404 / 2850 | 2320 / 1399 |
| WebKit | WASM | 70M | 1 | 644 / 203 | 160 / 125 |
| Chromium | WebGPU | 70M† | 1 | 1045 / 279 | 310 / 205 |
| Chromium | WASM | 70M† | 1 | 916 / 231 | 509 / 453 |
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all