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
f6ddeca0
Commit
f6ddeca0
authored
Feb 18, 2021
by
Mostofa Patwary
Browse files
Added an example
parent
2f6e46bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tools/openwebtext/find_duplicates.py
tools/openwebtext/find_duplicates.py
+3
-2
No files found.
tools/openwebtext/find_duplicates.py
View file @
f6ddeca0
...
@@ -42,8 +42,9 @@ if __name__ == '__main__':
...
@@ -42,8 +42,9 @@ if __name__ == '__main__':
print
(
'parsing the inputs ...'
)
print
(
'parsing the inputs ...'
)
parser
=
argparse
.
ArgumentParser
()
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
'--inputs'
,
nargs
=
'*'
,
default
=
None
,
help
=
'List of '
parser
.
add_argument
(
'--inputs'
,
nargs
=
'*'
,
default
=
None
,
help
=
'Pairwise'
'the input files'
)
' list of the input files and keys, e.g. --inputs '
' cc.json cc_id news.json news_id'
)
parser
.
add_argument
(
'--load-fingerprints'
,
type
=
str
,
default
=
None
,
parser
.
add_argument
(
'--load-fingerprints'
,
type
=
str
,
default
=
None
,
help
=
'Load the fingerprints from pickle file.'
)
help
=
'Load the fingerprints from pickle file.'
)
parser
.
add_argument
(
'--save-fingerprints'
,
type
=
str
,
default
=
None
,
parser
.
add_argument
(
'--save-fingerprints'
,
type
=
str
,
default
=
None
,
...
...
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