✨Overview
Last updated
Last updated
EasyEdit is a Python package built upon PyTorch for edit Large Language Models (LLM) like GPT-J
, Llama
, GPT-NEO
, GPT2
, T5
(support models from 1B to 65B), altering the behavior of LLMs efficiently without negatively impacting performance across other inputs.
If you find EasyEdit useful, please kindly cite this paper.
Deployed models may still make unpredictable errors. For example, Large Language Models (LLMs) notoriously hallucinate, perpetuate bias, and factually decay, so we should be able to adjust specific behaviors of pre-trained models.
Model editing aims to adjust an initial base model's () behavior on the particular edit descriptor efficiently, such as(The president of USA: Donald Trump -> Joe Biden):
: Who is the president of the US
: Joe Biden
without influencing the model behavior on unrelated samples. The ultimate goal is to create an edited model ().
You can go colab directly