Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: different normalization layers at different depths #199

Open
pfeatherstone opened this issue Oct 24, 2023 · 0 comments
Open

Comments

@pfeatherstone
Copy link
Contributor

In my research, RMSNorm and SimpleRMSNorm allow my models to converge early, but not necessarily fast. ScaleNorm converges the fastest, but there is a substantial delay in when it starts. LayerNorm is the worst in my use-case as it's quite unstable.
Furthermore, both RMSNorm and SimpleRMSNorm have undesirable side-effects at the output of my model due to my loss functions and boundary constraints. ScaleNorm does not suffer from this.

So, what would be cool, is to specify different normalizations at different depths. In my use-case, I would like to experiment with using SimpleRMSNorm in the early layers, then switch to ScaleNorm in the last layers.

Cheers

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

No branches or pull requests

1 participant