Creating a dataset for training a text model to generate prompts based on answers is a substantial task, but I can guide you on how you might structure a dataset in JSON format. Below is an example with some variations to get you started. The dataset will contain fields like 'good', 'bad', and 'question', as described.
[
{
"good": "Write a concise caption for this landscape image.",
"bad": "What is the color of the sky?",
"question": "Make a caption",
"answer": "A beautiful sunrise over the mountains with the sky transitioning into shades of orange and pink."
},
{
"good": "Describe this image in just a few words.",
"bad": "How many people are there?",
"question": "Describe briefly",
"answer": "Two children playing in a garden filled with vibrant flowers."
},
{
"good": "Write a detailed historical context for this scene.",
"bad": "What year is it?",
"question": "Provide historical context",
"answer": "A bustling 18th-century marketplace with merchants selling spices and fabrics."
},
{
"good": "Create a poetic metaphor for this serene setting.",
"bad": "Where is the water?",
"question": "Make metaphor",
"answer": "A calm lake reflecting the twilight sky, surrounded by whispering willows."
},
{
"good": "Explain the emotions captured in this dramatic photograph.",
"bad": "Count the animals.",
"question": "Explain emotions",
"answer": "A soldier embracing a loved one, tears in their eyes as they say goodbye."
},
{
"good": "Summarize the action happening in this sports image.",
"bad": "Is the ball round?",
"question": "Summarize action",
"answer": "A striker shooting the ball towards the top corner while the goalkeeper dives to make a save."
},
{
"good": "Convey the mood of this rainy street scene.",
"bad": "What is the temperature?",
"question": "Convey mood",
"answer": "A dimly lit street with people huddled under umbrellas, reflecting off the wet pavement."
},
{
"good": "Interpret the symbolism in this abstract art piece.",
"bad": "Is it painted?",
"question": "Interpret symbolism",
"answer": "An explosion of colors and shapes symbolizing chaos and the birth of new ideas."
},
{
"good": "Provide a technical critique of this architectural photograph.",
"bad": "Is the building tall?",
"question": "Critique architecture",
"answer": "A modern skyscraper with a glass facade, reflecting an innovative use of space and light."
},
{
"good": "Envision a story inspired by this mysterious figure in the portrait.",
"bad": "What is their name?",
"question": "Create story",
"answer": "A solitary man in a trench coat under a streetlamp, exuding an aura of intrigue and secrets."
}
]
Notes:
- Good Prompts: These are well-formed prompts that align with the nature of the answers (e.g., detailed for a detailed image description).
- Bad Prompts: These are examples of poorly formed or irrelevant prompts for the given answers.
- Question Field: Directs the prompt-making process and varies depending on the context or intent.
Variations and Scaling:
To scale this dataset, consider creating templates and auto-generating entries with varied vocabulary, sentence structures, and contexts. You could integrate image datasets for more contextual data if you're aligning with real images. Additionally, employ techniques like synonym substitution, changing sentence order, and varying verbosity to diversify the set further. Creating thousands of such entries will require programmatic generation, possible through scripting or even use of language models.