Who it is forAn AI safety researcher who needs to measure how a refusal direction changes one fixed model's answers.
The problemComparing two separate checkpoints mixes weight differences with behavior differences, which makes results hard to attribute.
The outcomeTwo replies to the same prompt from the same pack and process, so any difference comes from the runtime projection alone.
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 -c "from huggingface_hub import snapshot_download; print(snapshot_download('prism-ml/Ternary-Bonsai-2-27B-mlx-2bit'))"(prints the snapshot directory to use as the pack path) (inferred, check the README)python run.py --pack /path/to/Ternary-Bonsai-2-27B-mlx-2bit --alpha 0 "your prompt"(inferred, check the README)python run.py --pack /path/to/Ternary-Bonsai-2-27B-mlx-2bit --alpha 1 "your prompt"(inferred, check the README)- Compare the two replies for each prompt in your set and record which ones refuse.
Prompt for your agent
Using the repo Continuum-AI-Corp/OrcaBonsai-27B-Uncensored, run run.py with --pack set to <pack-path> and the same prompt at --alpha 0 and then --alpha 1. Expected output: two replies to the same prompt, shown side by side. Verify that both runs used the identical --pack path.
Caveat. The README notes that wrapping only some layers is not enough and that the pack must load through its bundled runtime, so use run.py rather than a generic MLX loader.
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 "Compare refusal behavior with and without ablation"
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