Commit e6b1581f authored by lintangsutawika's avatar lintangsutawika
Browse files

formatting

parent 5032ebaf
...@@ -196,9 +196,13 @@ class TaskManager: ...@@ -196,9 +196,13 @@ class TaskManager:
if self._name_is_tag(name_or_config): if self._name_is_tag(name_or_config):
fn = partial( fn = partial(
self._load_individual_task_or_group, self._load_individual_task_or_group,
update_config=name_or_config if isinstance(name_or_config, dict) else None, update_config=name_or_config
if isinstance(name_or_config, dict)
else None,
)
return dict(
collections.ChainMap(*map(fn, reversed(subtask_list)))
) )
return dict(collections.ChainMap(*map(fn, reversed(subtask_list))))
else: else:
group_name = ConfigurableGroup( group_name = ConfigurableGroup(
config={"group": name_or_config, "task": subtask_list} config={"group": name_or_config, "task": subtask_list}
......
group: mmlu_flan_n_shot_loglikelihood group: mmlu_flan_n_shot_loglikelihood
group_alias: mmlu (flan style)
task: task:
- group: stem
task:
- mmlu_flan_n_shot_loglikelihood_stem - mmlu_flan_n_shot_loglikelihood_stem
aggregate_metric: True
weight_by_size: True
- group: other
task:
- mmlu_flan_n_shot_loglikelihood_other - mmlu_flan_n_shot_loglikelihood_other
aggregate_metric: True
weight_by_size: True
- group: social sciences
task:
- mmlu_flan_n_shot_loglikelihood_social_sciences - mmlu_flan_n_shot_loglikelihood_social_sciences
aggregate_metric: True
weight_by_size: True
- group: social sciences
task:
- mmlu_flan_n_shot_loglikelihood_humanities - mmlu_flan_n_shot_loglikelihood_humanities
group_config:
aggregate_metric: True aggregate_metric: True
weight_by_size: True weight_by_size: True
aggregate_metric: True
weight_by_size: True
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