MCPcopy Create free account
hub / github.com/OpenSparseLLMs/MoM / _process_alias

Method _process_alias

lm-eval-harness/lm_eval/tasks/__init__.py:123–130  ·  view source on GitHub ↗
(self, config, group=None)

Source from the content-addressed store, hash-verified

121 return self.task_index[name]["task"]
122
123 def _process_alias(self, config, group=None):
124 # If the group is not the same as the original
125 # group which the group alias was intended for,
126 # Set the group_alias to None instead.
127 if ("group_alias" in config) and ("group" in config) and group is not None:
128 if config["group"] != group:
129 config["group_alias"] = None
130 return config
131
132 def _load_individual_task_or_group(
133 self,

Callers 1

load_taskMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected