Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 missing columns ({'image_id'})

This happened while the json dataset builder was generating data using

hf://datasets/Jotschi/coco-karpathy-simple-en/coco_karpathy_val.json (at revision 847259530b52c39d1d31bc91ab937568f04509cb)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              image: string
              caption: list<item: string>
                child 0, item: string
              to
              {'image': Value(dtype='string', id=None), 'caption': Value(dtype='string', id=None), 'image_id': Value(dtype='string', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1321, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 missing columns ({'image_id'})
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/Jotschi/coco-karpathy-simple-en/coco_karpathy_val.json (at revision 847259530b52c39d1d31bc91ab937568f04509cb)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

caption
string
image
string
image_id
string
A lady making dots on a cake with a big knife's back side.
val2014/COCO_val2014_000000522418.jpg
coco_522418
Lady slicing big, soft cake.
val2014/COCO_val2014_000000522418.jpg
coco_522418
Lady with a pretty hat cuts big sweet cake.
val2014/COCO_val2014_000000522418.jpg
coco_522418
A lady is slicing a sweet, white cake.
val2014/COCO_val2014_000000522418.jpg
coco_522418
A lady making dots on a cake with the flat part of a big knife.
val2014/COCO_val2014_000000522418.jpg
coco_522418
A little one looking at a big, colorful keys on a computer.
val2014/COCO_val2014_000000318219.jpg
coco_318219
A small kid with headphones on and staring at a big screen.
val2014/COCO_val2014_000000318219.jpg
coco_318219
He listens closely to the computer at school.
val2014/COCO_val2014_000000318219.jpg
coco_318219
A little one looks at the screen on the big box.
val2014/COCO_val2014_000000318219.jpg
coco_318219
A little one sitting at a computer, wearing big headphones.
val2014/COCO_val2014_000000318219.jpg
coco_318219
A small boy sits at a computer, wearing big headphones on his ears, next to many other computers.
val2014/COCO_val2014_000000554625.jpg
coco_554625
A tiny kid wearing headphones.
val2014/COCO_val2014_000000554625.jpg
coco_554625
People play on computers at a table.
val2014/COCO_val2014_000000554625.jpg
coco_554625
Children sit close to each other at a big table, playing on computers.
val2014/COCO_val2014_000000554625.jpg
coco_554625
A little one with headphones on uses a computer.
val2014/COCO_val2014_000000554625.jpg
coco_554625
Man makes pizza in kitchen.
val2014/COCO_val2014_000000397133.jpg
coco_397133
A man is cooking in the big oven. He has pans and special things for baking nearby.
val2014/COCO_val2014_000000397133.jpg
coco_397133
A person is making bread in the room, pushing and flattening the dough.
val2014/COCO_val2014_000000397133.jpg
coco_397133
A big person near a hot cooktop.
val2014/COCO_val2014_000000397133.jpg
coco_397133
A person makes pies at the table, and there are pots and pans on the wall next to them.
val2014/COCO_val2014_000000397133.jpg
coco_397133
Lady and kitty in a space together.
val2014/COCO_val2014_000000574769.jpg
coco_574769
A girl with a pretty skirt smiles at a soft kitty.
val2014/COCO_val2014_000000574769.jpg
coco_574769
A lady has a kitty in her cooking place.
val2014/COCO_val2014_000000574769.jpg
coco_574769
A lady holds a sweet toy while cooking in the kitchen.
val2014/COCO_val2014_000000574769.jpg
coco_574769
A lady has a kitty in her cooking place.
val2014/COCO_val2014_000000574769.jpg
coco_574769
A big kitchen with yummy food in it is cooking.
val2014/COCO_val2014_000000309022.jpg
coco_309022
A yummy treat cooks in a big pot on the stove.
val2014/COCO_val2014_000000309022.jpg
coco_309022
The kitchen is shiny and has pretty steel things on the counters and in the fridge.
val2014/COCO_val2014_000000309022.jpg
coco_309022
A room with a big bowl to wash, and lots of fun machines for cooking, and yummy food in a pot.
val2014/COCO_val2014_000000309022.jpg
coco_309022
A yummy treats cooks in a big pot on the colorful stove.
val2014/COCO_val2014_000000309022.jpg
coco_309022
Two men cooking in a big kitchen, dressed in aprons.
val2014/COCO_val2014_000000005802.jpg
coco_5802
Adult: Chef brothers and sisters cooking yummy food in a shiny, big kitchen.
val2014/COCO_val2014_000000005802.jpg
coco_5802
Two friends in a big cooking place.
val2014/COCO_val2014_000000005802.jpg
coco_5802
Two grown-ups cooking many yummy plates in the big kitchen.
val2014/COCO_val2014_000000005802.jpg
coco_5802
Two men wearing big, shiny shirts in a big, loud kitchen.
val2014/COCO_val2014_000000005802.jpg
coco_5802
Two cooks making yummy food.
val2014/COCO_val2014_000000222564.jpg
coco_222564
Two people make yummy food in the restaurant.
val2014/COCO_val2014_000000222564.jpg
coco_222564
Chef uses pans on stove near big hot box.
val2014/COCO_val2014_000000222564.jpg
coco_222564
Two men in the kitchen.
val2014/COCO_val2014_000000222564.jpg
coco_222564
Two adults are close to a shiny cooking machine.
val2014/COCO_val2014_000000222564.jpg
coco_222564
This is a picture of a dark room with a shelf.
val2014/COCO_val2014_000000118113.jpg
coco_118113
A room with a table and a big, fun shelf up high.
val2014/COCO_val2014_000000118113.jpg
coco_118113
A dark room with lots of things inside.
val2014/COCO_val2014_000000118113.jpg
coco_118113
A room filled with lots of things and made of wood.
val2014/COCO_val2014_000000118113.jpg
coco_118113
A dark room with lots of things inside.
val2014/COCO_val2014_000000118113.jpg
coco_118113
A room full of big, shiny things to cook in, some are black.
val2014/COCO_val2014_000000193271.jpg
coco_193271
See the brown cabinets? There's a black oven nearby. And look, a tiny tea kettle and a big, fast microwave too!
val2014/COCO_val2014_000000193271.jpg
coco_193271
A tiny kitchen with pretty cabinets, some made of wood and some made of glass.
val2014/COCO_val2014_000000193271.jpg
coco_193271
A kitchen with many fun things inside.
val2014/COCO_val2014_000000193271.jpg
coco_193271
A kitchen with pretty wood cabinets and shiny black things to cook.
val2014/COCO_val2014_000000193271.jpg
coco_193271
A big room with many shiny things to wash and cook food.
val2014/COCO_val2014_000000224736.jpg
coco_224736
A special place with a little potty and fun gadgets for washing.
val2014/COCO_val2014_000000224736.jpg
coco_224736
There's a big sink where dishes are washed, and there's also a little potty inside.
val2014/COCO_val2014_000000224736.jpg
coco_224736
See a big potty and a bucket with long handle in the kitchen?
val2014/COCO_val2014_000000224736.jpg
coco_224736
A room with a sink, a toilet, and a big bucket for cleaning.
val2014/COCO_val2014_000000224736.jpg
coco_224736
A room full of tables and chairs, where we cook. Wooden floor feels nice under feet.
val2014/COCO_val2014_000000374628.jpg
coco_374628
There's a big, pretty kitchen with an island in the middle. It has wooden shelves and big, clear windows.
val2014/COCO_val2014_000000374628.jpg
coco_374628
There's a big room where we cook. It has lots of wood. In one corner, there's a little table with a computer that fits inside.
val2014/COCO_val2014_000000374628.jpg
coco_374628
Big room with cooking and eating place.
val2014/COCO_val2014_000000374628.jpg
coco_374628
See the big kitchen with its door wide open! And there's a yummy dining area next to it!
val2014/COCO_val2014_000000374628.jpg
coco_374628
Lady eats yummy veggies near hot thing.
val2014/COCO_val2014_000000328757.jpg
coco_328757
Lady takes veggies from bowl and puts in mouth.
val2014/COCO_val2014_000000328757.jpg
coco_328757
A lady is enjoying some yummy veggies in a bowl.
val2014/COCO_val2014_000000328757.jpg
coco_328757
A girl in the cooking place has yummy vegetables on a plate and is eating them.
val2014/COCO_val2014_000000328757.jpg
coco_328757
A lady enjoys crunchy veggies from a bowl.
val2014/COCO_val2014_000000328757.jpg
coco_328757
A child jumping off skateboard, flipping feet in air.
val2014/COCO_val2014_000000293802.jpg
coco_293802
A man rides a skateboard and makes it spin.
val2014/COCO_val2014_000000293802.jpg
coco_293802
A boy hops up high, holding his skateboard.
val2014/COCO_val2014_000000293802.jpg
coco_293802
Man wearing dark clothes plays a fun skate trick.
val2014/COCO_val2014_000000293802.jpg
coco_293802
A person riding a skateboard turns it upside down.
val2014/COCO_val2014_000000293802.jpg
coco_293802
A room with a big cooktop, a fast food maker, and a cold box.
val2014/COCO_val2014_000000086408.jpg
coco_86408
Three big appliances: a fridge, an oven, and a microwave, in the kitchen.
val2014/COCO_val2014_000000086408.jpg
coco_86408
The tiny kitchenette works really well.
val2014/COCO_val2014_000000086408.jpg
coco_86408
A picture of a kitchen with big, shiny appliances that are all black.
val2014/COCO_val2014_000000086408.jpg
coco_86408
A room with big boxes, cooking thing, quick food maker, and cold box.
val2014/COCO_val2014_000000086408.jpg
coco_86408
A fruit bowl sits on the table close to the kitchen.
val2014/COCO_val2014_000000037777.jpg
coco_37777
A tiny kitchen has things to cook with and a place to sit.
val2014/COCO_val2014_000000037777.jpg
coco_37777
The kitchen is shiny and we can look inside.
val2014/COCO_val2014_000000037777.jpg
coco_37777
A pretty room with a cooking place and eating spot, all in white.
val2014/COCO_val2014_000000037777.jpg
coco_37777
See a table with a yummy fruit bowl?
val2014/COCO_val2014_000000037777.jpg
coco_37777
People sitting on a big red truck with things in the back.
val2014/COCO_val2014_000000372938.jpg
coco_372938
A big truck with friends and toys inside.
val2014/COCO_val2014_000000372938.jpg
coco_372938
Men sit too many on a little truck with lots of things.
val2014/COCO_val2014_000000372938.jpg
coco_372938
A big truck carrying many people and things.
val2014/COCO_val2014_000000372938.jpg
coco_372938
A big truck has some things and a little person or two inside.
val2014/COCO_val2014_000000372938.jpg
coco_372938
A big boat with many wheeled things inside.
val2014/COCO_val2014_000000204805.jpg
coco_204805
People on a boat with wheels.
val2014/COCO_val2014_000000204805.jpg
coco_204805
A boat rides on a moving trailer.
val2014/COCO_val2014_000000204805.jpg
coco_204805
A big boat with people inside sits on a cart.
val2014/COCO_val2014_000000204805.jpg
coco_204805
A big trailer has a boat with people inside.
val2014/COCO_val2014_000000204805.jpg
coco_204805
Some kids sit at a table, using many computers.
val2014/COCO_val2014_000000113588.jpg
coco_113588
A boy looks at a computer screen, touching the keys with one hand and moving the mouse with the other.
val2014/COCO_val2014_000000113588.jpg
coco_113588
A man sits next to computers, using a big screen.
val2014/COCO_val2014_000000113588.jpg
coco_113588
In a big room, some people play on many computers.
val2014/COCO_val2014_000000113588.jpg
coco_113588
A big person sits at a computer, while another person looks at books nearby.
val2014/COCO_val2014_000000113588.jpg
coco_113588
A man on an big animal goes splash in the creek.
val2014/COCO_val2014_000000384553.jpg
coco_384553
A man sits on an big elephant and they go towards a pond in the forest.
val2014/COCO_val2014_000000384553.jpg
coco_384553
A man sits on an big elephant in the water.
val2014/COCO_val2014_000000384553.jpg
coco_384553
A man with a brown shirt sits on an big elephant and goes splash! in the pond.
val2014/COCO_val2014_000000384553.jpg
coco_384553
A daddy goes on an elephant ride in the water.
val2014/COCO_val2014_000000384553.jpg
coco_384553
End of preview.

Dataset Card for MS COCO Karpathy in Simple English

This dataset contains captions that were rephrased into simple english so that a young child would understand it.

Dataset Details

Dataset Sources

The processed MS COCO datasets (Karpathy Split) in this repo are based on the following sources:

MS COCO:

Dataset Creation

This dataset was generated by processing the annotations via Mistal7B.

Prompt used:

Rewrite the sentence " + caption + " for a 3 to 4 year old child. Give only one simple sentence. Don't use the word see. Give only a single answer.

A filter was applied to only store captions which matched the common output format. A best effort filter was applied to reduce the chance of including multiple example sentences in the output.

Curation Rationale

This dataset is useful for experiments with small LLMs which have only a reduced corpus. The dataset is suitable to be used for LAVIS experiments (QFormer Training) with a finetuned TinyStories 33M LLM.

Downloads last month
40