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
For LlamaForCausalLM, model.layers.{lnum}.post_attention_layernorm.weight marks the position before MLP block,while model.layers.{lnum}.mlp.input_layernorm.weight marks the position before Attention block. I wonder how you determine if their location is correct.
The text was updated successfully, but these errors were encountered:
In your code, the mappings of 2 layernorm weights are:
For LlamaForCausalLM,
model.layers.{lnum}.post_attention_layernorm.weight
marks the position before MLP block,whilemodel.layers.{lnum}.mlp.input_layernorm.weight
marks the position before Attention block. I wonder how you determine if their location is correct.The text was updated successfully, but these errors were encountered: