r (CLIPTextModel, optional) —
Frozen text-encoder (clip-vit-large-patch14).
If not specified, function will take self.tokenizer.   tokenizer (CLIPTokenizer, optional) —
A CLIPTokenizer to tokenize text. If not specified, function will take self.tokenizer.   weight_name (str, optional) —
Name of a custom weight file. This should be used when:

The saved textual inversion file is in 🤗 Diffusers format, but was saved under a specific weight
name s