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
4e8f8c5e
Commit
4e8f8c5e
authored
Feb 03, 2021
by
Mostofa Patwary
Browse files
fixed arguments
parent
78a3dc32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
megatron/arguments.py
megatron/arguments.py
+2
-2
No files found.
megatron/arguments.py
View file @
4e8f8c5e
...
@@ -675,8 +675,8 @@ def _add_biencoder_args(parser):
...
@@ -675,8 +675,8 @@ def _add_biencoder_args(parser):
# training
# training
group
.
add_argument
(
'--report-topk-accuracies'
,
nargs
=
'+'
,
type
=
int
,
group
.
add_argument
(
'--report-topk-accuracies'
,
nargs
=
'+'
,
type
=
int
,
default
=
[],
help
=
'
Which top-k accuracies to report
'
default
=
[],
help
=
"
Which top-k accuracies to report
"
'
(e.g. '
1
5
20
')
'
)
"
(e.g. '1 5 20')
"
)
group
.
add_argument
(
'--retriever-score-scaling'
,
action
=
'store_true'
,
group
.
add_argument
(
'--retriever-score-scaling'
,
action
=
'store_true'
,
help
=
'Whether to scale retriever scores by inverse '
help
=
'Whether to scale retriever scores by inverse '
'square root of hidden size'
)
'square root of hidden size'
)
...
...
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