MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / __init__

Method __init__

codegeex/megatron/model/module.py:39–41  ·  view source on GitHub ↗
(self, share_word_embeddings=True)

Source from the content-addressed store, hash-verified

37 for pipelining."""
38
39 def __init__(self, share_word_embeddings=True):
40 super(MegatronModule, self).__init__()
41 self.share_word_embeddings = share_word_embeddings
42
43 def state_dict_for_save_checkpoint(
44 self, destination=None, prefix="", keep_vars=False

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected