github.com
FastEdit is a repository intended to help developers inject fresh and customized knowledge into large language models using one command. It supports models including GPT-J, LLaMA, LLaMA-2, BLOOM, Falcon, Baichuan, and InternLM. The implemented algorithm is Rank-One Model Editing (ROME). It requires Python 3.8+ and PyTorch 1.13.1+.