also debug if other debug args are set (#1977)
This commit is contained in:
@@ -462,7 +462,12 @@ def load_datasets(
|
|||||||
processor=processor,
|
processor=processor,
|
||||||
)
|
)
|
||||||
|
|
||||||
if cli_args.debug or cfg.debug:
|
if (
|
||||||
|
cli_args.debug
|
||||||
|
or cfg.debug
|
||||||
|
or cli_args.debug_text_only
|
||||||
|
or cli_args.debug_num_examples
|
||||||
|
):
|
||||||
LOG.info("check_dataset_labels...")
|
LOG.info("check_dataset_labels...")
|
||||||
check_dataset_labels(
|
check_dataset_labels(
|
||||||
train_dataset.select(
|
train_dataset.select(
|
||||||
|
|||||||
Reference in New Issue
Block a user