to and from latent representations.   text_encoder (CLIPTextModel) —
Frozen text-encoder. Stable Diffusion XL uses the text portion of
CLIP, specifically
the clip-vit-large-patch14 variant.   text_encoder_2 ( CLIPTextModelWithProjection) —
Second frozen text-encoder. Stable Diffusion XL uses the text and pool portion of
CLIP,
specifically the
laion/CLIP-ViT-bigG-14-laion2B-39B-b160k
variant.   tokenizer (CLIPTokenizer) —
Tokenizer of class
CLIP