From e7d1d3f04daa848667bd9538c99965384f3a6fac Mon Sep 17 00:00:00 2001 From: celiolarcher Date: Fri, 5 Jul 2024 18:46:43 -0300 Subject: [PATCH] fix: typo --- lm_eval/tasks/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lm_eval/tasks/__init__.py b/lm_eval/tasks/__init__.py index 701b362444..cda769fa29 100644 --- a/lm_eval/tasks/__init__.py +++ b/lm_eval/tasks/__init__.py @@ -323,7 +323,7 @@ def _get_task_and_group(self, task_dir: str): if f.endswith(".yaml"): yaml_path = os.path.join(root, f) config = utils.load_yaml_config(yaml_path, mode="simple") - if self._config_is_group(config) and self._config_is_python_task(config): + if self._config_is_group(config) and not self._config_is_python_task(config): # This is a group config tasks_and_groups[config["group"]] = { "type": "group",