Spaces:
Running
Running
|
Download README.md from AmiriHayes/sae-program-viewer: direct link, hf CLI and curl.
- Browser
- Download file 1.44 kB
-
https://huggingface.co/spaces/AmiriHayes/sae-program-viewer/resolve/main/README.md
- Command line
-
hf download hf://spaces/AmiriHayes/sae-program-viewer/README.md
-
curl -L -o README.md https://huggingface.co/spaces/AmiriHayes/sae-program-viewer/resolve/main/README.md
1.44 kB
| title: SAE Program Viewer | |
| emoji: π | |
| colorFrom: indigo | |
| colorTo: gray | |
| sdk: static | |
| pinned: false | |
| license: mit | |
| short_description: Browse 1,167 GPT-2 SAE features and their programs | |
| # SAE Program Viewer | |
| Browse **1,167 scored GPT-2 small SAE features**: the program synthesised for | |
| each one, the 100 examples the agent saw, and the full round-by-round | |
| transcript of how it got there. | |
| This is the **browse-only** build. The live check β type a sentence and see the | |
| real SAE activation and the program's prediction at every token β needs the | |
| local backend, which loads GPT-2 and the SAEs; a static Space has no server to | |
| run them on. The page detects that at load and hides the panel. | |
| ## What you're looking at | |
| Each feature has a program fitted to predict when it fires, compared against | |
| `Plan A`, a library of nine hand-written program shapes. `win` / `loss` / `tie` | |
| is the agent's test F1 against Plan A's at a Β±0.01 margin. | |
| - **Model** GPT-2 small Β· **SAEs** `gpt2-small-resid-post-v5-32k` (OpenAI v5, TopK k=32) | |
| - **Layer mapping** viewer layer `L` reads `blocks.{L-1}.hook_resid_post` | |
| - **Firing** `sae.encode(resid[:, 2:, :]) > 0` | |
| - **Scored positions** start at index 2; index 0 is the BOS attention sink | |
| Programs come from the untruncated source that passed a position-level | |
| faithfulness check (73,521,000 comparisons, 0 mismatches). All 1,167 | |
| transcripts were verified to belong to their feature before publishing. | |