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
0c01c2fe
Commit
0c01c2fe
authored
Mar 29, 2021
by
Mostofa Patwary
Browse files
fix one more issue
parent
43d307d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/openwebtext/cleanup_fix_dataset.py
tools/openwebtext/cleanup_fix_dataset.py
+1
-1
No files found.
tools/openwebtext/cleanup_fix_dataset.py
View file @
0c01c2fe
...
...
@@ -75,7 +75,7 @@ def process_doc(json_line, args):
except
Exception
as
e
:
print
(
'Error: *************************
\n
{}
\n
text: {}'
.
format
(
e
,
\
text
),
flush
=
True
)
return
output
,
text
,
True
return
output
,
text
,
document
,
True
# don't remove
return
output
,
text
,
document
,
False
...
...
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