weight-space-editor / README.md
factlogic's picture
Release the evaluated checkpoint, inference example and research paper
1fa5a85 verified
|
Raw History Blame Contribute Delete
936 Bytes
---
language:
- en
tags:
- pytorch
- model-editing
- research
datasets:
- AmazonScience/massive
---
# Weight-Space Editor
This network writes a third set of weights from two versions of a classifier and a few labeled examples. Trained on English and Spanish intent tasks, it raised group-balanced accuracy on unseen aircraft classifiers from **55.27% to 63.90%**. Across four benchmarks the mean was **87.82%**, compared with **86.64%** for validation-selected linear mixing. The clearest learned gain came from rewriting the classification head.
The checkpoint has 13,005 parameters. It expects aligned endpoints and labeled support and validation examples for every class.
Run the included synthetic example with `python inference.py`. [Usage](./usage.md) 路 [Six-page paper](./paper.pdf) 路 [Per-pair scores](./paired_scores.csv) 路 [Companion model](https://huggingface.co/factlogic/weight-response-predictor)