Who it is forAn ML engineer about to run evaluations on this pack who needs to know the intervention is actually applied.
The problemIf the residual writers are not wrapped correctly, results look like the unmodified model and the ablation silently does nothing.
The outcomeA confirmed count of 129 wrapped residual writers and a near-zero remaining refusal-direction component after intervention.
What you need first
- An Apple Silicon Mac with MLX, as the README describes
- Python with pip to install requirements.txt
- The original prism-ml/Ternary-Bonsai-2-27B-mlx-2bit pack, which you supply yourself
Steps
pip install -r requirements.txtpython scripts/selfcheck.py --pack /path/to/Ternary-Bonsai-2-27B-mlx-2bit(inferred, check the README)- Check that the output reports 129 residual writers and that the remaining component is approximately 1e-6 of the residual norm.
python scripts/test_ablation.py- Record the results and do not run evaluations if the count or the residual value is wrong.
Prompt for your agent
In the repo Continuum-AI-Corp/OrcaBonsai-27B-Uncensored, run python scripts/selfcheck.py with --pack set to <pack-path>. Expected output: 129 residual writers detected and a remaining refusal-direction component near 1e-6 of the residual norm. Verify both numbers before reporting success.
Caveat. The README says the packed quantized matmul has no CUDA implementation, so the 27B pack path targets Apple Silicon, while scripts/test_ablation.py is model-free and does not need the pack.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Continuum-AI-Corp/OrcaBonsai-27B-Uncensored and "Confirm the ablation hooks fire before evaluating"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer