   clean_caption (bool, defaults to False) —
If True, the function will preprocess and clean the provided caption before encoding.   max_sequence_length (int, defaults to 120) — Maximum sequence length to use for the prompt.    Encodes the prompt into text encoder hidden states.
