Detailed Prompt for Generating Image Description and QA Pairs Dataset Objective: Create…
- User
Detailed Prompt for Generating Image Description and QA Pairs Dataset Objective:
Create a JSON array dataset where each entry represents an image with the following structure:
image_description: A detailed and comprehensive description of the image. qa_pairs: An array of question-answer pairs related to the image description. Requirements:
Image Descriptions: The image_description should be detailed and informative, providing a clear and vivid depiction of the image. Descriptions should vary in length and detail to reflect diverse real-world scenarios. Some images may have very detailed descriptions. Others may be simpler due to the nature of the image and cannot be described extensively. Include a broad range of random themes and subjects to ensure variety (e.g., nature, urban life, animals, professions, events, abstract concepts, etc.). QA Pairs Structure: Each qa_pairs array should contain multiple question-answer pairs related to the image description. The number of QA pairs per image should vary (e.g., 3-6 pairs) to add diversity. Questions should be random yet useful, focusing on different aspects of the image description. "Improve this description" QA Pairs: For each image description, include 2-4 "Improve this description" question-answer pairs. Questions: Format: "Improve this description: [less detailed description]" The less detailed description in the question should be a simplified or less informative version of the image_description. These simplified descriptions should vary in size and wording for each image. Answers: Provide an improved and more detailed version of the description based on the image_description. The answer should enhance the less detailed description in the question by adding details from the image_description. Important: The answer must only use information present in the image_description without introducing any new or imagined details. The improved description should not be a verbatim copy of the image_description, but rather a rewritten enhancement of the less detailed description. Additional QA Pairs: Include other varied and useful questions related to the image description. Examples of such questions: "What is the main subject doing?" "Describe the setting of the image." "What is the mood of the scene?" "What time of day is depicted?" "What is the weather like?" Answers should be concise and directly based on the image_description. Data Integrity and Consistency: Ensure all answers are consistent with the information provided in the image_description. Avoid adding any new information or details not present in the image_description. Maintain consistency between the image descriptions, questions, and answers. Variety and Realism: Introduce variety by including images that cannot be described very elaborately. This reflects real-world scenarios where images may have limited detail. Ensure the dataset covers a broad spectrum of themes and content to prevent bias and enhance the model's robustness. Formatting Requirements: Present the dataset as a valid JSON array. Each entry in the array should be a JSON object with the keys "image_description" and "qa_pairs". Use proper JSON syntax, ensuring all strings are in double quotes and proper punctuation is used. Sample Structure of an Entry:
- Assistant
- User
dataset should be large, also, try to make more nsfw descriptions(not fully nsfw, what you can do)
- Assistant