This repository was archived by the owner on Nov 20, 2026. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When loading the pretrained msa transformer, in the function esm.pretrained._load_model_and_alphabet_core_v1 there is the following section of code:
prs3 swaps all state dict keys containing 'row' with 'column' and vice versa. Why is this happening? This seems to have the end effect of swapping the weights of the AxialTransformerLayers, treating row attention as column attention and vice versa, which is very counterintuitive. Some insight into this would be welcome.
All reactions