Skip to content

salesforce/gradient_tracing

Editing Arbitrary Propositions in LLMs without Subject Labels

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.

Acknowledgements

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).

Usage

INSTALLATION

Run the commands in instructions.txt to install the dependencies.

RUNNING

Run the experiments in experiments folder.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published