Skip to content

Commit

Permalink
fix valid shuffling
Browse files Browse the repository at this point in the history
  • Loading branch information
sichu2023 committed Aug 29, 2024
1 parent 740f2b6 commit 8c0daad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def setup(self, stage: str = "") -> None:
tokenizer=self._tokenizer,
)
self._valid_ds = self._sample_and_shuffle_dataset(
_valid_ds, num_val_samples, "val"
_valid_ds, None, "val"
) # shuffle manually without cyclic MegatronPretrainingRandomSampler

assert (
Expand Down

0 comments on commit 8c0daad

Please sign in to comment.