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
4bea4e76
Commit
4bea4e76
authored
Feb 11, 2021
by
Mostofa Patwary
Browse files
Merge branch 'main_retriver_merge' into main_retriver_merge_ict_eval
parents
613d0fe8
22a3d81a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
megatron/data/biencoder_dataset_utils.py
megatron/data/biencoder_dataset_utils.py
+0
-4
No files found.
megatron/data/biencoder_dataset_utils.py
View file @
4bea4e76
...
@@ -125,10 +125,6 @@ def get_block_samples_mapping(block_dataset, title_dataset, data_prefix, num_epo
...
@@ -125,10 +125,6 @@ def get_block_samples_mapping(block_dataset, title_dataset, data_prefix, num_epo
print_rank_0
(
' > building samples index mapping for {} ...'
.
format
(
print_rank_0
(
' > building samples index mapping for {} ...'
.
format
(
name
))
name
))
# compile/bind the C++ helper code
from
megatron.data.dataset_utils
import
compile_helper
compile_helper
()
from
megatron.data
import
helpers
from
megatron.data
import
helpers
mapping_array
=
helpers
.
build_blocks_mapping
(
mapping_array
=
helpers
.
build_blocks_mapping
(
block_dataset
.
doc_idx
,
block_dataset
.
doc_idx
,
...
...
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