Skip to content

Commit

Permalink
gradient_accumulation_steps fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jaidhyani committed Apr 20, 2024
1 parent 8e6245b commit 7f69c00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/stories/llama2/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"batch_size": 256,
"max_epochs": 10,
"grad_clip": 1.0,
"gradient_accumulation_steps": 1,
"adam": {
"gradient_accumulation_steps": 1,
"learning_rate": 0.0005,
"weight_decay": 0.1,
"beta1": 0.9,
Expand Down
2 changes: 1 addition & 1 deletion configs/stories/mamba/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"batch_size": 256,
"max_epochs": 10,
"grad_clip": 1.0,
"gradient_accumulation_steps": 1,
"adam": {
"gradient_accumulation_steps": 1,
"learning_rate": 0.0005,
"weight_decay": 0.1,
"beta1": 0.9,
Expand Down

0 comments on commit 7f69c00

Please sign in to comment.