Skip to content

Commit

Permalink
readme typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Jun 16, 2024
1 parent abfabb5 commit 07e01b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ Wrap in "iteration controls":
```julia
stop_conditions = [
Step(1), # Apply controls every epoch
NumberLimit(1000), # Don't train for more than 1000 steps
Patience(4), # Stop after 5 iterations of deteriation in validation loss
NumberSinceBest(5), # Or if the best loss occurred 9 iterations ago
TimeLimit(30/60), # Or if 30 minutes passed
NumberLimit(1000), # Don't train for more than 1000 steps
Patience(4), # Stop after 4 iterations of deteriation in validation loss
NumberSinceBest(5), # Or if the best loss occurred 5 iterations ago
TimeLimit(30/60), # Or if 30 minutes has passed
]

validation_losses = []
Expand Down

0 comments on commit 07e01b7

Please sign in to comment.