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
49907915
Commit
49907915
authored
Dec 04, 2021
by
root
Browse files
update args
parent
ef9d1cc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tasks/main.py
tasks/main.py
+2
-0
No files found.
tasks/main.py
View file @
49907915
...
@@ -106,6 +106,8 @@ def get_tasks_args(parser):
...
@@ -106,6 +106,8 @@ def get_tasks_args(parser):
help
=
'datapath for golden sentences'
)
help
=
'datapath for golden sentences'
)
group
.
add_argument
(
'--spec-toks'
,
type
=
str
,
default
=
None
,
group
.
add_argument
(
'--spec-toks'
,
type
=
str
,
default
=
None
,
help
=
'additional special tokens'
)
help
=
'additional special tokens'
)
group
.
add_argument
(
'--out-seq-length'
,
type
=
int
,
default
=
100
,
help
=
'output sequence length'
)
return
parser
return
parser
...
...
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