class MCLIPConfig(XLMRobertaConfig):
    model_type = "M-CLIP"

    def __init__(self, transformerDimSize=1024, imageDimSize=768, **kwargs):
        self.transformerDimensions = transformerDimSize
        self.numDims = imageDimSize
        super().__init__(**kwargs)
/Users/nielsrogge/Documents/python_projecten/diffusers/src/diffusers/pipelines/kandinsky/text_encoder.py