def METHOD_NAME(self):
    return BlipTextConfig(
        vocab_size=self.vocab_size,
        hidden_size=self.hidden_size,
        projection_dim=self.projection_dim,
        num_hidden_layers=self.num_hidden_layers,
        num_attention_heads=self.num_attention_heads,
        intermediate_size=self.intermediate_size,
        dropout=self.dropout,
        attention_dropout=self.attention_dropout,
        max_position_embeddings=self.max_position_embeddings,
        initializer_range=self.initializer_range,
        bos_token_id=self.bos_token_id,
    )