MCPcopy Create free account
hub / github.com/THUDM/LongWriter / get_input_embeddings

Method get_input_embeddings

train/patch/modeling_llama.py:939–940  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

937 self.post_init()
938
939 def get_input_embeddings(self):
940 return self.embed_tokens
941
942 def set_input_embeddings(self, value):
943 self.embed_tokens = value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected