Merge pull request #5323 from naem1023/feat/add-dataset-map-batch-size-argument

Add batch size of map function in the preprocessed dataset
This commit is contained in:
hoshi-hiyouga authored and GitHub committed 2024-09-04 22:09:36 +08:00
commit 8f441c2b3a
2 files changed
+7

No files matched your search

+4
View File
@@ -113,6 +113,10 @@ class DataArguments:
default=None,
metadata={"help": "Path to save or load the tokenized datasets."},
)
dataset_map_batch_size: Optional[int] = field(
default=None,
metadata={"help": "Batch size for dataset mapping."},
)
def __post_init__(self):
def split_arg(arg):