Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
XingyuXie authored Sep 2, 2022
1 parent 920e25b commit 2dcf125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ In all experiments, we set `no-prox=False` in our paper.
**Step 2.** creat the Adan optimizer as follows. In this step, we can directly replace the vanilla optimizer by using the following command:

```python
from adam import Adan
from adan import Adan
optimizer = Adan(param, lr=args.lr, weight_decay=args.weight_decay, betas=args.opt_betas, eps = args.opt_eps, max_grad_norm=args.max_grad_norm, no_prox=args.no_prox)
```

Expand Down

0 comments on commit 2dcf125

Please sign in to comment.