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

Add HyperSphere Normalization #362

Closed
gkielian opened this issue Jan 19, 2025 · 2 comments · Fixed by #361
Closed

Add HyperSphere Normalization #362

gkielian opened this issue Jan 19, 2025 · 2 comments · Fixed by #361
Assignees

Comments

@gkielian
Copy link
Collaborator

Test out norm variation that simply maps to the surface of a hypersphere.

@gkielian gkielian self-assigned this Jan 19, 2025
@gkielian
Copy link
Collaborator Author

Add hypersphere norm variation #361

Relates to the above pull request

@gkielian gkielian linked a pull request Jan 19, 2025 that will close this issue
@gkielian
Copy link
Collaborator Author

Results from sweep on small model definitely show some affects of radius, though it is indeed around the sqrt embedding dim:

Image

May need to test on a larger network in order to see more definitive differences from slight effects like removing the gain, however it seems for this network hyperspherenorm is really just as good as rmsnorm for conventional radius.

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 a pull request may close this issue.

1 participant