s containing a {source_concept}. "
"The captions should be in English and should be no longer than 150 characters."

target_text = f"Provide a caption for images containing a {target_concept}. "
"The captions should be in English and should be no longer than 150 characters." Here, we’re interested in the “cat -> dog” direction. 3. Generate captions: We can use a utility like so for this purpose.   Copied def generate_captions(input_prompt):
   