src/transformers/models/xlm/modeling_xlm.py/XLMWithLMHeadModel/set_output_embeddings
class XLMWithLMHeadModel:    def set_output_embeddings(self, new_embeddings):
        self.pred_layer.proj = new_embeddings