Skip to content

Conversation

RyanKim17920
Copy link

Modified layer norms in the encoder layers to fit more closely to the original ViT paper.

Modified layer norms in the encoder layers to fit more closely to the original ViT paper.
@tonyyunyang
Copy link

There is this prenorm and postnorm issue. I believe the author went for postnorm as it stabilizes the training. GPT2 experienced unstable training issue due to prenorm, and since then all GPT uses postnorm.

@RyanKim17920
Copy link
Author

Oh, that's interesting, thanks for letting me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants