Open paulyoussef opened 1 day ago
Hello,
The keep_original_weight
is deprecated in our new version, you can set sequential_edit
as True.
metrics, editedmodel, = editor.edit(
prompts=prompts,
ground_truth=ground_truth,
target_new=target_new,
subject=subject,
sequential_edit=True,
)
hi, do you have any further issue?
Thanks for the quick response. Where do I find more information about the new version?
Hi, I'm following the tutorial under tutorial-notebooks to edit GPT2-XL with ROME, but the weights of the edited layer are not changing. And in rome_main.py
keep_original_weight
is not used . See example and output below:The output is (compare weights before to weights after):