messages
listlengths
2
2
images
images listlengths
1
1
[ { "content": [ { "index": null, "text": "Give a short and clear explanation of the subsequent image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a crashed white honda car in a field at a parking lot", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is in the photo?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a series of unfortunate reactions that one character was the most short sleeve baby one piece", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Summarize the visual content of the image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a sculpture depicting roman goddesss", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Present a compact description of the photo's key features.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a canyon wall reflects the water on a sunny day in utah", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "What is in the photo?", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a gold and black logo for the manor medical aesthetics", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "two rusty steel pots filled with dirt, sitting on a walkway", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Share a concise interpretation of the image provided.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a denim jacket with a teddy bear design on the back", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Write a terse but informative summary of the picture.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "christmas toys on the table food nutrition decoration feasts banquet winter wonderland forest snow environment nature plant warmth comfort decoration", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Summarize the visual content of the image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a group of people, all dressed in wartime style clothing and sit together on chairs in front of the united", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Provide a brief description of the given image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "yoga people meditating together in the lotus position in a room", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Summarize the visual content of the image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "earth day apps for kids", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Give a brief description of the image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the gnome is a little cute gnome with a big hat on its head a funny cartoon gnome is looking up", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Present a compact description of the photo's key features.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a character with a christmas ribbon, is an electric socket with an electric plug stock illustration", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Write a terse but informative summary of the picture.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "tropical sea plants on the blackboard", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Summarize the visual content of the image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the statue of the hindu god, person, at an ancient hindu temple, with a staff", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Share a concise interpretation of the image provided.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the groomsm and his best man before the wedding", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is in the photo?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a shiny black chrome metal uppercase or capital font alphabet u", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Summarize the visual content of the image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the row ankle wrap sandal in black", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the mani salon nail polish strips in pink are always hot pink, dark purple and black nails, gold nails", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Write a terse but informative summary of the picture.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a bed or beds in a room at city hotel", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is this?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the rolling stones perform on stage in a rock club london 28th january 1976", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Present a compact description of the photo's key features.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a man in a face mask holds a syde with thermometer", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Provide a brief description of the given image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the disney beauty and the beast pandora bracelet", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is this?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the front of the building is covered in scaffolding and it is a very interesting piece of art", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Give a brief description of the image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a round sticker that has a cartoon person holding a bottle in it", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a rustic couples'wedding invitation set with an overlay of photos of the words ` something the worth saying", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is this?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the moonwalk is lit up red and blue with a pink glow", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Summarize the visual content of the image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "two photos with a black pug dressed as toothless from the film toothless the dragon and a brown", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Present a compact description of the photo's key features.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the source magazine cover sticker", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is this?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "orange butterfly on purple thistle flower with blurred background stock images", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Describe the image concisely.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "5 fun summer crafts for kids to make", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the beach in albania", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Give a brief description of the image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "an illustrated map showing different world languages", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Provide a brief description of the given image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the slot machines inside the casino suite", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Describe the image concisely.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "an assortment of metal tools, including tools", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the fountains of bellagio hotel las vegas at night", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Summarize the visual content of the image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the white heron is the only member of the family of herons found in the water", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Give a short and clear explanation of the subsequent image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a pair of gold glitter shoes with bows", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Share a concise interpretation of the image provided.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a hummingbird hovers above a yellow flower", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Share a concise interpretation of the image provided.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "an older woman in leathers and a tan jacket, standing on a yellow lines background", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Give a brief description of the image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a sliding window with the door open, showing the side release mechanism and the top view of the bottom lock", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Describe the image concisely.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a soccer field game with players in a formation of groups", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Describe the image concisely.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "an image of a bed frame with steel feet", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Present a compact description of the photo's key features.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a woman with beer and an apron in hand for a banner or logo in vintage engraving style oktober", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Give a short and clear explanation of the subsequent image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "halloween costume design for medical biologist slim fit t shirt", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Share a concise interpretation of the image provided.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "clutch and pressure plate", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "irish pub with barrels and beer keg isolated on white royalty illustration", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Write a terse but informative summary of the picture.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a plate of beef roast with a side dish of potato salad", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Share a concise interpretation of the image provided.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a light grey bedroom with a linen bed and side table", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Describe the image concisely.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a sign at the beach with no trespassing written on it", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Summarize the visual content of the image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a chocolate brownie slice cut into half on parchment", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a white, two story building with porchs, surrounded by trees", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Share a concise interpretation of the image provided.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the start of a camel race at festival", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is this?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a woman in pink dress dancing with a mascot on the platform", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Present a compact description of the photo's key features.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the car that starred in tv drama", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Give a short and clear explanation of the subsequent image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the iron man armor is designed by person person for marvel's avengers the game avengers poster, avengers movie", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is this?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "two template business cards with abstract shapes royalty illustration", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Summarize the visual content of the image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the packaging for a baby products product", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "What is in the photo?", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a big group of men and women on the chess court classic t shirt", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Provide a brief description of the given image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a bathroom with aqua walls and a gold rodooning", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Write a terse but informative summary of the picture.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a bride and groomsmants in the woods at skado lodge wedding", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Write a terse but informative summary of the picture.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the museum of fine arts and design is shown in this undated file", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Describe the image concisely.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the ballroom at the hilton center at four points hotel", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "christmas shops in the old town", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Write a terse but informative summary of the picture.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the hunger prophecy full movie", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Summarize the visual content of the image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a man in a hat riding on a brown horse through the water", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is this?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a pattern with gold crowns and dots", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "What is in the photo?", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "two chinese blue enamel flower earrings on gold sticks", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is in the photo?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a dog on a leash walks in the forest", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a floor plan of a studio apartment with an entrance and two bathroom areas", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Summarize the visual content of the image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a crane and a truck sitting on a loading dock at a container ship terminal", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is in the photo?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "illustration with baby carriage on the lace background", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Present a compact description of the photo's key features.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "man in airplane cockpit", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Describe the image concisely.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a plate of white chocolate cookie cookies", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Provide a brief description of the given image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a model walks the runway at the summer fashion show during event", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Write a terse but informative summary of the picture.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a semi truck travels down the highway with its load in tow", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "celebrity is seen attending to the premiere of science fiction film", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Provide a brief description of the given image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the westin resort, sharmour sea view pool", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Provide a brief description of the given image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a tray with six square slices of cheese pizza", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Give a brief description of the image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the soca river is the largest natural source of water", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a baby standing on the window ledge and looking out the window at the other kids", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Write a terse but informative summary of the picture.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the building where the vacation home is located", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Describe the image concisely.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "students in the classroom writing on their school papers", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Provide a brief description of the given image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the hydraulic alignment machine, as used in a factory", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "What is this?", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the grim knight fight logo sticker", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Describe the image concisely.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a theatre poster for person's 1971 film the new woman", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "What is this?", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "an image of a plaster head of a man", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the north face lightweight blanket blue and person", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is in the photo?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "two hands holding up an upward hand with raised index finger up royalty illustration isolated on white background stock illustration", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Share a concise interpretation of the image provided.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the coast road, one of the many roads", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is this?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the paper front page with an image of politician", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "What is in the photo?", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a blue building with a yellow sign that reads heny's guest house", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Describe the image concisely.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a white cake covered in coconut cream and banana pudding", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Provide a brief description of the given image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the wine shop menu", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Render a clear and concise summary of the photo.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "the lego castle with a view of the front", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Write a terse but informative summary of the picture.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "a bird is perched on a persons hand", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Describe the image concisely.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "a young woman with long, blonde dread locks, wearing a green jacket and smiling", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": 0, "text": null, "type": "image" }, { "index": null, "text": "Give a short and clear explanation of the subsequent image.", "type": "text" } ], "role": "user" }, { "content": [ { "index": null, "text": "actor person and actress person together with person in a scene from the film'the searcher '", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Provide a brief description of the given image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "the prague cathedral in black and white framed art print", "type": "text" } ], "role": "assistant" } ]
[ { "content": [ { "index": null, "text": "Give a brief description of the image.", "type": "text" }, { "index": 0, "text": null, "type": "image" } ], "role": "user" }, { "content": [ { "index": null, "text": "three individual chocolate puddings in a white bowl, topped with whipped cream", "type": "text" } ], "role": "assistant" } ]

theblackcat102/llava-pretrain reformated for VSFT with TRL's SFT Trainer.
Referenced the format of HuggingFaceH4/llava-instruct-mix-vsft

I used this code for format changes.
Warning: I'm not completely sure if I used this code. Please use it only as a reference.

import json
from datasets import load_dataset
from huggingface_hub import login

login(token="YOUR TOKEN")

def transform_format(example):
    conversations = json.loads(example['conversations'])
    
    messages = []
    for conv in conversations:
        if conv['from'] == 'human':
            value = conv['value']
            # ์ด๋ฏธ์ง€ ํƒœ๊ทธ๊ฐ€ ์ค‘๊ฐ„์— ์žˆ๋Š”์ง€ ํ™•์ธ
            if '<image>' in value and not (value.startswith('<image>') or value.endswith('<image>')):
                raise ValueError(f"Image tag found in the middle of text: {value}")
            
            text = value.replace('<image>\n', '').replace('\n<image>', '')
            content = []
            
            # ์ด๋ฏธ์ง€๊ฐ€ ํ…์ŠคํŠธ ์•ž์— ์žˆ๋Š” ๊ฒฝ์šฐ
            if value.startswith('<image>'):
                content = [
                    {"index": 0, "text": None, "type": "image"},
                    {"index": None, "text": text, "type": "text"}
                ]
            # ์ด๋ฏธ์ง€๊ฐ€ ํ…์ŠคํŠธ ๋’ค์— ์žˆ๋Š” ๊ฒฝ์šฐ
            elif value.endswith('<image>'):
                content = [
                    {"index": None, "text": text, "type": "text"},
                    {"index": 0, "text": None, "type": "image"}
                ]
            else:
                # ์ด๋ฏธ์ง€ ํƒœ๊ทธ๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ
                content = [
                    {"index": None, "text": text, "type": "text"}
                ]
                
            messages.append({
                "content": content,
                "role": "user"
            })
        else:  # 'gpt' case
            messages.append({
                "content": [
                    {"index": None, "text": conv['value'], "type": "text"}
                ],
                "role": "assistant"
            })
    
    return {
        'messages': messages,
        'images': example['image']
    }

dataset = load_dataset("theblackcat102/llava-pretrain")

try:
    transformed_dataset = dataset.map(
        transform_format,
        num_proc=64,
        batch_size=128,
        remove_columns=dataset['train'].column_names,
        desc="Transforming dataset"
    )
except ValueError as e:
    print(f"Error during transformation: {e}")

transformed_dataset.push_to_hub(
    "Ryoo72/llava-pretrain-vsft",
    private=False
)
Downloads last month
114