Download trace/turns/t015/code.py from Perfect7613/weightpatch-run-overrefusal-rejected: direct link, hf CLI and curl.
- Browser
- Download file 749 Bytes
-
https://huggingface.co/datasets/Perfect7613/weightpatch-run-overrefusal-rejected/resolve/main/trace/turns/t015/code.py
- Command line
-
hf download hf://datasets/Perfect7613/weightpatch-run-overrefusal-rejected/trace/turns/t015/code.py
-
curl -L -o code.py https://huggingface.co/datasets/Perfect7613/weightpatch-run-overrefusal-rejected/resolve/main/trace/turns/t015/code.py
749 Bytes
| 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)) |