Domain Adaptation of Image Generators). This is referred to as the ”CLIP directional similarity“. Caption 1 corresponds to the input image (image 1) that is to be edited. Caption 2 corresponds to the edited image (image 2). It should reflect the edit instruction. Following is a pictorial overview:  We have prepared a mini dataset to implement this metric. Let’s first load the dataset.   Copied from datasets import load_dataset

dataset = load_d