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
826d2452
Commit
826d2452
authored
Sep 29, 2020
by
Mostofa Patwary
Browse files
fix of few uninitialized varibles
parent
1f3f834c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
tools/generate_samples_gpt2.py
tools/generate_samples_gpt2.py
+0
-1
No files found.
tools/generate_samples_gpt2.py
View file @
826d2452
...
@@ -87,7 +87,6 @@ def main():
...
@@ -87,7 +87,6 @@ def main():
# Generate samples.
# Generate samples.
if
args
.
num_samples
==
0
:
if
args
.
num_samples
==
0
:
args
.
batch_size
=
1
args
.
batch_size
=
1
print
(
args
.
sample_input_file
)
if
args
.
sample_input_file
!=
None
:
if
args
.
sample_input_file
!=
None
:
generate_samples_input_from_file
(
model
)
generate_samples_input_from_file
(
model
)
else
:
else
:
...
...
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