Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
feature
int64
f1
float64
precision
float64
recall
float64
llm
int64
reads_context
int64
77
0.1913
0.2231
0.1674
1
0
91
0.6607
0.6904
0.6335
1
0
126
0.1984
0.1252
0.4774
1
1
129
0.1707
0.1544
0.1909
1
0
185
0.2447
0.1929
0.3347
1
0
289
0.0368
0.036
0.0376
1
0
347
0.6021
0.4812
0.8042
1
0
348
0.4155
0.4818
0.3652
1
0
385
0.5395
0.5993
0.4905
1
0
489
0.4393
0.3884
0.5054
1
0
509
0.1703
0.1045
0.4602
1
0
614
0.0402
0.0421
0.0385
1
0
643
0.6842
0.7735
0.6134
1
0
733
0.6389
0.6917
0.5935
1
0
739
0.1787
0.153
0.2149
1
0
875
0.7188
0.7555
0.6854
1
0
928
0.6228
0.6853
0.5708
1
0
943
0.027
0.0282
0.0258
1
0
959
0.9032
0.8966
0.9099
1
0
1,031
0.0569
0.0605
0.0536
1
0
1,077
0.3395
0.2711
0.454
1
0
1,129
0.2906
0.1704
0.9857
1
0
1,200
0.4449
0.5219
0.3876
1
0
1,224
0.3066
0.1837
0.9268
1
0
1,229
0.5256
0.7333
0.4096
1
0
1,235
0.0176
0.0432
0.011
1
0
1,277
0.0905
0.1339
0.0683
1
0
1,343
0.5957
0.7056
0.5154
1
0
1,364
0.6696
0.6667
0.6726
1
0
1,414
0.5746
0.643
0.5194
1
0
1,449
0.5882
0.6967
0.509
1
0
1,479
0.5935
0.6814
0.5256
1
0
1,498
0.086
0.2255
0.0531
1
1
1,668
0.411
0.5233
0.3383
1
0
1,925
0.0291
0.0258
0.0334
1
0
2,015
0.3817
0.4054
0.3606
1
0
2,127
0.833
0.8518
0.8151
1
0
2,131
0.5119
0.5584
0.4725
1
0
2,170
0.373
0.5133
0.2929
1
1
2,187
0.5802
0.8095
0.4521
1
0
2,240
0.7901
0.8727
0.7218
1
0
2,268
0.0769
0.0744
0.0795
1
1
2,321
0.8278
0.7622
0.9058
1
0
2,343
0.5134
0.4585
0.5832
1
0
2,363
0.6013
0.7077
0.5227
1
0
2,382
0.6839
0.74
0.6357
1
0
2,435
0.8634
0.8909
0.8376
1
1
2,582
0.7603
0.8889
0.6642
1
0
2,637
0.6382
0.5619
0.7387
1
0
2,644
0.6622
0.5478
0.8371
1
0
2,648
0.0439
0.0399
0.0488
1
0
2,722
0.6371
0.7054
0.5809
1
0
2,725
0.6202
0.7036
0.5544
1
0
2,741
0.4847
0.5556
0.4299
1
0
2,777
0.5914
0.679
0.5238
1
0
2,813
0.3062
0.2185
0.5115
1
0
2,924
0.5723
0.6471
0.513
1
0
2,995
0.2308
0.1394
0.6691
1
1
3,031
0.6645
0.8559
0.543
1
1
3,048
0.3316
0.321
0.343
1
0
3,117
0.0281
0.0323
0.0249
1
0
3,214
0.4408
0.4856
0.4036
1
0
3,220
0.5248
0.6016
0.4654
1
0
3,228
0.2462
0.2119
0.2938
1
0
3,271
0.4901
0.5184
0.4647
1
0
3,328
0.2589
0.2346
0.2888
1
0
3,332
0.7405
0.7605
0.7216
1
0
3,344
0.3629
0.4533
0.3025
1
0
3,471
0.1949
0.1083
0.977
1
0
3,551
0.1151
0.134
0.1009
1
1
3,674
0.3524
0.327
0.3821
1
0
3,678
0.6556
0.7417
0.5875
1
0
3,686
0.3229
0.2874
0.3683
1
0
3,700
0.6889
0.8535
0.5776
1
0
3,783
0.0816
0.0727
0.0929
1
0
3,841
0.0616
0.06
0.0632
1
0
3,893
0.2962
0.2591
0.3457
1
0
3,896
0.4545
0.697
0.3372
1
1
3,930
0.7373
0.8146
0.6734
1
0
3,951
0.1469
0.1302
0.1685
1
0
3,958
0.1028
0.055
0.7768
1
1
4,015
0.7242
0.8728
0.6189
1
0
4,099
0.1891
0.1051
0.9481
1
0
4,119
0.1032
0.0975
0.1096
1
0
4,197
0.8207
0.9108
0.7467
1
0
4,362
0.5944
0.7669
0.4853
1
0
4,407
0.2337
0.1992
0.2824
1
0
4,455
0.6014
0.6265
0.5782
1
0
4,536
0.0512
0.0488
0.0538
1
0
4,561
0.0788
0.0971
0.0664
1
0
4,622
0.6596
0.7632
0.5808
1
0
4,623
0.1553
0.1547
0.156
1
0
4,692
0.1064
0.0725
0.2
1
0
4,698
0.1643
0.1772
0.1531
1
0
4,715
0.8709
0.9994
0.7717
1
1
4,761
0.7247
0.7319
0.7177
1
0
4,828
0.3665
0.2417
0.7583
1
0
4,914
0.0865
0.0639
0.134
1
0
4,915
0.1736
0.164
0.1844
1
0
4,922
0.0553
0.0483
0.0646
1
0
End of preview. Expand in Data Studio

