Skip to content

[NeurIPS24] Should We Really Edit Language Models? On the Evaluation of Edited Language Models.

Notifications You must be signed in to change notification settings

lqinfdim/EditingEvaluation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EditingEvaluation

This is the official code for NeurIPS24 Paper "Should We Really Edit Language Models? On the Evaluation of Edited Language Models."

Create Conda Environment

conda env create -f env.yml

and then

conda activate editingeval

Config

Dataset

Before running editing, you must download the dataset and set the path in the edit.py (line 54-55)

Cache

Setting KV and STAT cache dir in global.yml

Output Dir

Setting the output dir in run_edit.sh or run_edit_batch.sh

Running Experiments

After activate the editingeval environment, you can run edit with

bash run_edit.sh

About

[NeurIPS24] Should We Really Edit Language Models? On the Evaluation of Edited Language Models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages