lf.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 such as text_inv.bin.
The saved textual inversion file is in the Automatic1111 format.
   cache_dir (Union[str, os.PathLike], optional) —
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is 