mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-22 13:42:51 +08:00
Merge pull request #6152 from hiyouga/hiyouga/add_num_proc_in_data_load
[data] add num_proc in load_dataset Former-commit-id: b26c490ac3a0a8a6342f940eb6ccb7b8b6d78f93
This commit is contained in:
commit
6cd90efb82
@ -128,6 +128,7 @@ def _load_single_dataset(
|
||||
cache_dir=model_args.cache_dir,
|
||||
token=model_args.hf_hub_token,
|
||||
streaming=data_args.streaming,
|
||||
num_proc=data_args.preprocessing_num_workers,
|
||||
trust_remote_code=True,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user