Skip to content

Commit

Permalink
Fix missing default data_dir during splits discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
fdalvi committed Sep 18, 2023
1 parent e7d52db commit 0adaa49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llmebench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def get_data_paths(config, split):
assert split in ["train", "test"]

dataset_args = config.get("dataset_args", {})
dataset_args["data_dir"] = ""
dataset = config["dataset"](**dataset_args)

if split == "test":
Expand Down

0 comments on commit 0adaa49

Please sign in to comment.