Closed wxz2002 closed 3 months ago
Thank you very much for your interest in EasyEdit. You can try setting mlp_module_tmp
in the configuration file to the corresponding fc2
.
Typically, the target layer for editing is the value linear layer, which is the dimension-reducing fc2. This approach can be applied to all similar Decoder-only models.
You can use [n for n, p in model.named_parameters()]
to check the module names.
If all your issues have been resolved, please help close this issue.
Thank you for your excellent work. I am now trying to see if I can edit more models using the ROME method. However, the structure of the opt-2.7b model does not include a direct MLP layer. ` (layers): ModuleList(
So what should I set the mlp_module_tmp to in the configuration file? Could you please provide some suggestions?