Datasets:
Update prepare_mds_ed_dataset.py
Browse files
prepare_mds_ed_dataset.py
CHANGED
|
@@ -222,11 +222,11 @@ def build_arg_parser() -> argparse.ArgumentParser:
|
|
| 222 |
p.add_argument("--tasks", nargs="+", choices=TASKS, default=list(TASKS),
|
| 223 |
help="Which task families to generate. Default: all.")
|
| 224 |
p.add_argument("--balanced-splits", nargs="*", choices=SPLITS,
|
| 225 |
-
default=["
|
| 226 |
help="Splits whose majority class should be downsampled to "
|
| 227 |
"match the minority class per condition. Splits not "
|
| 228 |
"listed here keep the original prevalence. "
|
| 229 |
-
"Default:
|
| 230 |
p.add_argument("--merge", action="store_true",
|
| 231 |
help="After generation, merge per-task JSONs into <split>.json.")
|
| 232 |
p.add_argument("--no-generate", action="store_true",
|
|
|
|
| 222 |
p.add_argument("--tasks", nargs="+", choices=TASKS, default=list(TASKS),
|
| 223 |
help="Which task families to generate. Default: all.")
|
| 224 |
p.add_argument("--balanced-splits", nargs="*", choices=SPLITS,
|
| 225 |
+
default=["val"],
|
| 226 |
help="Splits whose majority class should be downsampled to "
|
| 227 |
"match the minority class per condition. Splits not "
|
| 228 |
"listed here keep the original prevalence. "
|
| 229 |
+
"Default: val (train and test kept unbalanced).")
|
| 230 |
p.add_argument("--merge", action="store_true",
|
| 231 |
help="After generation, merge per-task JSONs into <split>.json.")
|
| 232 |
p.add_argument("--no-generate", action="store_true",
|