We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Adafactor paper (section 6) suggests "update clipping" instead of the usual "gradient clipping".
"Update clipping" here means clipping the update after all the fancy moment stuff has been applied (line 9 above)
However, the alias defined in alias.py clips the initial gradients:
https://github.com/deepmind/optax/blob/master/optax/_src/alias.py#L132-L140
Is this deliberate? FWIW, t5x's adafactor implements update clipping: https://github.com/google-research/t5x/blob/03dfc44be7f9a93d34c1d7fd6f896d1c364a7d4d/t5x/adafactor.py#L470-L476
The text was updated successfully, but these errors were encountered:
Thanks for the question!
@mtthss could you comment on this, since you're the one who ported Adafactor from Flax?
Sorry, something went wrong.
mtthss
No branches or pull requests
The Adafactor paper (section 6) suggests "update clipping" instead of the usual "gradient clipping".
"Update clipping" here means clipping the update after all the fancy moment stuff has been applied (line 9 above)
However, the alias defined in alias.py clips the initial gradients:
https://github.com/deepmind/optax/blob/master/optax/_src/alias.py#L132-L140
Is this deliberate? FWIW, t5x's adafactor implements update clipping: https://github.com/google-research/t5x/blob/03dfc44be7f9a93d34c1d7fd6f896d1c364a7d4d/t5x/adafactor.py#L470-L476
The text was updated successfully, but these errors were encountered: