Toby:

The previous and now variables always return the same:


you are storing reference to the weight in previous and now variables.
Store the cloned weight in previous (previous = model.head[12].weight.clone()). You will see the changes.