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

Method get_input_embeddings

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

Source from the content-addressed store, hash-verified

408 self.post_init()
409
410 def get_input_embeddings(self):
411 return self.wte
412
413 def set_input_embeddings(self, new_embeddings):
414 self.wte = new_embeddings

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected