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
If I want to freeze other components of the model or freeze entire some layer of the encoder or decoder, how can I determine the correct names for these components? I observed that the notation in the configuration file differs from the notation used when printing the model structure.
Thank you for your response.
Best wishes
The text was updated successfully, but these errors were encountered:
Yes, I am looking for these definitions. However, if I want to freeze an entire layer of the encoder or decoder, how should I modify it? For example, if the decoder has 12 layers and I want to freeze layers 3 to 9.
Sorry, I just realized I never replied! In BLOCKS2REGEX you can define any RegEx pattern you want. So you can define a new "block" that has associated a RegEx that targets those layers.
Hello,
I noticed that the configuration file includes parameter freezing operations:
freeze_layers: encoder.feat_extr, encoder.ffn, decoder.embedding, decoder.self_attn, decoder.ffn
If I want to freeze other components of the model or freeze entire some layer of the encoder or decoder, how can I determine the correct names for these components? I observed that the notation in the configuration file differs from the notation used when printing the model structure.
Thank you for your response.
Best wishes
The text was updated successfully, but these errors were encountered: