Compare commits

...

1 Commits

Author SHA1 Message Date
Wing Lian
1cfb8feb2d add iterable argument to preprocess-cli 2025-01-27 14:31:12 -05:00

View File

@@ -13,6 +13,12 @@ class PreprocessCliArgs:
debug_num_examples: int = field(default=1)
prompter: Optional[str] = field(default=None)
download: Optional[bool] = field(default=True)
iterable: Optional[bool] = field(
default=None,
metadata={
"help": "Use IterableDataset for streaming processing of large datasets"
},
)
@dataclass