src/transformers/models/mpnet/modeling_tf_mpnet.py/TFMPNetLMHead/set_output_embeddings
class TFMPNetLMHead:    def set_output_embeddings(self, value):
        self.decoder.weight = value
        self.decoder.vocab_size = shape_list(value)[0]