Skip to content

Commit

Permalink
Update megatron/data/gpt_dataset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
saforem2 committed Oct 16, 2024
1 parent 52a406c commit 63b1901
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions megatron/data/gpt_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ def _build_indices():
for i in range(self.num_datasets):
self.desc += dataset_builders[i].prefix + ","

log.info(
f"[BuildConcatDataset] Caught {shuffle=} across"
f" {self.num_samples} samples"
)
self.desc += (
f"-{self.num_samples}"
+ f"-{dataset_builders[0].seq_length}"
Expand Down

0 comments on commit 63b1901

Please sign in to comment.