Skip to content

Commit

Permalink
Pass mock to GPTDatasetConfig
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Koumparoulis <[email protected]>
  • Loading branch information
akoumpa committed Sep 10, 2024
1 parent 4259169 commit 6e987de
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1598,6 +1598,7 @@ def build_train_valid_test_datasets(self):
dataset_type = GPTFIMDataset
else:
dataset_config = GPTDatasetConfig(**kwargs)
dataset_config.mock = mock_dataset
dataset_type = MockGPTDataset if mock_dataset else GPTDataset

self._train_ds, self._validation_ds, self._test_ds = BlendedMegatronDatasetBuilder(
Expand Down

0 comments on commit 6e987de

Please sign in to comment.