A repo containing code for the paper
@article{feigenbaum2024editing,
title={Editing Arbitrary Propositions in LLMs without Subject Labels},
author={Feigenbaum, Itai and Arpit, Devansh and Wang, Huan and Heinecke, Shelby and Niebles, Juan Carlos and Yao, Weiran and Xiong, Caiming and Savarese, Silvio},
journal={arXiv preprint arXiv:2401.07526},
year={2024}
}
This is a work in progress and is not yet properly organized and documented. Please check back for a more polished version at a later time.
Much of the code here is taken, either as-is or modified, from the ROME repository, which contains the code for the paper "Locating and Editing Factual Associations in GPT" by Meng et al. (NeurIPS 2022).
Run the commands in instructions.txt
to install the dependencies.
Run the experiments in experiments
folder.