Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyouga committed Feb 3, 2024
1 parent 6545c02 commit 51df865
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/llmtuner/data/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@ def get_dataset(
dataset = dataset.to_iterable_dataset()
return dataset

if data_args.streaming:
raise ValueError("Turn off dataset streaming to save cache files.")

with training_args.main_process_first(desc="load dataset"):
all_datasets = []
for dataset_attr in get_dataset_list(data_args): # TODO: add split
Expand Down

0 comments on commit 51df865

Please sign in to comment.