mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +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: d8258ba7e792d5f17ae80d5e8b303e8fa820f162
This commit is contained in:
commit
fcf1a3df62
@ -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