Who it is forA researcher studying how intervention strength affects refusals and answer quality on a fixed compressed model.
The problemA binary on or off test hides the middle range, where the model may partly refuse or give hedged answers.
The outcomeA small table of replies at alpha 0, 0.5, 0.7, 0.9, and 1.0 for the same prompts, all on the same weights.
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 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 0.5 "your prompt"(inferred, check the README)python run.py --pack /path/to/Ternary-Bonsai-2-27B-mlx-2bit --alpha 0.7 "your prompt"(inferred, check the README)- Repeat with
--alpha 1and record each reply in a table keyed by alpha value.
Prompt for your agent
Using the repo Continuum-AI-Corp/OrcaBonsai-27B-Uncensored, run run.py on the same prompt with --alpha set to 0, 0.5, 0.7, and 1, using --pack <pack-path>. Expected output: four replies, one per alpha value, arranged in a table. Verify that the alpha value printed or passed matches each run.
Caveat. The README warns that alpha above 1.0 is over-projection that may degrade model quality, so keep the sweep at or below 1.0 unless you are testing that effect on purpose.
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 "Sweep alpha values to map partial ablation strength"
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