src/transformers/models/roformer/modeling_roformer.py/RoFormerForMaskedLM/set_output_embeddings
class RoFormerForMaskedLM:    def set_output_embeddings(self, new_embeddings):
        self.cls.predictions.decoder = new_embeddings