Programs for GPT-2 SAE features

A readable Python program for each of 301,090 SAE features of GPT-2 small — all 13 gpt2-small-res-jb checkpoints (blocks.0-11.hook_resid_pre plus blocks.11.hook_resid_post), 24,576 features each.

Each program is an ordinary function that takes the tokens seen so far and returns whether that feature fires:

def prog_L06F08045(input_tokens):
    """3 token families, 4 surface forms (train F1 of the uncapped optimum: 0.958)."""
    fire = {
        ' George', 'George',   # george  (3,592 firings)
        ' Osama',              # osama   (214 firings)
        'ORGE',                # orge    (28 firings)
    }
    return ('george-family', 1) if input_tokens[-1] in fire else ('no match', 0)

Fitted on 289,658 OpenWebText sequences (36,786,566 read positions), scored on a structurally disjoint 10,000-sequence test split. No LLM was used to write these — the token sets are chosen by greedy marginal F1.

Layout

path what
programs/layer{00..12}/ the programs, 100 per file, in thousand-blocks
scores/layer{00..12}.csv per-feature test F1, precision, recall, token count
synthesis_attempt_1/ 387 LLM-written layer-6 programs — an earlier attempt, kept for comparison
activation_value_program/ one program that predicts the activation value, not just whether it fires

Results

Median test F1 by layer, and the single best program in each:

L0 L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 L11 L12
median .98 .86 .80 .73 .65 .55 .41 .30 .23 .19 .17 .14 .13
best 1.00 1.00 1.00 1.00 .98 .99 .97 .96 .95 .95 .94 .93 .90

The median falls steeply with depth while the best barely moves. Depth doesn't cap what a token-only rule can reach — it changes how many features are reachable by one.

Caveats

  • scores/ reports test F1; the docstring inside each program reports the train optimum. They are different numbers.
  • Layers 0–3 have fewer than 24,576 programs because some features fire only at position 0 (attention-sink features) and are excluded from fitting.
Downloads last month
169