Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
celiolarcher committed Jul 5, 2024
1 parent c16c70c commit e7d1d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lm_eval/tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e7d1d3f

Please sign in to comment.