src/transformers/models/bert/modeling_tf_bert.py/TFBertLMPredictionHead/set_output_embeddings
class TFBertLMPredictionHead:    def set_output_embeddings(self, value: tf.Variable):
        self.input_embeddings.weight = value
        self.input_embeddings.vocab_size = shape_list(value)[0]