Skip to content
#

residual-stream

Here are 12 public repositories matching this topic...

Configurable character-level transformer training suite with built-in mechanistic interpretability toolkit — scale to 150M+ parameters and beyond, no ceilings, only hardware limits. Inspect attention weights, hidden states, and head specialisation across all layers. Documented circuit findings included.

  • Updated Jul 4, 2026
  • Python

Measurement harness and raw data: a cheap robust statistic, sigma_med*sqrt(d), predicts the tolerance boundary of additive interventions in language models. Kappa stays in [0.2, 1.2] across 11 checkpoints and 6 architectures, while raw boundaries span ~4600x.

  • Updated Jul 19, 2026
  • Python

An empirical study probing the residual stream vectors of google/gemma-2-2b-it during contrastive corporate finance compliance constraints. Features a native PyTorch layer-tracking notebook and an interactive 4-column Streamlit web dashboard analyzing geometric activation divergence deltas.

  • Updated Aug 13, 2026
  • Jupyter Notebook

Do LLMs encode "I'm being shut down" differently from "another model is shut down"? A 10-model residual-stream study — and a cautionary tale: the naive difference-of-means result looks strong (10/10), but honest placebo controls show it's largely trivial. Negative result, useful method.

  • Updated Aug 6, 2026
  • Python

Improve this page

Add a description, image, and links to the residual-stream topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the residual-stream topic, visit your repo's landing page and select "manage topics."

Learn more