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