src/transformers/models/blip_2/modeling_blip_2.py/Blip2ForConditionalGeneration/set_output_embeddings
class Blip2ForConditionalGeneration:    def set_output_embeddings(self, new_embeddings):
        self.language_model.set_output_embeddings(new_embeddings)