src/transformers/models/blip_2/modeling_blip_2.py/Blip2ForConditionalGeneration/get_encoder
class Blip2ForConditionalGeneration:    def get_encoder(self):
        return self.language_model.get_encoder()