Unverified Commit 2c0c345a authored by Hailey Schoelkopf's avatar Hailey Schoelkopf Committed by GitHub
Browse files

Merge pull request #1002 from EleutherAI/bugfixes-bigrefactor

[Refactor] Bugfixes
parents f76941ef 487767ab
...@@ -149,7 +149,11 @@ def cli_evaluate(args: Union[argparse.Namespace, None] = None) -> None: ...@@ -149,7 +149,11 @@ def cli_evaluate(args: Union[argparse.Namespace, None] = None) -> None:
if os.path.isfile(task): if os.path.isfile(task):
config = utils.load_yaml_config(task) config = utils.load_yaml_config(task)
task_names.append(config) task_names.append(config)
task_missing = [task for task in tasks_list if task not in task_names] task_missing = [
task
for task in tasks_list
if task not in task_names and "*" not in task
] # we don't want errors if a wildcard ("*") task name was used
if task_missing: if task_missing:
missing = ", ".join(task_missing) missing = ", ".join(task_missing)
......
group: bigbench group: bigbench_generate_until
dataset_path: bigbench # will switch to `hails/bigbench` when all tasks are pushed dataset_path: hails/bigbench
output_type: generate_until output_type: generate_until
dataset_kwargs: dataset_kwargs:
# num_shots: 0 # TODO: num of shots for `bigbench` HF dataset should be controlled through this, not through the typical methods # num_shots: 0 # TODO: num of shots for `bigbench` HF dataset should be controlled through this, not through the typical methods
......
group: bigbench group: bigbench_multiple_choice
dataset_path: bigbench # will switch to `hails/bigbench` when all tasks are pushed dataset_path: hails/bigbench
dataset_kwargs: dataset_kwargs:
# num_shots: 0 # TODO: num of shots for `bigbench` HF dataset should be controlled through this, not through the typical methods # num_shots: 0 # TODO: num of shots for `bigbench` HF dataset should be controlled through this, not through the typical methods
# subtask_name: null # subtask_name: null
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment