MCPcopy Create free account
hub / github.com/SooLab/CGFormer / get_output_embeddings

Method get_output_embeddings

bert/modeling_bert.py:904–905  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

902 self.init_weights()
903
904 def get_output_embeddings(self):
905 return self.cls.predictions.decoder
906
907 @add_start_docstrings_to_callable(BERT_INPUTS_DOCSTRING.format("(batch_size, sequence_length)"))
908 def forward(

Callers 1

generateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected