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

Method __setitem__

lm-eval-harness/lm_eval/api/task.py:118–119  ·  view source on GitHub ↗
(self, item, value)

Source from the content-addressed store, hash-verified

116 return getattr(self, item)
117
118 def __setitem__(self, item, value):
119 return setattr(self, item, value)
120
121 def to_dict(self, keep_callable: bool = False) -> dict:
122 """dumps the current config as a dictionary object, as a printable format.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected