src/transformers/models/longformer/modeling_tf_longformer.py/TFLongformerLMHead/set_output_embeddings
class TFLongformerLMHead:    def set_output_embeddings(self, value):
        self.decoder.weight = value
        self.decoder.vocab_size = shape_list(value)[0]