platos-imprint
divergentlabsxyz
Research code and paper for closed-form cross-model factual knowledge transfer and weight consolidation across language models.
What is divergentlabsxyz/platos-imprint?
Plato's Imprint is an MIT-licensed research repository containing the codebase, pinned model manifests, JSON experiment logs, figure generators, and six-page LaTeX paper by Nick Vernij on cross-model knowledge transfer. The method aligns multi-layer factual trajectories across independently trained language model families and consolidates them permanently into a recipient model's MLP down-projection weights via sequential Woodbury null-space updates.
By operating in closed form, the consolidation process uses zero gradient descent and zero target-token supervision, allowing the donor model to remain completely unplugged at inference time. Committed results verify gains transferring facts between Mistral-7B and Qwen2.5-7B, alongside position-0 attention-sink ablations and a 64x scale study spanning Qwen2.5 models from 0.5B to 32B parameters.
Researchers can reproduce figures and run a CPU verification script directly on committed JSON logs, or download pinned Hugging Face model checkpoints via the included scripts.
Before you startThe README says
- Runs on
- Python environment (CPU log verification supported; model runs need local weights)
- Needs
- Python dependencies in requirements.txt and downloaded Hugging Face model weights
- How you get it
- Clone GitHub repository and fetch pinned model weights via fetch scripts
Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.