MCPcopy Create free account
hub / github.com/Alpha-VLLM/LLaMA2-Accessory / load_state_dict

Method load_state_dict

accessory/data/falcon.py:48–50  ·  view source on GitHub ↗
(self, state_dict: dict)

Source from the content-addressed store, hash-verified

46 random.shuffle(self._filenames)
47
48 def load_state_dict(self, state_dict: dict):
49 for key, val in state_dict.items():
50 self.state_dict[key] = val
51
52 def __iter__(self):
53 worker_info = get_worker_info()

Callers 4

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
model_mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected