msakarvadia / memorization

Localizing Memorized Sequences in Language Models
https://mansisak.com/memorization/
MIT License
7 stars 0 forks source link

Weight-level pruning #19

Closed msakarvadia closed 5 months ago

msakarvadia commented 7 months ago

train one model on only noise (this is your task vector)

train one model on clean+noise (model w/ memorization)

to mitigate memorization subtract your task vector from model w/ memorization

Maybe invent my own technique which is a mix between greedy iterative pruning and OBS:

msakarvadia commented 5 months ago
msakarvadia commented 5 months ago
msakarvadia commented 5 months ago

This current repo has all of the weight-level methods we are going to support for now.