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

Implementation of MoMo algorithm #721

Merged
merged 27 commits into from
Apr 23, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update optax/contrib/momo.py
Co-authored-by: Fabian Pedregosa <pedregosa@google.com>
  • Loading branch information
fabian-sp and fabianp authored Jan 20, 2024
commit 1fade90f1bce6d3ce6bd9c4df8529ab32d72c042
2 changes: 1 addition & 1 deletion optax/contrib/momo.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def momo(
learning_rate: base.ScalarOrSchedule = 1.0,
beta: float = 0.9,
lb: float = 0.0,
weight_decay: float = 0,
weight_decay: float = 0.,
delta: float = 1e-10
) -> base.GradientTransformationExtraArgs:
"""Adaptive Learning Rates for SGD with momentum.
Expand Down
Loading