cerebras.modelzoo.tools.checkpoint_converters.helper.maybe_tie_lm_head#

cerebras.modelzoo.tools.checkpoint_converters.helper.maybe_tie_lm_head(old_key: str, new_key: str, old_state_dict: collections.OrderedDict, new_state_dict: collections.OrderedDict, from_index: int, action_fn_args: Optional[dict] = None) None[source]#