add use_streaming
Former-commit-id: 80388abdb7ee88eb4afad92d8c706370c0574039
This commit is contained in:
@@ -65,7 +65,7 @@ def get_dataset(
|
||||
data_files=data_files,
|
||||
cache_dir=cache_dir,
|
||||
token=model_args.ms_hub_token,
|
||||
streaming=(data_args.streaming and (dataset_attr.load_from != "file")),
|
||||
use_streaming=(data_args.streaming and (dataset_attr.load_from != "file")),
|
||||
).to_hf_dataset()
|
||||
else:
|
||||
dataset = load_dataset(
|
||||
|
||||
Reference in New Issue
Block a user