src/transformers/models/longformer/modeling_longformer.py/LongformerForMaskedLM/set_output_embeddings
class LongformerForMaskedLM:    def set_output_embeddings(self, new_embeddings):
        self.lm_head.decoder = new_embeddings