You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While going through the code, I noticed the way to froze the LLM is to setting requires_grad=False for both input and output embeddings. Though I do understand this implementation can block the backpropagation for those parameters between the input and output layers, I still concerned about whether it would make it slow during training because gradients of parameters with requires_grad=True in the LLM may still be calculated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, thanks for your work!
While going through the code, I noticed the way to froze the LLM is to setting
requires_grad=False
for both input and output embeddings. Though I do understand this implementation can block the backpropagation for those parameters between the input and output layers, I still concerned about whether it would make it slow during training because gradients of parameters withrequires_grad=True
in the LLM may still be calculated.Beta Was this translation helpful? Give feedback.
All reactions