Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Megatron-LM
Commits
1f45adcc
Commit
1f45adcc
authored
Apr 16, 2020
by
Mohammad
Browse files
latest
parent
ca19a8b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
examples/pretrain_bert_distributed.sh
examples/pretrain_bert_distributed.sh
+1
-0
examples/pretrain_gpt2_distributed.sh
examples/pretrain_gpt2_distributed.sh
+1
-0
No files found.
examples/pretrain_bert_distributed.sh
View file @
1f45adcc
...
@@ -32,6 +32,7 @@ python -m torch.distributed.launch $DISTRIBUTED_ARGS \
...
@@ -32,6 +32,7 @@ python -m torch.distributed.launch $DISTRIBUTED_ARGS \
--distributed-backend
nccl
\
--distributed-backend
nccl
\
--lr
0.0001
\
--lr
0.0001
\
--lr-decay-style
linear
\
--lr-decay-style
linear
\
--min-lr
1.0e-5
\
--lr-decay-iters
990000
\
--lr-decay-iters
990000
\
--weight-decay
1e-2
\
--weight-decay
1e-2
\
--clip-grad
1.0
\
--clip-grad
1.0
\
...
...
examples/pretrain_gpt2_distributed.sh
View file @
1f45adcc
...
@@ -36,6 +36,7 @@ python -m torch.distributed.launch $DISTRIBUTED_ARGS \
...
@@ -36,6 +36,7 @@ python -m torch.distributed.launch $DISTRIBUTED_ARGS \
--distributed-backend
nccl
\
--distributed-backend
nccl
\
--lr
0.00015
\
--lr
0.00015
\
--lr-decay-style
cosine
\
--lr-decay-style
cosine
\
--min-lr
1.0e-5
\
--weight-decay
1e-2
\
--weight-decay
1e-2
\
--clip-grad
1.0
\
--clip-grad
1.0
\
--warmup
.01
\
--warmup
.01
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment