Skip to content

Typo fixes #125

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

Merged
merged 1 commit into from
Jun 3, 2022
Merged
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions labml_nn/optimizers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

### Parameter groups
PyTorch optimizers group parameters into sets called groups.
Each group can have it's own hyper-parameters like learning rates.
Each group can have its own hyper-parameters like learning rates.

In most common cases there will be only one group.
This is when you initialize your optimizer with,
Expand All @@ -47,7 +47,7 @@
Optimizer([{'params': model1.parameters()}, {'params': model2.parameters(), 'lr': 2}])
```

Here we pass a list of groups. Each group is a dictionary with it's parameters under the key 'params'.
Here we pass a list of groups. Each group is a dictionary with its parameters under the key 'params'.
You specify any hyper-parameters as well. If the hyper parameters are not defined they will default
to the optimizer level defaults.

Expand Down