Analysis updated 2026-06-24
Visualise which SAE features fire on a custom prompt to teach mechanistic interpretability
Explore Neuronpedia-labeled GPT-2 layer 8 features through a 3D node graph
Inspect peak activations and neighbors for a specific feature index during generation
Swap in Pythia, Gemma, or Mistral to study SAEs across different base models
| 09catho/axon | abdulrdeveloper/react--tic-tac-toe | aycanozarpaci/seo-pro-max-skill | |
|---|---|---|---|
| Stars | 13 | 13 | 13 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | moderate | easy | easy |
| Complexity | 4/5 | 1/5 | 2/5 |
| Audience | researcher | developer | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
First run downloads GPT-2 and an SAE from HuggingFace, CPU works but is ~900 ms per token, so a CUDA GPU is strongly recommended.
AXON is a tool for watching a language model think in real time. It runs a small version of GPT-2, the language model from OpenAI, and as the model generates each token of text, it shows you which internal concepts inside the model are firing. The result is a live, interactive 3D graph in your browser where each glowing point is a concept and connections appear between concepts that activate together. The technique behind this comes from an area called mechanistic interpretability. A Sparse Autoencoder, or SAE, is a separate small neural network that has been trained to break a language model's internal state into a long list of features that are each meant to stand for one human-readable concept. AXON hooks into GPT-2 at layer 8, takes the model's hidden state for each new token, passes it through an SAE from a library called SAELens, picks the top features, and looks up labels for them from a public website called Neuronpedia. It then streams the token, the features, and their activation strengths to the browser over a WebSocket. The interface, built with Three.js and 3d-force-graph, draws features as nodes and co-activating features as edges. Node size and brightness grow with activation strength and slowly fade. Clicking a node flies the camera to it and opens an inspector showing the feature index, label, current and peak activation, neighbors, and a link to its Neuronpedia page. A sidebar exposes generation knobs like temperature, top-K, top-P, repetition penalty, max tokens, feature top-K, and an activation threshold. To run it you need Python 3.11 and at least 8 GB of RAM, with a GPU strongly recommended. You clone the repo, create a virtual environment, install requirements, and run server.py, then open http://127.0.0.1:8000. The first run downloads GPT-2 and the SAE from HuggingFace. There are instructions for installing the CUDA build of PyTorch, a timing table showing roughly 35 ms per token on an RTX 4050 down to 900 ms on a CPU, and a guide for swapping in other supported models like GPT-2 medium, large, XL, Pythia, Gemma, Mistral, and LLaMA-2 by editing a few constants at the top of server.py.
Live interpretability tool that streams GPT-2's internal SAE feature activations into a 3D browser graph as the model generates tokens. Built on SAELens and Neuronpedia labels.
Mainly JavaScript. The stack also includes Python, PyTorch, SAELens.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.