alignment-handbook icon indicating copy to clipboard operation
alignment-handbook copied to clipboard

Is there a way to freeze some layers of a model ?

Open shamanez opened this issue 11 months ago • 0 comments

Can we follow the normal way of:

for param in model.base_model.parameters():
    param.requires_grad = False

shamanez avatar Mar 12 '24 02:03 shamanez