LaplacesScissors
A research tool that rotates the output matrix of open language models to repair failed answers.
What does it do?
After preparing model weights and run inputs, the probe command examines directions that poorly distinguish output distributions and their associated weight coordinates. Given JSONL cases containing correct answer strings, diagnose finds candidate rotations to repair failed answers and checks actual GPU output to see whether previously successful answers remain correct. Input and model hashes, divergence measurements, preservation errors, and other results are recorded in a JSON file. The same edit policy can also be applied to multiple checkpoints to analyze differences from a reference curve.
Key features
- Examines weak output discrimination directions and related coordinates using model weights
- Calculates rotational edits for failed answers from JSONL cases with correct answer strings
- Checks preservation of previously correct answers using actual GPU output
- Saves measurements and preservation errors in a JSON results file
- Applies the same edit policy to multiple checkpoints to analyze scaling differences