Skip to content

Commit

Permalink
Turn shuffling back on
Browse files Browse the repository at this point in the history
Signed-off-by: Alex-Brooks <[email protected]>
  • Loading branch information
alex-jw-brooks committed Sep 12, 2023
1 parent 161e14d commit d0a192c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions caikit_nlp/modules/text_generation/text_generation_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,8 @@ def _preprocess_function(
"max_target_length": max_target_length,
},
)
if shuffle:
return mapped_dataset.shuffle()
return mapped_dataset

@staticmethod
Expand Down

0 comments on commit d0a192c

Please sign in to comment.