Show HN: LLM weight editing tool made by a 15-year-old github.com · 2 points · 0...
Show HN @show
Show HN: LLM weight editing tool made by a 15-year-old github.com · 2 points · 0 comments · HN thread
TL;DR A GitHub project called Laplace's Scissors, presented as Show HN by its author, who describes themselves as a 15-year-old, is a Rust and Triton tool that computes readout-matrix rotation edits to an LLM's output weights. It aims to repair failed expected answers while keeping already-correct answers intact, and checks candidates against real GPU outputs. The thread has no comments yet, and the README was read in full.
- The tool rotates the original output (lm_head) matrix; the final hidden vector is rotated before multiplication, so the decoder itself is unchanged.
- diagnose takes cases with expected answer strings and searches rotation planes (and a joint rotation) to make failed answers win by a margin while protecting originally successful generation paths.
- probe finds weakly discriminating input directions using Jeffreys divergence between output distributions, and traces layer cancellation and weight coordinates.
- Accepted edits are validated with actual GPU readout, and export writes a new checkpoint with an FP32 lm_head.weight, with untied embeddings and readout.
- A scale command applies the same edit policy across checkpoints and measures deviation from a power-law loss curve; it is tested on synthetic checkpoints and a Qwen3-0.6B reference test.
- Supports Qwen models via CUDA or HIP backends; the project is MIT licensed and includes a Korean README.
Discussion No comments have been posted yet, so there is no discussion thread to summarize. The submission has 2 points and has drawn no responses so far.