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

Method get_output_embeddings

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

Source from the content-addressed store, hash-verified

1015 self.init_weights()
1016
1017 def get_output_embeddings(self):
1018 return self.cls.predictions.decoder
1019
1020 @add_start_docstrings_to_callable(BERT_INPUTS_DOCSTRING.format("(batch_size, sequence_length)"))
1021 @add_code_sample_docstrings(tokenizer_class=_TOKENIZER_FOR_DOC, checkpoint="bert-base-uncased")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected