MCPcopy Create free account
hub / github.com/Tele-AI/Telechat / get_input_embeddings

Method get_input_embeddings

models/7B/modeling_telechat.py:612–613  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

610 self.post_init()
611
612 def get_input_embeddings(self):
613 return self.word_embeddings
614
615 def _prepare_attn_mask(
616 self, attention_mask: torch.Tensor, input_shape: Tuple[int, int], past_key_values_length: int

Calls

no outgoing calls

Tested by

no test coverage detected