src/transformers/models/layoutlm/modeling_layoutlm.py/LayoutLMForMaskedLM/set_output_embeddings
class LayoutLMForMaskedLM:    def set_output_embeddings(self, new_embeddings):
        self.cls.predictions.decoder = new_embeddings