MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS / get_output_embeddings

Method get_output_embeddings

models/modeling_moss.py:616–617  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

614 self.post_init()
615
616 def get_output_embeddings(self):
617 return self.lm_head
618
619 def set_output_embeddings(self, new_embeddings):
620 self.lm_head = new_embeddings

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected