src/transformers/models/blip/modeling_blip_text.py/BlipTextLMHeadModel/set_output_embeddings
class BlipTextLMHeadModel:    def set_output_embeddings(self, new_embeddings):
        self.cls.predictions.decoder = new_embeddings