Open-source Weight Space Repair CLI fixes broken LLM weights, Qwen3.5-0.8B loop bug found
Top_Speaker_7785 · reddit · 2026-11-23
Testing Qwen3.5-0.8B with thinking on at MIT's weight-space-programming settings (temp 0.6, 32k cap), the author found 6 of 8 MATH-500 problems hit the token cap (5 looping in reasoning), with only 2 correct; thinking off: 0 caps, 5 correct. Across 40 more prompts, temp 0.6 looped 20 times while the model card's recommended 1.0 never did.
He open-sourced Weight Space Repair (wsr), a CLI extending the MIT approach:
- Multi-stage surgery: up to 4 stackable, rollback-able fixes judged against the original model (e.g. fluency edit plus a stacked refusal steering gate)
- Triage: checks template/sampler/context first, traces quant issues to tensors (q40 over-refusal traced to blk.16.attnv), then full-precision layer/head/neuron localization
- Isolated judging: agent never sees validation data; same-seed sign tests, 5-point minimum gain, regression suite, one-time confirmation set
- Fixes can be weight patches, steering gates, sampler settings, or stacks; patches record tensor SHA-256, export to GGUF via llama.cpp, ship with a judgment manifest
Results: planted blank-reply bug fixed 40/0; agent autonomously chose DRY over repetition penalty for list loops (30/1), lifting validation accuracy 80.7%→96.2%; over/under-refusal fixed with gates; Ukrainian-answered-in-Russian fixed 23/0 via staged weight edit + gate + DRY. Works with any agent via OpenAI-compatible endpoints.
More from Models
- Aleph Alpha ships Kolibri 1.1 just 7 weeks after launch, weights under Apache 2.0 — Nils_Reimers · 2026-11-23
- Unannounced Ling 3.2 Air model spotted on Artificial Analysis — Loighic · 2026-11-23
- humans& opens Persimmon group-chat simulation model plus Weaviate podcast — eshorten300 · 2026-11-23
- Free-tier user asks: is AI actually getting dumber since GPT-5? — DanteDarkKnight-Tbf · 2026-11-23
- Qwen4-Max is 4.4x cheaper per token, yet cost more on some tasks — Arindam_1729 · 2026-11-23
- dhh: Gemini 4 Neon cut Omarchy boot time in half — cgarciae88 · 2026-11-23