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
825375cf
Commit
825375cf
authored
May 18, 2021
by
Mostofa Patwary
Browse files
updated the evaluation script for retriver
parent
a41e4781
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
tasks/main.py
tasks/main.py
+0
-6
No files found.
tasks/main.py
View file @
825375cf
...
@@ -77,18 +77,12 @@ def get_tasks_args(parser):
...
@@ -77,18 +77,12 @@ def get_tasks_args(parser):
# parameters for Av.rank validation method
# parameters for Av.rank validation method
# Following options/arguments have been taken directly from DPR codebase
# Following options/arguments have been taken directly from DPR codebase
#group.add_argument("--val-av-rank-start-epoch", type=int, default=10000,
# help="Av.rank validation: the epoch from which to enable this validation")
group
.
add_argument
(
'--val-av-rank-hard-neg'
,
type
=
int
,
default
=
30
,
group
.
add_argument
(
'--val-av-rank-hard-neg'
,
type
=
int
,
default
=
30
,
help
=
'Av.rank validation: how many hard negatives to'
help
=
'Av.rank validation: how many hard negatives to'
' take from each question pool'
)
' take from each question pool'
)
group
.
add_argument
(
'--val-av-rank-other-neg'
,
type
=
int
,
default
=
30
,
group
.
add_argument
(
'--val-av-rank-other-neg'
,
type
=
int
,
default
=
30
,
help
=
'Av.rank validation: how many other negatives to'
help
=
'Av.rank validation: how many other negatives to'
' take from each question pool'
)
' take from each question pool'
)
#group.add_argument("--val-av-rank-bsz", type=int, default=128,
# help="Av.rank validation: batch size to process passages")
#group.add_argument("--val-av-rank-max-qs", type=int, default=10000,
# help="Av.rank validation: max num of questions")
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