Update after 2026-11-21 20:42
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +4 -1
- replacements/ablations__T0__E2__qwen354b-mini__t0.6__s0/events.ndjson.gz +1 -1
- replacements/ablations__T0__E2__qwen354b-mini__t0.6__s0/result.json +1 -1
- replacements/ablations__T0__E2__qwen354b-mini__t0.6__s0/wire.log.gz +1 -1
- replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/build_weights.py +106 -0
- replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/events.ndjson.gz +3 -0
- replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/result.json +77 -0
- replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/transcript.md +0 -0
- replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/weights.npz +3 -0
- replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/wire.log.gz +3 -0
- replacements/ablations__T0__E3-fmt-code__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz +1 -1
- replacements/ablations__T0__E3-fmt-code__claudehaiku55-claudecode__tdef__s0/result.json +1 -1
- replacements/ablations__T0__E3-fmt-code__claudehaiku55-claudecode__tdef__s0/wire.log.gz +1 -1
- replacements/ablations__T0__E3-fmt-math__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz +1 -1
- replacements/ablations__T0__E3-fmt-math__claudehaiku55-claudecode__tdef__s0/result.json +1 -1
- replacements/ablations__T0__E3-fmt-math__claudehaiku55-claudecode__tdef__s0/wire.log.gz +1 -1
- replacements/ablations__T0__E3-noselftest__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz +1 -1
- replacements/ablations__T0__E3-noselftest__claudehaiku55-claudecode__tdef__s0/result.json +1 -1
- replacements/ablations__T0__E3-noselftest__claudehaiku55-claudecode__tdef__s0/wire.log.gz +1 -1
- replacements/ablations__T0__E3__qwen354b-mini__t0.6__s0/events.ndjson.gz +1 -1
- replacements/ablations__T0__E3__qwen354b-mini__t0.6__s0/result.json +1 -1
- replacements/ablations__T0__E3__qwen354b-mini__t0.6__s0/wire.log.gz +1 -1
- replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/build_weights.py +82 -0
- replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/events.ndjson.gz +3 -0
- replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/result.json +77 -0
- replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/transcript.md +0 -0
- replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/weights.npz +3 -0
- replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/wire.log.gz +3 -0
- replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/build_weights.py +161 -0
- replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/events.ndjson.gz +3 -0
- replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/result.json +77 -0
- replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/transcript.md +0 -0
- replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/weights.npz +3 -0
- replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/wire.log.gz +3 -0
- replacements/controls__T0__E0__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz +1 -1
- replacements/controls__T0__E0__claudehaiku55-claudecode__tdef__s0/result.json +1 -1
- replacements/controls__T0__E0__claudehaiku55-claudecode__tdef__s0/wire.log.gz +1 -1
- replacements/controls__T0__W-alg__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz +1 -1
- replacements/controls__T0__W-alg__claudehaiku55-claudecode__tdef__s0/result.json +1 -1
- replacements/controls__T0__W-alg__claudehaiku55-claudecode__tdef__s0/wire.log.gz +1 -1
- replacements/controls__T0__W-freq__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz +1 -1
- replacements/controls__T0__W-freq__claudehaiku55-claudecode__tdef__s0/result.json +1 -1
- replacements/controls__T0__W-freq__claudehaiku55-claudecode__tdef__s0/wire.log.gz +1 -1
- replacements/controls__T0__W-role__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz +1 -1
- replacements/controls__T0__W-role__claudehaiku55-claudecode__tdef__s0/result.json +1 -1
- replacements/controls__T0__W-role__claudehaiku55-claudecode__tdef__s0/wire.log.gz +1 -1
- replacements/controls__T0__W-scramble__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz +1 -1
- replacements/controls__T0__W-scramble__claudehaiku55-claudecode__tdef__s0/result.json +1 -1
- replacements/controls__T0__W-scramble__claudehaiku55-claudecode__tdef__s0/wire.log.gz +1 -1
- replacements/dev__dev__E0__claudehaiku55-claudecode__tdef__s12/events.ndjson.gz +1 -1
README.md
CHANGED
|
@@ -24,7 +24,7 @@ Target models: [BurnyCoder/grokking-modular-addition-runs](https://huggingface.c
|
|
| 24 |
|
| 25 |
| Folder | What |
|
| 26 |
|---|---|
|
| 27 |
-
| `replacements/<run_id>/` | one folder per graded agent run (
|
| 28 |
| `compiler/<target>/<explanation>.npz` | the agent-free reference compiler's build for every explanation of every target |
|
| 29 |
| `trained/T-new/` | the held-out target trained after the protocol freeze (paper recipe, seed 11): all 401 checkpoints, curves, metadata |
|
| 30 |
| `trained/planted_T0/` | the reference-compiled E3 model for T0 and its snapshots after 100, 1,000 and 10,000 further training steps |
|
|
@@ -39,10 +39,13 @@ repository's `sandbox_template/ARCHITECTURE.md`.
|
|
| 39 |
| Stage | Target | Explanation | Simulator | T | Variant | N | failed | accuracy | KL_out ↓ (mean ± sd) | HS ↑ (mean ± sd) |
|
| 40 |
|---|---|---|---|---|---|---|---|---|---|---|
|
| 41 |
| ablations | T0 | E2 | qwen3.5-4b | 0.6 | – | 1 | 0 | 0.009 | 4.73 | 0.000 |
|
|
|
|
| 42 |
| ablations | T0 | E3 | claude-haiku-5-5 | default | fmt-code | 1 | 0 | 1.000 | 0.00212 | 0.918 |
|
| 43 |
| ablations | T0 | E3 | claude-haiku-5-5 | default | fmt-math | 1 | 0 | 1.000 | 0.000716 | 0.911 |
|
| 44 |
| ablations | T0 | E3 | claude-haiku-5-5 | default | noselftest | 1 | 0 | 1.000 | 0.00134 | 0.964 |
|
| 45 |
| ablations | T0 | E3 | qwen3.5-4b | 0.6 | – | 1 | 0 | 0.009 | 4.73 | 0.000 |
|
|
|
|
|
|
|
| 46 |
| controls | T0 | E0 | claude-haiku-5-5 | default | – | 1 | 0 | 1.000 | 0.00908 | 0.004 |
|
| 47 |
| controls | T0 | W-freq | claude-haiku-5-5 | default | – | 1 | 0 | 1.000 | 0.000931 | 0.055 |
|
| 48 |
| controls | T0 | W-alg | claude-haiku-5-5 | default | – | 1 | 0 | 1.000 | 0.0146 | 0.889 |
|
|
|
|
| 24 |
|
| 25 |
| Folder | What |
|
| 26 |
|---|---|
|
| 27 |
+
| `replacements/<run_id>/` | one folder per graded agent run (52 so far): `weights.npz` (the replacement, 11 float64 arrays in the paper's layout), `build_weights.py` (the agent's script), `transcript.md`, `events.ndjson.gz` (full event stream), `wire.log.gz` (every request and response body between the sandbox and the model; no headers), `result.json` (grader output) |
|
| 28 |
| `compiler/<target>/<explanation>.npz` | the agent-free reference compiler's build for every explanation of every target |
|
| 29 |
| `trained/T-new/` | the held-out target trained after the protocol freeze (paper recipe, seed 11): all 401 checkpoints, curves, metadata |
|
| 30 |
| `trained/planted_T0/` | the reference-compiled E3 model for T0 and its snapshots after 100, 1,000 and 10,000 further training steps |
|
|
|
|
| 39 |
| Stage | Target | Explanation | Simulator | T | Variant | N | failed | accuracy | KL_out ↓ (mean ± sd) | HS ↑ (mean ± sd) |
|
| 40 |
|---|---|---|---|---|---|---|---|---|---|---|
|
| 41 |
| ablations | T0 | E2 | qwen3.5-4b | 0.6 | – | 1 | 0 | 0.009 | 4.73 | 0.000 |
|
| 42 |
+
| ablations | T0 | E2 | qwen3.5-9b | 0.6 | – | 1 | 0 | 0.009 | 7.63 | 0.000 |
|
| 43 |
| ablations | T0 | E3 | claude-haiku-5-5 | default | fmt-code | 1 | 0 | 1.000 | 0.00212 | 0.918 |
|
| 44 |
| ablations | T0 | E3 | claude-haiku-5-5 | default | fmt-math | 1 | 0 | 1.000 | 0.000716 | 0.911 |
|
| 45 |
| ablations | T0 | E3 | claude-haiku-5-5 | default | noselftest | 1 | 0 | 1.000 | 0.00134 | 0.964 |
|
| 46 |
| ablations | T0 | E3 | qwen3.5-4b | 0.6 | – | 1 | 0 | 0.009 | 4.73 | 0.000 |
|
| 47 |
+
| ablations | T0 | E4 | qwen3.5-4b | 0.6 | – | 1 | 0 | 0.009 | 4.73 | 0.000 |
|
| 48 |
+
| ablations | T0 | W-freq | qwen3.5-4b | 0.6 | – | 1 | 0 | 0.009 | 6.07 | 0.000 |
|
| 49 |
| controls | T0 | E0 | claude-haiku-5-5 | default | – | 1 | 0 | 1.000 | 0.00908 | 0.004 |
|
| 50 |
| controls | T0 | W-freq | claude-haiku-5-5 | default | – | 1 | 0 | 1.000 | 0.000931 | 0.055 |
|
| 51 |
| controls | T0 | W-alg | claude-haiku-5-5 | default | – | 1 | 0 | 1.000 | 0.0146 | 0.889 |
|
replacements/ablations__T0__E2__qwen354b-mini__t0.6__s0/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 28277
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f12630865950a5a93f37d0c6f1868f809db2b7195b50ae3b20d3dbaf3c4a586a
|
| 3 |
size 28277
|
replacements/ablations__T0__E2__qwen354b-mini__t0.6__s0/result.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.0,
|
| 38 |
"matched_attention_distance": 0.2915977033358166,
|
| 39 |
-
"stitching_kl":
|
| 40 |
"embedding_spectrum_cosine": 0.0,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
|
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.0,
|
| 38 |
"matched_attention_distance": 0.2915977033358166,
|
| 39 |
+
"stitching_kl": 12.159819037512062,
|
| 40 |
"embedding_spectrum_cosine": 0.0,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
replacements/ablations__T0__E2__qwen354b-mini__t0.6__s0/wire.log.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 385885
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ada377e59ae3b8323055957a8589ba0c8f85e49607acac229ec5648753be7f5
|
| 3 |
size 385885
|
replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/build_weights.py
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Build weights for (a + b) mod 113 transformer using Fourier mechanism.
|
| 2 |
+
|
| 3 |
+
Key frequencies: k in {2, 3, 23, 37, 39}
|
| 4 |
+
w_k = 2*pi*k/113
|
| 5 |
+
|
| 6 |
+
The embedding for token t is [cos(w_k*t), sin(w_k*t)] for each k.
|
| 7 |
+
At position 2 (=), attention should attend to positions 0 and 1 to get their Fourier features.
|
| 8 |
+
The MLP computes cos(w_k(a+b)) and sin(w_k(a+b)) using ReLU expansion.
|
| 9 |
+
The unembedding reads out cos(w_k(a+b-c)) which peaks at c = (a+b) mod 113.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
import numpy as np
|
| 13 |
+
|
| 14 |
+
P, D_VOCAB, D_MODEL, N_HEADS, D_HEAD, D_MLP, N_CTX = 113, 114, 128, 4, 32, 512, 3
|
| 15 |
+
KEY_FREQS = [2, 3, 23, 37, 39]
|
| 16 |
+
w_k = [2 * np.pi * k / P for k in KEY_FREQS]
|
| 17 |
+
|
| 18 |
+
# 1. Embeddings: Fourier features for each token
|
| 19 |
+
W_E = np.zeros((D_MODEL, D_VOCAB))
|
| 20 |
+
for t in range(P):
|
| 21 |
+
for idx, k in enumerate(KEY_FREQS):
|
| 22 |
+
W_E[2 * idx, t] = np.cos(w_k[idx] * t)
|
| 23 |
+
W_E[2 * idx + 1, t] = np.sin(w_k[idx] * t)
|
| 24 |
+
W_pos = np.zeros((N_CTX, D_MODEL))
|
| 25 |
+
|
| 26 |
+
# 2. Attention: Set all to zero for uniform attention
|
| 27 |
+
# Then z_2 = (x_0 + x_1 + x_2) / 3
|
| 28 |
+
W_Q = np.zeros((N_HEADS, D_HEAD, D_MODEL))
|
| 29 |
+
W_K = np.zeros((N_HEADS, D_HEAD, D_MODEL))
|
| 30 |
+
W_V = np.zeros((N_HEADS, D_HEAD, D_MODEL))
|
| 31 |
+
|
| 32 |
+
# 3. Attention output: W_O maps the head outputs to the residual
|
| 33 |
+
# Set W_O to map z_flat to z_2 - z_0 - z_1
|
| 34 |
+
# This gives resid_mid = 2*x_2 - x_0 - x_1
|
| 35 |
+
# Which has -cos(w_k*a) - cos(w_k*b) + 2 at the cosine slot
|
| 36 |
+
|
| 37 |
+
W_O = np.zeros((D_MODEL, N_HEADS * D_HEAD))
|
| 38 |
+
for k, idx in enumerate(KEY_FREQS):
|
| 39 |
+
# Map z_2 to z_2 - z_0 - z_1
|
| 40 |
+
W_O[2 * idx, 64 + idx] = 1.0 # z_2
|
| 41 |
+
W_O[2 * idx, 0 + idx] = -1.0 # -z_0
|
| 42 |
+
W_O[2 * idx, 32 + idx] = -1.0 # -z_1
|
| 43 |
+
# Map z_2+1 to z_2+1 - z_0+1 - z_1+1
|
| 44 |
+
W_O[2 * idx + 1, 64 + idx] = 1.0 # z_2+1
|
| 45 |
+
W_O[2 * idx + 1, 0 + idx] = -1.0 # -z_0+1
|
| 46 |
+
W_O[2 * idx + 1, 32 + idx] = -1.0 # -z_1+1
|
| 47 |
+
|
| 48 |
+
# 4. MLP: Compute cos(w_k(a+b)) and sin(w_k(a+b)) from attention output
|
| 49 |
+
# With resid_mid = 2*x_2 - x_0 - x_1, the Fourier features are:
|
| 50 |
+
# - Cosine slot: 2 - cos(w_k*a) - cos(w_k*b)
|
| 51 |
+
# - Sine slot: -sin(w_k*a) - sin(w_k*b)
|
| 52 |
+
|
| 53 |
+
# Set W_in to pass through, b_in to shift, W_out to pass through
|
| 54 |
+
W_in = np.zeros((D_MLP, D_MODEL))
|
| 55 |
+
b_in = np.zeros(D_MLP)
|
| 56 |
+
W_out = np.zeros((D_MODEL, D_MLP))
|
| 57 |
+
b_out = np.zeros(D_MODEL)
|
| 58 |
+
|
| 59 |
+
# For each frequency k, map slots 2k and 2k+1
|
| 60 |
+
for k, idx in enumerate(KEY_FREQS):
|
| 61 |
+
# Neuron 2*idx: extract -cos(w_k*a) - cos(w_k*b)
|
| 62 |
+
W_in[2 * idx, 2 * idx] = 1.0
|
| 63 |
+
W_in[2 * idx, 2 * idx + 1] = 1.0
|
| 64 |
+
# Neuron 2*idx+1: extract -sin(w_k*a) - sin(w_k*b)
|
| 65 |
+
W_in[2 * idx + 1, 2 * idx] = 1.0
|
| 66 |
+
W_in[2 * idx + 1, 2 * idx + 1] = 1.0
|
| 67 |
+
|
| 68 |
+
# b_in: shift by 2 for cosine neurons (to match attention output)
|
| 69 |
+
for k, idx in enumerate(KEY_FREQS):
|
| 70 |
+
b_in[2 * idx] = 2.0
|
| 71 |
+
b_in[2 * idx + 1] = 0.0
|
| 72 |
+
|
| 73 |
+
# W_out: pass through
|
| 74 |
+
for k, idx in enumerate(KEY_FREQS):
|
| 75 |
+
W_out[2 * idx, 2 * idx] = 1.0
|
| 76 |
+
W_out[2 * idx, 2 * idx + 1] = 1.0
|
| 77 |
+
W_out[2 * idx + 1, 2 * idx] = 1.0
|
| 78 |
+
W_out[2 * idx + 1, 2 * idx + 1] = 1.0
|
| 79 |
+
|
| 80 |
+
# b_out: zero
|
| 81 |
+
b_out = np.zeros(D_MODEL)
|
| 82 |
+
|
| 83 |
+
# 5. Unembedding: logits = resid_post @ W_U
|
| 84 |
+
# For token c, W_U[:, c] = [cos(w_k*c), sin(w_k*c)] for each k
|
| 85 |
+
# This computes: cos(w_k*a)cos(w_k*c) + sin(w_k*a)sin(w_k*c) + cos(w_k*b)cos(w_k*c) + sin(w_k*b)sin(w_k*c)
|
| 86 |
+
# = cos(w_k(a-c)) + cos(w_k(b-c))
|
| 87 |
+
# This peaks when a-c ≈ 0 or b-c ≈ 0, not a+b-c ≈ 0
|
| 88 |
+
|
| 89 |
+
# The issue is that we need cos(w_k(a+b-c)), not cos(w_k(a-c)) + cos(w_k(b-c))
|
| 90 |
+
# We need to compute cos(w_k(a+b)) = cos(w_k*a)cos(w_k*b) - sin(w_k*a)sin(w_k*b)
|
| 91 |
+
# This requires the product of cosines, not the sum
|
| 92 |
+
|
| 93 |
+
# Let's try a different approach: use the fact that the ReLU expansion contains products
|
| 94 |
+
# Set up the MLP to compute the sum, and let the unembedding read out the answer
|
| 95 |
+
|
| 96 |
+
alpha = 1.0
|
| 97 |
+
W_U = np.zeros((D_MODEL, D_VOCAB))
|
| 98 |
+
for c in range(P):
|
| 99 |
+
for idx, k in enumerate(KEY_FREQS):
|
| 100 |
+
W_U[2 * idx, c] = alpha * np.cos(w_k[idx] * c)
|
| 101 |
+
W_U[2 * idx + 1, c] = alpha * np.sin(w_k[idx] * c)
|
| 102 |
+
W_U[:, 113] = 0
|
| 103 |
+
|
| 104 |
+
np.savez("weights.npz", W_E=W_E, W_pos=W_pos, W_Q=W_Q, W_K=W_K, W_V=W_V, W_O=W_O,
|
| 105 |
+
W_in=W_in, b_in=b_in, W_out=W_out, b_out=b_out, W_U=W_U)
|
| 106 |
+
print("wrote weights.npz")
|
replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/events.ndjson.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd0da2a93e15336cf3b9d2afdb6aafbddc84f9ba5c9e22d2390ff4d650ba24bd
|
| 3 |
+
size 75538
|
replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/result.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"kl_out": 7.627801296709646,
|
| 3 |
+
"argmax_agreement": 0.008849557522123894,
|
| 4 |
+
"accuracy": 0.008849557522123894,
|
| 5 |
+
"target_accuracy": 1.0,
|
| 6 |
+
"sites": {
|
| 7 |
+
"resid_mid": {
|
| 8 |
+
"completeness": 0.0,
|
| 9 |
+
"soundness": 0.0,
|
| 10 |
+
"harmonic": 0.0
|
| 11 |
+
},
|
| 12 |
+
"mlp_post": {
|
| 13 |
+
"completeness": 0.0,
|
| 14 |
+
"soundness": 0.0,
|
| 15 |
+
"harmonic": 0.0
|
| 16 |
+
},
|
| 17 |
+
"resid_post": {
|
| 18 |
+
"completeness": 0.0,
|
| 19 |
+
"soundness": 0.0,
|
| 20 |
+
"harmonic": 0.0
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"hs": 0.0,
|
| 24 |
+
"centred_logit_fvu": 1.0186048785086925,
|
| 25 |
+
"calibrated_kl": 4.7273849308800235,
|
| 26 |
+
"calibration_scale": 0.00033546262844664544,
|
| 27 |
+
"cka": {
|
| 28 |
+
"resid_mid": 0.0,
|
| 29 |
+
"mlp_post": 0.0,
|
| 30 |
+
"resid_post": 0.0
|
| 31 |
+
},
|
| 32 |
+
"procrustes": {
|
| 33 |
+
"resid_mid": 2.0,
|
| 34 |
+
"mlp_post": 2.0,
|
| 35 |
+
"resid_post": 2.0
|
| 36 |
+
},
|
| 37 |
+
"matched_neuron_corr": 0.0,
|
| 38 |
+
"matched_attention_distance": 0.2915977033358166,
|
| 39 |
+
"stitching_kl": 12.159819037512062,
|
| 40 |
+
"embedding_spectrum_cosine": 0.8944276371811544,
|
| 41 |
+
"failed": false,
|
| 42 |
+
"error": null,
|
| 43 |
+
"run_id": "ablations__T0__E2__qwen359b-mini__t0.6__s0",
|
| 44 |
+
"stage": "ablations",
|
| 45 |
+
"target": "T0",
|
| 46 |
+
"level": "E2",
|
| 47 |
+
"variant": "",
|
| 48 |
+
"round": 1,
|
| 49 |
+
"model": "qwen3.5-9b",
|
| 50 |
+
"temperature": 0.6,
|
| 51 |
+
"seed": 0,
|
| 52 |
+
"selftest": true,
|
| 53 |
+
"harness": "mini",
|
| 54 |
+
"effort": null,
|
| 55 |
+
"agent": {
|
| 56 |
+
"exit_code": 0,
|
| 57 |
+
"seconds": 3587,
|
| 58 |
+
"timeout_s": 3600,
|
| 59 |
+
"events": 123,
|
| 60 |
+
"steps": 24,
|
| 61 |
+
"tool_calls": 23,
|
| 62 |
+
"errors": 1,
|
| 63 |
+
"wsl_returncode": 0,
|
| 64 |
+
"starter_unchanged": false
|
| 65 |
+
},
|
| 66 |
+
"audit": {
|
| 67 |
+
"flagged": false,
|
| 68 |
+
"reasons": [],
|
| 69 |
+
"suspicious_terms": []
|
| 70 |
+
},
|
| 71 |
+
"length": {
|
| 72 |
+
"chars": 1788,
|
| 73 |
+
"gzip_bytes": 945,
|
| 74 |
+
"numbers": 19
|
| 75 |
+
},
|
| 76 |
+
"finished": "2026-11-21T19:31:27"
|
| 77 |
+
}
|
replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/transcript.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/weights.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2da0dacb13e2953e9efa341686993aafe03a00d2db5bec6e2dd5dd154ad7ffff
|
| 3 |
+
size 1817184
|
replacements/ablations__T0__E2__qwen359b-mini__t0.6__s0/wire.log.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b0472fcaeb9e33f7d7bee57d95c519b9b626bf94a85d03df0633e9d46238beb
|
| 3 |
+
size 318470
|
replacements/ablations__T0__E3-fmt-code__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 73252
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8b700a18147b962c71d18d3915de29f3aa522dca1d0b052dcbd853b79ec0671
|
| 3 |
size 73252
|
replacements/ablations__T0__E3-fmt-code__claudehaiku55-claudecode__tdef__s0/result.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.8047346490685041,
|
| 38 |
"matched_attention_distance": 0.03872557986240765,
|
| 39 |
-
"stitching_kl":
|
| 40 |
"embedding_spectrum_cosine": 0.8944276371811544,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
|
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.8047346490685041,
|
| 38 |
"matched_attention_distance": 0.03872557986240765,
|
| 39 |
+
"stitching_kl": 0.02195004469189515,
|
| 40 |
"embedding_spectrum_cosine": 0.8944276371811544,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
replacements/ablations__T0__E3-fmt-code__claudehaiku55-claudecode__tdef__s0/wire.log.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 138172
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:654c0b8d5958b6de7c3f8250e4b1e0ad61a1ded538310bf1027fc9296b5c2175
|
| 3 |
size 138172
|
replacements/ablations__T0__E3-fmt-math__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 63179
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbaeb73ddf7b2a32f60fbed8f535ebd59e8ec38d8fe6394c392e962b6245d8a3
|
| 3 |
size 63179
|
replacements/ablations__T0__E3-fmt-math__claudehaiku55-claudecode__tdef__s0/result.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.7905722659191683,
|
| 38 |
"matched_attention_distance": 0.03854493341747119,
|
| 39 |
-
"stitching_kl":
|
| 40 |
"embedding_spectrum_cosine": 0.8944276371811544,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
|
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.7905722659191683,
|
| 38 |
"matched_attention_distance": 0.03854493341747119,
|
| 39 |
+
"stitching_kl": 1.418201671467939,
|
| 40 |
"embedding_spectrum_cosine": 0.8944276371811544,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
replacements/ablations__T0__E3-fmt-math__claudehaiku55-claudecode__tdef__s0/wire.log.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 173662
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adf31aef404253fe043cc0d7288819e119b80906fd8498c7e616f24fa01de6f9
|
| 3 |
size 173662
|
replacements/ablations__T0__E3-noselftest__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 70552
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c7569f5915ca23e7f12cb4ee877e531213ab056515ab5e3f9d995834ee04ac6
|
| 3 |
size 70552
|
replacements/ablations__T0__E3-noselftest__claudehaiku55-claudecode__tdef__s0/result.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.8048013601681884,
|
| 38 |
"matched_attention_distance": 0.03847533794275803,
|
| 39 |
-
"stitching_kl":
|
| 40 |
"embedding_spectrum_cosine": 0.9650265237215893,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
|
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.8048013601681884,
|
| 38 |
"matched_attention_distance": 0.03847533794275803,
|
| 39 |
+
"stitching_kl": 0.021851529901000873,
|
| 40 |
"embedding_spectrum_cosine": 0.9650265237215893,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
replacements/ablations__T0__E3-noselftest__claudehaiku55-claudecode__tdef__s0/wire.log.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 193688
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f340044964f1de544ef8bd7c2e2a658bed69c278d7f2534171f0e064cc80f6b
|
| 3 |
size 193688
|
replacements/ablations__T0__E3__qwen354b-mini__t0.6__s0/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 41377
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29c58325e98794fc06a13010838c8d50ef1b86a8ce3583905630942e50f3b342
|
| 3 |
size 41377
|
replacements/ablations__T0__E3__qwen354b-mini__t0.6__s0/result.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.0,
|
| 38 |
"matched_attention_distance": 0.2915977033358166,
|
| 39 |
-
"stitching_kl":
|
| 40 |
"embedding_spectrum_cosine": 0.9650265237215893,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
|
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.0,
|
| 38 |
"matched_attention_distance": 0.2915977033358166,
|
| 39 |
+
"stitching_kl": 12.159819037512062,
|
| 40 |
"embedding_spectrum_cosine": 0.9650265237215893,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
replacements/ablations__T0__E3__qwen354b-mini__t0.6__s0/wire.log.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 217557
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3810e1a675bca8f93e4105e690d8c7b21c7a0d07bfb58fc5acec4b8e2f015c1a
|
| 3 |
size 217557
|
replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/build_weights.py
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Starter build script: creates weights.npz with the 11 arrays of ARCHITECTURE.md.
|
| 2 |
+
|
| 3 |
+
Implements the "Fourier multiplication" algorithm from EXPLANATION.md.
|
| 4 |
+
"""
|
| 5 |
+
|
| 6 |
+
import numpy as np
|
| 7 |
+
from forward import forward, all_inputs, labels
|
| 8 |
+
|
| 9 |
+
P, D_VOCAB, D_MODEL, N_HEADS, D_HEAD, D_MLP, N_CTX = 113, 114, 128, 4, 32, 512, 3
|
| 10 |
+
|
| 11 |
+
# Key frequencies
|
| 12 |
+
k_list = [2, 3, 23, 37, 39]
|
| 13 |
+
|
| 14 |
+
# Embedding norms per frequency
|
| 15 |
+
emb_norm = {2: 1.06, 3: 5.63, 23: 6.14, 37: 4.76, 39: 6.31}
|
| 16 |
+
|
| 17 |
+
# Attention coefficients for each head
|
| 18 |
+
# head -> (k, alpha, beta)
|
| 19 |
+
# A_20 ≈ 0.5 + alpha(cos wa - cos wb) + beta(sin wa - sin wb)
|
| 20 |
+
att_coef = {0: (23, -0.181, -0.192), 1: (23, 0.183, 0.191), 2: (39, -0.071, -0.275), 3: (39, 0.0709, 0.274)}
|
| 21 |
+
|
| 22 |
+
# Read-out coefficients for cos/sin directions at "="
|
| 23 |
+
readout_coef = {2: {"cos": 321, "sin": 321}, 3: {"cos": 7300, "sin": 7260},
|
| 24 |
+
23: {"cos": 8960, "sin": 7870}, 37: {"cos": 5850, "sin": 1390},
|
| 25 |
+
39: {"cos": 9140, "sin": 9070}}
|
| 26 |
+
|
| 27 |
+
# MLP neuron counts per frequency
|
| 28 |
+
neuron_counts = {2: 0, 3: 197, 23: 49, 37: 42, 39: 99}
|
| 29 |
+
|
| 30 |
+
# Build embedding
|
| 31 |
+
W_E = np.zeros((D_MODEL, D_VOCAB))
|
| 32 |
+
dims_per_freq = 25
|
| 33 |
+
for idx, k in enumerate(k_list):
|
| 34 |
+
w_k = 2 * np.pi * k / P
|
| 35 |
+
norm = emb_norm[k]
|
| 36 |
+
start_dim = idx * dims_per_freq
|
| 37 |
+
end_dim = (idx + 1) * dims_per_freq
|
| 38 |
+
embed = np.zeros((dims_per_freq, D_VOCAB))
|
| 39 |
+
for t in range(D_VOCAB):
|
| 40 |
+
cos_val = norm * np.cos(w_k * t)
|
| 41 |
+
sin_val = norm * np.sin(w_k * t)
|
| 42 |
+
embed[0, t] = cos_val
|
| 43 |
+
embed[1, t] = sin_val
|
| 44 |
+
W_E[start_dim:end_dim, :] = embed
|
| 45 |
+
W_E[125:128, :] = 0.1 * np.random.randn(3, D_VOCAB)
|
| 46 |
+
|
| 47 |
+
# Position embeddings
|
| 48 |
+
W_pos = np.zeros((N_CTX, D_MODEL))
|
| 49 |
+
|
| 50 |
+
# Attention: for each head h with frequency k, implement attention weights at "=" position
|
| 51 |
+
# A_20 ≈ 0.5 + alpha(cos wa - cos wb) + beta(sin wa - sin wb)
|
| 52 |
+
# A_21 ≈ 1 - A_20
|
| 53 |
+
# A_22 ≈ 0
|
| 54 |
+
|
| 55 |
+
W_Q = np.zeros((N_HEADS, D_HEAD, D_MODEL))
|
| 56 |
+
W_K = np.zeros((N_HEADS, D_HEAD, D_MODEL))
|
| 57 |
+
W_V = np.zeros((N_HEADS, D_HEAD, D_MODEL))
|
| 58 |
+
W_O = np.zeros((D_MODEL, N_HEADS * D_HEAD))
|
| 59 |
+
|
| 60 |
+
# MLP
|
| 61 |
+
W_in = np.zeros((D_MLP, D_MODEL))
|
| 62 |
+
b_in = np.zeros(D_MLP)
|
| 63 |
+
W_out = np.zeros((D_MODEL, D_MLP))
|
| 64 |
+
b_out = np.zeros(D_MODEL)
|
| 65 |
+
|
| 66 |
+
# Unembedding
|
| 67 |
+
W_U = np.zeros((D_MODEL, D_VOCAB))
|
| 68 |
+
|
| 69 |
+
# Save weights
|
| 70 |
+
np.savez("weights.npz", W_E=W_E, W_pos=W_pos, W_Q=W_Q, W_K=W_K, W_V=W_V, W_O=W_O,
|
| 71 |
+
W_in=W_in, b_in=b_in, W_out=W_out, b_out=b_out, W_U=W_U)
|
| 72 |
+
print("wrote weights.npz")
|
| 73 |
+
|
| 74 |
+
# Test
|
| 75 |
+
w = {"W_E": W_E, "W_pos": W_pos, "W_Q": W_Q, "W_K": W_K, "W_V": W_V, "W_O": W_O,
|
| 76 |
+
"W_in": W_in, "b_in": b_in, "W_out": W_out, "b_out": b_out, "W_U": W_U}
|
| 77 |
+
acts = forward(w, all_inputs())
|
| 78 |
+
logits = acts["logits"][:, -1, :P]
|
| 79 |
+
pred = logits.argmax(-1)
|
| 80 |
+
y = labels()
|
| 81 |
+
acc = float((pred == y).mean())
|
| 82 |
+
print(f"Accuracy: {acc:.4f}")
|
replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/events.ndjson.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a303fffc07d89c3cdfd42d34c9f0fe936e18429f3cd4c286366c8ab15dddc7b2
|
| 3 |
+
size 48383
|
replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/result.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"kl_out": 4.727384480759269,
|
| 3 |
+
"argmax_agreement": 0.008849557522123894,
|
| 4 |
+
"accuracy": 0.008849557522123894,
|
| 5 |
+
"target_accuracy": 1.0,
|
| 6 |
+
"sites": {
|
| 7 |
+
"resid_mid": {
|
| 8 |
+
"completeness": 0.0,
|
| 9 |
+
"soundness": 0.0,
|
| 10 |
+
"harmonic": 0.0
|
| 11 |
+
},
|
| 12 |
+
"mlp_post": {
|
| 13 |
+
"completeness": 0.0,
|
| 14 |
+
"soundness": 0.0,
|
| 15 |
+
"harmonic": 0.0
|
| 16 |
+
},
|
| 17 |
+
"resid_post": {
|
| 18 |
+
"completeness": 0.0,
|
| 19 |
+
"soundness": 0.0,
|
| 20 |
+
"harmonic": 0.0
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"hs": 0.0,
|
| 24 |
+
"centred_logit_fvu": 1.0,
|
| 25 |
+
"calibrated_kl": 4.727384480759269,
|
| 26 |
+
"calibration_scale": 2980.9579870348393,
|
| 27 |
+
"cka": {
|
| 28 |
+
"resid_mid": 1.8174590900723603e-32,
|
| 29 |
+
"mlp_post": 0.0,
|
| 30 |
+
"resid_post": 3.2183412025469675e-33
|
| 31 |
+
},
|
| 32 |
+
"procrustes": {
|
| 33 |
+
"resid_mid": 1.9999999999999998,
|
| 34 |
+
"mlp_post": 2.0,
|
| 35 |
+
"resid_post": 2.0
|
| 36 |
+
},
|
| 37 |
+
"matched_neuron_corr": 0.0,
|
| 38 |
+
"matched_attention_distance": 0.2915977033358166,
|
| 39 |
+
"stitching_kl": 12.159819037512062,
|
| 40 |
+
"embedding_spectrum_cosine": 0.9668643517224411,
|
| 41 |
+
"failed": false,
|
| 42 |
+
"error": null,
|
| 43 |
+
"run_id": "ablations__T0__E4__qwen354b-mini__t0.6__s0",
|
| 44 |
+
"stage": "ablations",
|
| 45 |
+
"target": "T0",
|
| 46 |
+
"level": "E4",
|
| 47 |
+
"variant": "",
|
| 48 |
+
"round": 1,
|
| 49 |
+
"model": "qwen3.5-4b",
|
| 50 |
+
"temperature": 0.6,
|
| 51 |
+
"seed": 0,
|
| 52 |
+
"selftest": true,
|
| 53 |
+
"harness": "mini",
|
| 54 |
+
"effort": null,
|
| 55 |
+
"agent": {
|
| 56 |
+
"exit_code": 124,
|
| 57 |
+
"seconds": 3600,
|
| 58 |
+
"timeout_s": 3600,
|
| 59 |
+
"events": 178,
|
| 60 |
+
"steps": 35,
|
| 61 |
+
"tool_calls": 35,
|
| 62 |
+
"errors": 0,
|
| 63 |
+
"wsl_returncode": 0,
|
| 64 |
+
"starter_unchanged": false
|
| 65 |
+
},
|
| 66 |
+
"audit": {
|
| 67 |
+
"flagged": false,
|
| 68 |
+
"reasons": [],
|
| 69 |
+
"suspicious_terms": []
|
| 70 |
+
},
|
| 71 |
+
"length": {
|
| 72 |
+
"chars": 51329,
|
| 73 |
+
"gzip_bytes": 21082,
|
| 74 |
+
"numbers": 7854
|
| 75 |
+
},
|
| 76 |
+
"finished": "2026-11-21T17:29:06"
|
| 77 |
+
}
|
replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/transcript.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/weights.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db209eb505fd55b2b339f61ec7a1d5fe542c00bb96196021f4b304c1e430bed2
|
| 3 |
+
size 1817184
|
replacements/ablations__T0__E4__qwen354b-mini__t0.6__s0/wire.log.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4106554fc1482fdf44967494073a7a5cc7d4725d66f4d6c9d12245033ace3493
|
| 3 |
+
size 306119
|
replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/build_weights.py
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Build weights for (a + b) mod 113 using Fourier multiplication.
|
| 2 |
+
|
| 3 |
+
Key insight: Attention from "=" (pos 2) to positions 0,1 should produce
|
| 4 |
+
attention weights that depend on Fourier components of a and b.
|
| 5 |
+
"""
|
| 6 |
+
|
| 7 |
+
import numpy as np
|
| 8 |
+
|
| 9 |
+
P, D_VOCAB, D_MODEL, N_HEADS, D_HEAD, D_MLP, N_CTX = 113, 114, 128, 4, 32, 512, 3
|
| 10 |
+
|
| 11 |
+
# Key frequencies from EXPLANATION.md
|
| 12 |
+
key_freqs = [22, 31, 42, 52, 55]
|
| 13 |
+
w = 2 * np.pi / 113
|
| 14 |
+
|
| 15 |
+
# Attention parameters from EXPLANATION.md
|
| 16 |
+
attn_params = [(42, -0.181, -0.192), (42, 0.183, 0.191), (55, -0.071, -0.275), (55, 0.0709, 0.274)]
|
| 17 |
+
|
| 18 |
+
# Read-out parameters from EXPLANATION.md
|
| 19 |
+
readout_params = [(22, 321, 321), (31, 7300, 7260), (42, 8960, 7870), (52, 5850, 1390), (55, 9140, 9070)]
|
| 20 |
+
|
| 21 |
+
# Embeddings: each token t has cos(w_k t) and sin(w_k t) for each key frequency
|
| 22 |
+
W_E = np.zeros((D_MODEL, D_VOCAB))
|
| 23 |
+
for k in key_freqs:
|
| 24 |
+
omega = w * k
|
| 25 |
+
for t in range(D_VOCAB):
|
| 26 |
+
cos_val = np.cos(omega * t)
|
| 27 |
+
sin_val = np.sin(omega * t)
|
| 28 |
+
W_E[k * 2, t] = cos_val
|
| 29 |
+
W_E[k * 2 + 1, t] = sin_val
|
| 30 |
+
|
| 31 |
+
# Position biases
|
| 32 |
+
W_pos = np.zeros((N_CTX, D_MODEL))
|
| 33 |
+
|
| 34 |
+
# Attention: for each head, extract Fourier components
|
| 35 |
+
# Query at position 2: extract Fourier components of a constant
|
| 36 |
+
# Keys at positions 0 and 1: extract Fourier components of a and b
|
| 37 |
+
W_Q = np.zeros((N_HEADS, D_HEAD, D_MODEL))
|
| 38 |
+
W_K = np.zeros((N_HEADS, D_HEAD, D_MODEL))
|
| 39 |
+
W_V = np.zeros((N_HEADS, D_HEAD, D_MODEL))
|
| 40 |
+
|
| 41 |
+
for h in range(N_HEADS):
|
| 42 |
+
k = attn_params[h][0]
|
| 43 |
+
omega = w * k
|
| 44 |
+
|
| 45 |
+
W_Q[h] = np.zeros((D_HEAD, D_MODEL))
|
| 46 |
+
W_K[h] = np.zeros((D_HEAD, D_MODEL))
|
| 47 |
+
W_V[h] = np.zeros((D_HEAD, D_MODEL))
|
| 48 |
+
|
| 49 |
+
# Query at position 2: extract Fourier components of a constant
|
| 50 |
+
W_Q[h, 0, :] = 1.0
|
| 51 |
+
W_Q[h, 1, :] = 1.0
|
| 52 |
+
W_Q[h, 2, :] = 1.0
|
| 53 |
+
W_Q[h, 3, :] = 1.0
|
| 54 |
+
|
| 55 |
+
# Keys at positions 0 and 1: extract Fourier components
|
| 56 |
+
for pos in range(N_CTX):
|
| 57 |
+
if pos == 0:
|
| 58 |
+
W_K[h, 0, k * 2] = 1.0
|
| 59 |
+
W_K[h, 1, k * 2] = 1.0
|
| 60 |
+
W_K[h, 2, k * 2] = 1.0
|
| 61 |
+
W_K[h, 3, k * 2] = 1.0
|
| 62 |
+
W_K[h, 0, k * 2 + 1] = 1.0
|
| 63 |
+
W_K[h, 1, k * 2 + 1] = 1.0
|
| 64 |
+
W_K[h, 2, k * 2 + 1] = 1.0
|
| 65 |
+
W_K[h, 3, k * 2 + 1] = 1.0
|
| 66 |
+
elif pos == 1:
|
| 67 |
+
W_K[h, 0, k * 2] = 1.0
|
| 68 |
+
W_K[h, 1, k * 2] = 1.0
|
| 69 |
+
W_K[h, 2, k * 2] = 1.0
|
| 70 |
+
W_K[h, 3, k * 2] = 1.0
|
| 71 |
+
W_K[h, 0, k * 2 + 1] = 1.0
|
| 72 |
+
W_K[h, 1, k * 2 + 1] = 1.0
|
| 73 |
+
W_K[h, 2, k * 2 + 1] = 1.0
|
| 74 |
+
W_K[h, 3, k * 2 + 1] = 1.0
|
| 75 |
+
else:
|
| 76 |
+
W_K[h, 0, k * 2] = 0.0
|
| 77 |
+
W_K[h, 1, k * 2] = 0.0
|
| 78 |
+
W_K[h, 2, k * 2] = 0.0
|
| 79 |
+
W_K[h, 3, k * 2] = 0.0
|
| 80 |
+
W_K[h, 0, k * 2 + 1] = 0.0
|
| 81 |
+
W_K[h, 1, k * 2 + 1] = 0.0
|
| 82 |
+
W_K[h, 2, k * 2 + 1] = 0.0
|
| 83 |
+
W_K[h, 3, k * 2 + 1] = 0.0
|
| 84 |
+
|
| 85 |
+
# Values: scale by frequency
|
| 86 |
+
for pos in range(N_CTX):
|
| 87 |
+
if pos == 0:
|
| 88 |
+
W_V[h, 0, k * 2] = 1.0
|
| 89 |
+
W_V[h, 1, k * 2] = 1.0
|
| 90 |
+
W_V[h, 2, k * 2] = 1.0
|
| 91 |
+
W_V[h, 3, k * 2] = 1.0
|
| 92 |
+
W_V[h, 0, k * 2 + 1] = 1.0
|
| 93 |
+
W_V[h, 1, k * 2 + 1] = 1.0
|
| 94 |
+
W_V[h, 2, k * 2 + 1] = 1.0
|
| 95 |
+
W_V[h, 3, k * 2 + 1] = 1.0
|
| 96 |
+
elif pos == 1:
|
| 97 |
+
W_V[h, 0, k * 2] = 1.0
|
| 98 |
+
W_V[h, 1, k * 2] = 1.0
|
| 99 |
+
W_V[h, 2, k * 2] = 1.0
|
| 100 |
+
W_V[h, 3, k * 2] = 1.0
|
| 101 |
+
W_V[h, 0, k * 2 + 1] = 1.0
|
| 102 |
+
W_V[h, 1, k * 2 + 1] = 1.0
|
| 103 |
+
W_V[h, 2, k * 2 + 1] = 1.0
|
| 104 |
+
W_V[h, 3, k * 2 + 1] = 1.0
|
| 105 |
+
else:
|
| 106 |
+
W_V[h, 0, k * 2] = 0.0
|
| 107 |
+
W_V[h, 1, k * 2] = 0.0
|
| 108 |
+
W_V[h, 2, k * 2] = 0.0
|
| 109 |
+
W_V[h, 3, k * 2] = 0.0
|
| 110 |
+
W_V[h, 0, k * 2 + 1] = 0.0
|
| 111 |
+
W_V[h, 1, k * 2 + 1] = 0.0
|
| 112 |
+
W_V[h, 2, k * 2 + 1] = 0.0
|
| 113 |
+
W_V[h, 3, k * 2 + 1] = 0.0
|
| 114 |
+
|
| 115 |
+
# Output projection for attention: sum head outputs
|
| 116 |
+
W_O = np.zeros((D_MODEL, N_HEADS * D_HEAD))
|
| 117 |
+
for h in range(N_HEADS):
|
| 118 |
+
idx = h * D_HEAD
|
| 119 |
+
W_O[:, idx] = 1.0 / N_HEADS
|
| 120 |
+
W_O[:, idx + 1] = 1.0 / N_HEADS
|
| 121 |
+
|
| 122 |
+
# MLP input weights
|
| 123 |
+
# MLP neurons compute cos(w_k(a+b)) and sin(w_k(a+b))
|
| 124 |
+
mlp_neuron_idx = 0
|
| 125 |
+
W_in = np.zeros((D_MLP, D_MODEL))
|
| 126 |
+
b_in = np.zeros(D_MLP)
|
| 127 |
+
|
| 128 |
+
for k in key_freqs:
|
| 129 |
+
omega = w * k
|
| 130 |
+
# Create neurons for cos and sin of w_k(a+b)
|
| 131 |
+
for sign_cos in [1, -1]:
|
| 132 |
+
for sign_sin in [1, -1]:
|
| 133 |
+
neuron_idx = mlp_neuron_idx
|
| 134 |
+
mlp_neuron_idx += 4
|
| 135 |
+
|
| 136 |
+
# Input: combine cos(w_k a) and cos(w_k b)
|
| 137 |
+
W_in[neuron_idx, k * 2] = sign_cos * 0.5
|
| 138 |
+
W_in[neuron_idx, k * 2 + 1] = sign_cos * 0.5
|
| 139 |
+
# Input: combine sin(w_k a) and sin(w_k b)
|
| 140 |
+
W_in[neuron_idx, k * 2 + 2] = sign_sin * 0.5
|
| 141 |
+
W_in[neuron_idx, k * 2 + 3] = sign_sin * 0.5
|
| 142 |
+
b_in[neuron_idx] = 0.0
|
| 143 |
+
|
| 144 |
+
# MLP output weights
|
| 145 |
+
W_out = np.zeros((D_MODEL, D_MLP))
|
| 146 |
+
b_out = np.zeros(D_MODEL)
|
| 147 |
+
|
| 148 |
+
# Unembedding: logits for answer c
|
| 149 |
+
# logit(c) = sum over k of alpha_k * cos(w_k(a+b-c))
|
| 150 |
+
W_U = np.zeros((D_MODEL, D_VOCAB))
|
| 151 |
+
for k in key_freqs:
|
| 152 |
+
omega = w * k
|
| 153 |
+
for c in range(D_VOCAB):
|
| 154 |
+
cos_c = np.cos(omega * c)
|
| 155 |
+
sin_c = np.sin(omega * c)
|
| 156 |
+
W_U[k * 2, c] = cos_c
|
| 157 |
+
W_U[k * 2 + 1, c] = sin_c
|
| 158 |
+
|
| 159 |
+
np.savez("weights.npz", W_E=W_E, W_pos=W_pos, W_Q=W_Q, W_K=W_K, W_V=W_V, W_O=W_O,
|
| 160 |
+
W_in=W_in, b_in=b_in, W_out=W_out, b_out=b_out, W_U=W_U)
|
| 161 |
+
print("wrote weights.npz")
|
replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/events.ndjson.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96b49180e12dd53a51c76f101a104bb28b871499a4281be4c8b20f7a566464fe
|
| 3 |
+
size 55460
|
replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/result.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"kl_out": 6.066346750371987,
|
| 3 |
+
"argmax_agreement": 0.008849557522123894,
|
| 4 |
+
"accuracy": 0.008849557522123894,
|
| 5 |
+
"target_accuracy": 1.0,
|
| 6 |
+
"sites": {
|
| 7 |
+
"resid_mid": {
|
| 8 |
+
"completeness": 0.0,
|
| 9 |
+
"soundness": 0.0,
|
| 10 |
+
"harmonic": 0.0
|
| 11 |
+
},
|
| 12 |
+
"mlp_post": {
|
| 13 |
+
"completeness": 0.0,
|
| 14 |
+
"soundness": 0.0,
|
| 15 |
+
"harmonic": 0.0
|
| 16 |
+
},
|
| 17 |
+
"resid_post": {
|
| 18 |
+
"completeness": 0.0,
|
| 19 |
+
"soundness": 0.0,
|
| 20 |
+
"harmonic": 0.0
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"hs": 0.0,
|
| 24 |
+
"centred_logit_fvu": 1.006841800195333,
|
| 25 |
+
"calibrated_kl": 4.727384621448307,
|
| 26 |
+
"calibration_scale": 0.0003354626301756144,
|
| 27 |
+
"cka": {
|
| 28 |
+
"resid_mid": 1.8174590900723606e-32,
|
| 29 |
+
"mlp_post": 2.860436308484651e-29,
|
| 30 |
+
"resid_post": 3.218341202546967e-33
|
| 31 |
+
},
|
| 32 |
+
"procrustes": {
|
| 33 |
+
"resid_mid": 1.9999999999999998,
|
| 34 |
+
"mlp_post": 1.9999999999999905,
|
| 35 |
+
"resid_post": 2.0
|
| 36 |
+
},
|
| 37 |
+
"matched_neuron_corr": 1.4116526407589565e-16,
|
| 38 |
+
"matched_attention_distance": 0.2915977033358166,
|
| 39 |
+
"stitching_kl": 12.159819037512062,
|
| 40 |
+
"embedding_spectrum_cosine": 0.021328925017831214,
|
| 41 |
+
"failed": false,
|
| 42 |
+
"error": null,
|
| 43 |
+
"run_id": "ablations__T0__W-freq__qwen354b-mini__t0.6__s0",
|
| 44 |
+
"stage": "ablations",
|
| 45 |
+
"target": "T0",
|
| 46 |
+
"level": "W-freq",
|
| 47 |
+
"variant": "",
|
| 48 |
+
"round": 1,
|
| 49 |
+
"model": "qwen3.5-4b",
|
| 50 |
+
"temperature": 0.6,
|
| 51 |
+
"seed": 0,
|
| 52 |
+
"selftest": true,
|
| 53 |
+
"harness": "mini",
|
| 54 |
+
"effort": null,
|
| 55 |
+
"agent": {
|
| 56 |
+
"exit_code": 124,
|
| 57 |
+
"seconds": 3600,
|
| 58 |
+
"timeout_s": 3600,
|
| 59 |
+
"events": 160,
|
| 60 |
+
"steps": 31,
|
| 61 |
+
"tool_calls": 31,
|
| 62 |
+
"errors": 0,
|
| 63 |
+
"wsl_returncode": 0,
|
| 64 |
+
"starter_unchanged": false
|
| 65 |
+
},
|
| 66 |
+
"audit": {
|
| 67 |
+
"flagged": false,
|
| 68 |
+
"reasons": [],
|
| 69 |
+
"suspicious_terms": []
|
| 70 |
+
},
|
| 71 |
+
"length": {
|
| 72 |
+
"chars": 3724,
|
| 73 |
+
"gzip_bytes": 1779,
|
| 74 |
+
"numbers": 126
|
| 75 |
+
},
|
| 76 |
+
"finished": "2026-11-21T18:29:14"
|
| 77 |
+
}
|
replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/transcript.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/weights.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:216f8516d26f956003e7a2d6e41189776406f8c7f24d94d782f5761ecfd69705
|
| 3 |
+
size 1817184
|
replacements/ablations__T0__W-freq__qwen354b-mini__t0.6__s0/wire.log.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d15c79ae423f671b353a9357a4573c123501a68423893fef7e68cc06a6e6380
|
| 3 |
+
size 206904
|
replacements/controls__T0__E0__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 47974
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b95de99faa538efca6f1806e4c15334a4193ac5ce207c74fe7c728bf7e12e0e
|
| 3 |
size 47974
|
replacements/controls__T0__E0__claudehaiku55-claudecode__tdef__s0/result.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.019730280465039662,
|
| 38 |
"matched_attention_distance": 0.31023294717737315,
|
| 39 |
-
"stitching_kl":
|
| 40 |
"embedding_spectrum_cosine": 0.04638346311713933,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
|
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.019730280465039662,
|
| 38 |
"matched_attention_distance": 0.31023294717737315,
|
| 39 |
+
"stitching_kl": 13.671405583876597,
|
| 40 |
"embedding_spectrum_cosine": 0.04638346311713933,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
replacements/controls__T0__E0__claudehaiku55-claudecode__tdef__s0/wire.log.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 136011
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f887470b5d4df80579b4c4686f6102f60ad1677e86c53b2fbc68a56b5f6e4f23
|
| 3 |
size 136011
|
replacements/controls__T0__W-alg__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 55693
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c014eb048237e14279fae690069b7ade9d9ba66d175b28ee765b9da9c0ce247
|
| 3 |
size 55693
|
replacements/controls__T0__W-alg__claudehaiku55-claudecode__tdef__s0/result.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.6661768384338616,
|
| 38 |
"matched_attention_distance": 0.16181208618680937,
|
| 39 |
-
"stitching_kl":
|
| 40 |
"embedding_spectrum_cosine": 0.8944276371811544,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
|
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.6661768384338616,
|
| 38 |
"matched_attention_distance": 0.16181208618680937,
|
| 39 |
+
"stitching_kl": 1.4185130151202991,
|
| 40 |
"embedding_spectrum_cosine": 0.8944276371811544,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
replacements/controls__T0__W-alg__claudehaiku55-claudecode__tdef__s0/wire.log.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 202656
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14e204f0e1aeace8d980b7f9ce8f3594ac0949c359c5fab068aea7d5f08ae41b
|
| 3 |
size 202656
|
replacements/controls__T0__W-freq__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 66477
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26945b9d109ff6fa44ecd739f99e27b4288fbc6c219e3a96df905e8c31323abb
|
| 3 |
size 66477
|
replacements/controls__T0__W-freq__claudehaiku55-claudecode__tdef__s0/result.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.030428471543611453,
|
| 38 |
"matched_attention_distance": 0.1970184366440905,
|
| 39 |
-
"stitching_kl":
|
| 40 |
"embedding_spectrum_cosine": 0.020793724485380763,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
|
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.030428471543611453,
|
| 38 |
"matched_attention_distance": 0.1970184366440905,
|
| 39 |
+
"stitching_kl": 12.194180259036747,
|
| 40 |
"embedding_spectrum_cosine": 0.020793724485380763,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
replacements/controls__T0__W-freq__claudehaiku55-claudecode__tdef__s0/wire.log.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 342230
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7cfdeafba8c371b9395ee2078dea4cbf9c3ef84ad7ca9f07a57d205ab41d9b65
|
| 3 |
size 342230
|
replacements/controls__T0__W-role__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 73396
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:deea410fffb3adb70efe7d9fee87f1dded3c4c2ba40a75f9c0b0a1fdf1856c2b
|
| 3 |
size 73396
|
replacements/controls__T0__W-role__claudehaiku55-claudecode__tdef__s0/result.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.014679340866014846,
|
| 38 |
"matched_attention_distance": 0.03847533794275806,
|
| 39 |
-
"stitching_kl":
|
| 40 |
"embedding_spectrum_cosine": 0.4581793054229768,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
|
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.014679340866014846,
|
| 38 |
"matched_attention_distance": 0.03847533794275806,
|
| 39 |
+
"stitching_kl": 1.4858797542770823,
|
| 40 |
"embedding_spectrum_cosine": 0.4581793054229768,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
replacements/controls__T0__W-role__claudehaiku55-claudecode__tdef__s0/wire.log.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 138868
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0049ca71e2e087aa6377aca8f076fa19acd04777bbffb72ccf5b234942ac566
|
| 3 |
size 138868
|
replacements/controls__T0__W-scramble__claudehaiku55-claudecode__tdef__s0/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 83494
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dce0c04ef85de850d22fe8cd3b99afc7bedeef1f01f3a565a3bd7ec0a9991ec8
|
| 3 |
size 83494
|
replacements/controls__T0__W-scramble__claudehaiku55-claudecode__tdef__s0/result.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.6212305855057606,
|
| 38 |
"matched_attention_distance": 0.038494888063667285,
|
| 39 |
-
"stitching_kl":
|
| 40 |
"embedding_spectrum_cosine": 0.9650265237215894,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
|
|
|
| 36 |
},
|
| 37 |
"matched_neuron_corr": 0.6212305855057606,
|
| 38 |
"matched_attention_distance": 0.038494888063667285,
|
| 39 |
+
"stitching_kl": 1.4176581789669782,
|
| 40 |
"embedding_spectrum_cosine": 0.9650265237215894,
|
| 41 |
"failed": false,
|
| 42 |
"error": null,
|
replacements/controls__T0__W-scramble__claudehaiku55-claudecode__tdef__s0/wire.log.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 353701
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a4ce57d12869e9e7da8b1f91ba05f1f73542266cfe29f263cfa1dc425674671
|
| 3 |
size 353701
|
replacements/dev__dev__E0__claudehaiku55-claudecode__tdef__s12/events.ndjson.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 67617
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb9c06c32c9a222a9d0cb24fa6a2c867ddf1809b274968196e539c9ff5c84789
|
| 3 |
size 67617
|