--- title: attention-closes executor (private) emoji: 🔒 colorFrom: blue colorTo: purple sdk: gradio app_file: app.py pinned: false --- # Private executor — "When Attention Closes" reproduction (arXiv:2605.12922v2) Runs the stage named in `stage.txt` on every restart using the shared stage code (`executor_entrypoint.py`, byte-identical with the org executor [Neurips-2026-MLIntern-Repro/attention-closes-executor](https://huggingface.co/spaces/Neurips-2026-MLIntern-Repro/attention-closes-executor)). Results are pushed to [Frame17/attention-closes-repro](https://huggingface.co/datasets/Frame17/attention-closes-repro) (direct write) and best-effort as PRs to [Neurips-2026-MLIntern-Repro/attention-closes-repro](https://huggingface.co/datasets/Neurips-2026-MLIntern-Repro/attention-closes-repro) under `logs/`, and displayed in the UI. **Setup (one time):** 1. Settings → Variables and secrets → New secret `HF_TOKEN`: a fine-grained token with read access to the gated `mistralai/Mistral-7B-Instruct-v0.3` and write access to `Frame17/attention-closes-repro`. 2. Hardware is already L40S (bills ~$1.80/h whenever running — pause the Space when idle). **Stages** (edit `stage.txt` first line, then restart the Space): - `mirror` — parity check with the org Space, executes nothing - `smoke` — SW-mask unit check + 2 full 50-turn task2 episodes under SW=4096 and default - `run-default` — task1 default (100 eps) then task2 default (100 eps) - `run-sw` — task1 SW=4096 (50 eps) then task2 SW=4096 (50 eps) - `aggregate` — aggregate all four cells: r50, post-crossover recall, Wilson CIs Cells are resumable: each restart restores the previous output file from the mirror repo and skips completed episodes. Run order: `smoke` → `run-default` → (restart) → `run-sw` → (restart) → `aggregate`. Pause the Space after `aggregate` to stop GPU billing.