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
a8d172b3
"vscode:/vscode.git/clone" did not exist on "3df4f8cb43a66331b2bea985e22e5476a81c5b5a"
Commit
a8d172b3
authored
Apr 28, 2021
by
Mostofa Patwary
Browse files
removed commnets
parent
f415dc85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
tasks/finetune_utils.py
tasks/finetune_utils.py
+0
-4
No files found.
tasks/finetune_utils.py
View file @
a8d172b3
...
@@ -225,10 +225,6 @@ def _train(model, optimizer, lr_scheduler, forward_step,
...
@@ -225,10 +225,6 @@ def _train(model, optimizer, lr_scheduler, forward_step,
valid_dataloader
,
model
,
valid_dataloader
,
model
,
iteration
,
False
)
iteration
,
False
)
#if iteration == 1000:
# exit()
#break
# Checkpointing at the end of each epoch.
# Checkpointing at the end of each epoch.
if
args
.
save
:
if
args
.
save
:
save_checkpoint
(
iteration
,
model
,
optimizer
,
lr_scheduler
)
save_checkpoint
(
iteration
,
model
,
optimizer
,
lr_scheduler
)
...
...
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