 you can modify TextualInversionDataset. Next, you’ll find the dataset preprocessing code and training loop in the main() function. The script starts by loading the tokenizer, scheduler and model:   Copied # Load tokenizer
if args.tokenizer_name:
    tokenizer = CLIPTokenizer.from_pretrained(args.tokenizer_name)
elif args.pretrained_model_name_or_path:
    tokenizer = CLIPTokenizer.from_pretrained(args.pretrained_model_name_or_path, subfolder="