From 332f7f362220edb65ca1747afde8eab366adf3e4 Mon Sep 17 00:00:00 2001 From: Nils Date: Thu, 16 Jul 2026 01:35:38 +0200 Subject: [PATCH] =?UTF-8?q?E4B=20regime=20map=20(ckpt-salvaged,=20150=20pr?= =?UTF-8?q?ompts):=20no=20clear=20workspace=20signature=20=E2=80=94=20sens?= =?UTF-8?q?or=20L11-22,=20motor=20from=20L23,=20persistence=20bump=20absen?= =?UTF-8?q?t;=20candidate=20band=20inside=20KV-shared=20zone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- results/REGIMES.json | 4 ++-- scripts/parse_e4b_regimes.py | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 scripts/parse_e4b_regimes.py diff --git a/results/REGIMES.json b/results/REGIMES.json index 14c7bf4..ebd4c4d 100644 --- a/results/REGIMES.json +++ b/results/REGIMES.json @@ -32,9 +32,9 @@ "hidden": 2560, "workspace_band": null, "kv_share_start": 25, - "jbar": "results/jbar_e4b.pt (running 2026-07-15)", + "jbar": "results/jbar_e4b.pt (150/256 prompts \u2014 ckpt-salvaged)", "scan": "results/exp4_e4b.log", - "status": "scan in progress on Spark; kv sharing: last 18 of 42 layers" + "status": "mapped 2026-07-16, PROVISIONAL: no clear workspace signature. sensor L11-22 (peak 0.36@L22), motor onset L23 rising to 0.52@L41, persistence flat ~0.05-0.13 (E2B's band-entry persistence bump is ABSENT). Candidate thin band L23-28 sits inside the KV-shared zone (L24+) \u2014 band looping likely structurally hampered on E4B. Needs: ignition cross-check + full-prompt jbar top-up before strong claims." }, "google/gemma-4-31B-it": { "revision": "b9ea41a2887d8607f594846523f94c6cc75ac8a4", diff --git a/scripts/parse_e4b_regimes.py b/scripts/parse_e4b_regimes.py new file mode 100644 index 0000000..9e037cb --- /dev/null +++ b/scripts/parse_e4b_regimes.py @@ -0,0 +1,28 @@ +"""Reconstruct regimes_e4b.pt from the exp4_e4b.log table (the scan's +torch.save crashed on a relative path; the printed table is complete). +Provenance note stored in the tensor dict: jbar from 150/256 prompts.""" +import re + +import torch + +sensor, motor, persist, content = [], [], [], [] +pat = re.compile( + r"^L\s*(\d+) \| ([\d.]+)\s*#* *\| ([\d.]+)\s*#* *\| ([\d.]+) \| ([\d.]+)") +for line in open("results/exp4_e4b.log"): + m = pat.match(line.strip()) + if m: + _, s, mo, p, c = m.groups() + sensor.append(float(s)) + motor.append(float(mo)) + persist.append(float(p)) + content.append(float(c)) +assert len(sensor) == 42, len(sensor) +torch.save({"sensor": torch.tensor(sensor), "motor": torch.tensor(motor), + "persist": torch.tensor(persist), + "content": torch.tensor(content), + "note": "reconstructed from exp4_e4b.log; jbar 150/256 prompts"}, + "results/regimes_e4b.pt") +print("saved 42 layers") +print("sensor peak: L%d = %.2f" % (sensor.index(max(sensor)), max(sensor))) +print("motor >=0.1 from: L%d" % next( + i for i, v in enumerate(motor) if v >= 0.1))