Skip to content

Commit

Permalink
Remove change to training_epochs
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <[email protected]>
  • Loading branch information
lebrice committed Jun 29, 2023
1 parent 5c66038 commit 65e3822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docs/examples/good_practices/checkpointing/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ repository.
+
def main():
- training_epochs = 10
+ training_epochs = 5
training_epochs = 10
learning_rate = 5e-4
weight_decay = 1e-4
batch_size = 128
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/good_practices/checkpointing/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class RunState(TypedDict):


def main():
training_epochs = 5
training_epochs = 10
learning_rate = 5e-4
weight_decay = 1e-4
batch_size = 128
Expand Down

0 comments on commit 65e3822

Please sign in to comment.