File size: 749 Bytes
26ae91c
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
for l, cols in combined_units.items():
    name = f"model.layers.{l}.mlp.down_proj.weight"
    mat = W.original(name).float().clone()
    mat[:, cols] = 0
    source = ("circuit:8", "circuit:9", "circuit:10") if l in agreed3 else ("circuit:14", "circuit:15", "circuit:16")
    W.save_edit(name, mat,
        evidence=f"Target activation/weight agreement {source[:2]} excluding harmful activation {source[2]}, columns {cols}. Trial 7 partial attenuation reduced borderline 27->21/64 with harmful/benign unchanged; test full suppression of same L{l} columns.")
trial8 = tools.measure.dev_eval(n=64, sets=["borderline", "harmful", "benign"])
print("Trial 8:", trial8)
note("Trial 8: complete suppression of 716 target-only columns; dev " + str(trial8))