Skip to content

Commit

Permalink
Merge pull request #279 from EleutherAI/ds-exists-check
Browse files Browse the repository at this point in the history
Fix sweep ds config bug
  • Loading branch information
lauritowal committed Jul 31, 2023
2 parents ab7c504 + 4fc5c6a commit 020f3fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elk/training/sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def assert_models_exist(model_names):

def assert_datasets_exist(dataset_names):
for dataset_name in dataset_names:
get_dataset_config_info(dataset_name)
ds_name, _, config_name = dataset_name.partition(":")
get_dataset_config_info(ds_name, config_name=config_name)


@dataclass
Expand Down

0 comments on commit 020f3fc

Please sign in to comment.