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
f21a6628
Commit
f21a6628
authored
May 18, 2021
by
Mostofa Patwary
Browse files
updated the evaluation script for retriver
parent
dfb6a9b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
megatron/data/biencoder_dataset_utils.py
megatron/data/biencoder_dataset_utils.py
+0
-1
No files found.
megatron/data/biencoder_dataset_utils.py
View file @
f21a6628
...
@@ -20,7 +20,6 @@ def make_attention_mask(source_block, target_block):
...
@@ -20,7 +20,6 @@ def make_attention_mask(source_block, target_block):
# (source_length, target_length)
# (source_length, target_length)
return
mask
return
mask
def
get_one_epoch_dataloader
(
dataset
,
micro_batch_size
=
None
):
def
get_one_epoch_dataloader
(
dataset
,
micro_batch_size
=
None
):
"""Specifically one epoch to be used in an indexing job."""
"""Specifically one epoch to be used in an indexing job."""
args
=
get_args
()
args
=
get_args
()
...
...
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