src/transformers/models/bert/modeling_bert.py/BertForMaskedLM/set_output_embeddings
class BertForMaskedLM:    def set_output_embeddings(self, new_embeddings):
        self.cls.predictions.decoder = new_embeddings