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 9 new columns ({'end', 'video_id', 'question_program', 'answer', 'situations', 'choices', 'question_id', 'question', 'start'}) and 9 missing columns ({'qid', 'vid', 'que', 'videoType', 'q_level_logic', 'correct_idx', 'answers', 'shot_contained', 'q_level_mem'}).

This happened while the json dataset builder was generating data using

hf://datasets/ikodoh/Flipped-VQA-Data/data/star/STAR_train.json (at revision 8089af67606af5c596ce81e8b1402cf7900a6d7e)

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
              end: double
              video_id: string
              question_program: list<item: struct<function: string, value_input: list<item: string>>>
                child 0, item: struct<function: string, value_input: list<item: string>>
                    child 0, function: string
                    child 1, value_input: list<item: string>
                        child 0, item: string
              answer: string
              situations: struct<000003: struct<actions: list<item: string>, bbox: list<item: list<item: double>>, bbox_labels: list<item: string>, rel_labels: list<item: string>, rel_pairs: list<item: list<item: string>>>, 000004: struct<actions: list<item: string>, bbox: list<item: list<item: double>>, bbox_labels: list<item: string>, rel_labels: list<item: string>, rel_pairs: list<item: list<item: string>>>, 000005: struct<actions: list<item: string>, bbox: list<item: list<item: double>>, bbox_labels: list<item: string>, rel_labels: list<item: string>, rel_pairs: list<item: list<item: string>>>, 000006: struct<actions: list<item: string>, bbox: list<item: list<item: double>>, bbox_labels: list<item: string>, rel_labels: list<item: string>, rel_pairs: list<item: list<item: string>>>, 000007: struct<actions: list<item: string>, bbox: list<item: list<item: double>>, bbox_labels: list<item: string>, rel_labels: list<item: string>, rel_pairs: list<item: list<item: string>>>, 000008: struct<actions: list<item: string>, bbox: list<item: list<item: double>>, bbox_labels: list<item: string>, rel_labels: list<item: string>, rel_pairs: list<item: list<item: string>>>, 000009: struct<ac
              ...
              child 0, item: list<item: string>
                            child 0, item: string
                child 1641, 003539: struct<actions: list<item: string>, bbox: list<item: list<item: double>>, bbox_labels: list<item: string>, rel_labels: list<item: string>, rel_pairs: list<item: list<item: string>>>
                    child 0, actions: list<item: string>
                        child 0, item: string
                    child 1, bbox: list<item: list<item: double>>
                        child 0, item: list<item: double>
                            child 0, item: double
                    child 2, bbox_labels: list<item: string>
                        child 0, item: string
                    child 3, rel_labels: list<item: string>
                        child 0, item: string
                    child 4, rel_pairs: list<item: list<item: string>>
                        child 0, item: list<item: string>
                            child 0, item: string
              choices: list<item: struct<choice: string, choice_id: int64, choice_program: list<item: struct<function: string, value_input: list<item: string>>>>>
                child 0, item: struct<choice: string, choice_id: int64, choice_program: list<item: struct<function: string, value_input: list<item: string>>>>
                    child 0, choice: string
                    child 1, choice_id: int64
                    child 2, choice_program: list<item: struct<function: string, value_input: list<item: string>>>
                        child 0, item: struct<function: string, value_input: list<item: string>>
                            child 0, function: string
                            child 1, value_input: list<item: string>
                                child 0, item: string
              question_id: string
              question: string
              start: double
              to
              {'qid': Value(dtype='int64', id=None), 'vid': Value(dtype='string', id=None), 'que': Value(dtype='string', id=None), 'videoType': Value(dtype='string', id=None), 'q_level_logic': Value(dtype='int64', id=None), 'correct_idx': Value(dtype='int64', id=None), 'answers': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'shot_contained': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'q_level_mem': Value(dtype='int64', 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 1572, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1136, in stream_convert_to_parquet
                  builder._prepare_split(
                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 9 new columns ({'end', 'video_id', 'question_program', 'answer', 'situations', 'choices', 'question_id', 'question', 'start'}) and 9 missing columns ({'qid', 'vid', 'que', 'videoType', 'q_level_logic', 'correct_idx', 'answers', 'shot_contained', 'q_level_mem'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/ikodoh/Flipped-VQA-Data/data/star/STAR_train.json (at revision 8089af67606af5c596ce81e8b1402cf7900a6d7e)
              
              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.

qid
int64
vid
string
que
string
videoType
string
q_level_logic
int64
correct_idx
int64
answers
sequence
shot_contained
sequence
q_level_mem
int64
8,288
AnotherMissOh01_001_0000
Why was Deogi in the kitchen?
scene
3
2
[ "Because Deogi had to call Dokyung.", "Because Deogi wanted to go outside.", "Because Deogi had to cook food.", "Because Deogi wanted to play with Dokyung.", "Because Deogi was sleepy after meeting Dokyung." ]
[ 78, 159 ]
3
1,086
AnotherMissOh01_001_0000
What is relationship between Deogi and Kyungsu when Kyungsu was in the house?
scene
3
0
[ "Kyungsu is Deogi's husband and Kyungsu lives with Deogi.", "Kyungsu is Deogi's high school friend and Kyungsu hates Deogi.", "Kyungsu is Deogi's grandfather.", "Kyungsu is Deogi's business partner in Kyungsu's company.", "Kyungsu met Deogi because of his grandmother." ]
[ 78, 159 ]
3
1,085
AnotherMissOh01_001_0000
What is relationship between Deogi and Haeyoung1 when Deogi was in the house?
scene
3
3
[ "Deogi is Haeyoung1's middle school teacher.", "Deogi is Haeyoung1's grandmother and Haeyoung1 hates Deogi.", "Deogi is Haeyoung1's old friend in hometown.", "Deogi is Haeyoung1's mother and Deogi lives with Haeyoung1.", "Deogi and Haeyoung1 live together in Deogi's school." ]
[ 78, 159 ]
3
1,087
AnotherMissOh01_001_0000
Why did Deogi make food a lot?
scene
4
4
[ "Deogi eats food a lot.", "Deogi wanted to share the food with her neighborhoods.", "Deogi would sell the food at the store.", "Deogi likes cooking.", "Deogi wanted to receive the guest after the wedding ceremony." ]
[ 78, 159 ]
3
1,088
AnotherMissOh01_001_0000
Why did Deogi screamed at Haeyoung1?
scene
4
1
[ "Haeyoung1 said Haeyoung2 doesn't like the pancakes.", "Deogi was surprised because Haeyoung1 said Haeyoung1 won't get married.", "Haeyoung1 said Anna doesn't want to go outside.", "Haeyoung1 said Jinsang won't eat dinner.", "Haeyoung1 said Seohee won't go outside." ]
[ 78, 159 ]
3
995,169
AnotherMissOh01_001_0078
What is the color of Haeyoung1's shirt?
shot
1
2
[ "Haeyoung1's shirt is pink.", "Haeyoung1's shirt is green.", "Haeyoung1's shirt is blue.", "Haeyoung1's shirt is yellow.", "Haeyoung1's shirt is purple." ]
[ 78 ]
2
9,947,760
AnotherMissOh01_001_0078
What kind of jewelry is Haeyoung1 wearing?
shot
1
0
[ "Haeyoung1 is wearing an earring.", "Haeyoung1 is wearing a car.", "Haeyoung1 is wearing shoes.", "Haeyoung1 is wearing a bag.", "Haeyoung1 is wearing a straw." ]
[ 78 ]
2
995,207
AnotherMissOh01_001_0079
Who enters the house with wearing a bag?
shot
2
3
[ "Sukyung enters the house with wearing a bag.", "Jinsang enters the house with wearing a bag.", "Taejin enters the house with wearing a bag.", "Haeyoung1 enters the house with wearing a bag.", "Jiya enters the house with wearing a bag." ]
[ 79 ]
2
9,946,436
AnotherMissOh01_001_0080
What is being cooked in the pot?
shot
1
4
[ "Wine is being cooked in the pot.", "Juice is being cooked in the pot.", "Milk is being cooked in the pot.", "Coconut is being cooked in the pot.", "Chicken is being cooked in the pot." ]
[ 80 ]
2
995,209
AnotherMissOh01_001_0082
Who is holding a spoon?
shot
1
1
[ "Yijoon is holding a spoon.", "Deogi is holding a spoon.", "Sukyung is holding a spoon.", "Kyungsu is holding a spoon.", "Heeran is holding a spoon." ]
[ 82 ]
2
9,946,438
AnotherMissOh01_001_0082
What is used for serving food on Deogi's hand?
shot
1
2
[ "Deogi has socks.", "Deogi has a wallet.", "Deogi has a wooden spoon.", "Deogi has a bottle.", "Deogi has a frame." ]
[ 82 ]
2
995,215
AnotherMissOh01_001_0083
What is Deogi using to feed Jeongsuk in the kitchen?
shot
2
0
[ "Deogi is using a spoon to feed Jeongsuk in the kitchen.", "Deogi is using chopsticks to feed Jeongsuk in the kitchen.", "Deogi is using a fork to feed Jeongsuk in the kitchen.", "Deogi is using a knife to feed Jeongsuk in the kitchen.", "Deogi is using a plate to feed Jeongsuk in the kitchen." ]
[ 83 ]
2
995,219
AnotherMissOh01_001_0084
What are Jeongsuk and Deogi wearing?
shot
1
3
[ "Jeongsuk and Deogi are wearing a swimsuit.", "Jeongsuk and Deogi are wearing a sleeveless shirt.", "Jeongsuk and Deogi are wearing a dress.", "Jeongsuk and Deogi are wearing an apron.", "Jeongsuk and Deogi are wearing a pajama." ]
[ 84 ]
2
9,947,764
AnotherMissOh01_001_0085
What kind of thing is to eat on the plate?
shot
1
4
[ "There is a bag on the plate.", "There is a cat on the plate.", "There is a hat on the plate.", "There is a straw on the plate.", "There is food on the plate." ]
[ 85 ]
2
995,227
AnotherMissOh01_001_0087
What is a person in front of TV using to drink something?
shot
2
1
[ "The person in front of TV is using a straw to drink something.", "The person in front of TV is using a shot glass to drink something.", "The person in front of TV is using a beer glass to drink something.", "The person in front of TV is using a wine glass to drink something.", "The person in front of TV is using a bowl to drink something." ]
[ 87 ]
2
995,233
AnotherMissOh01_001_0088
What is Deogi using to cook in the kitchen?
shot
2
2
[ "Deogi is using a spoon to cook in the kitchen.", "Deogi is using a cup to cook in the kitchen.", "Deogi is using a spatula to cook in the kitchen.", "Deogi is using chopsticks to cook in the kitchen.", "Deogi is using a fork to cook in the kitchen." ]
[ 88 ]
2
995,235
AnotherMissOh01_001_0089
What is a person using to mix vegetables in a bowl?
shot
2
0
[ "The person is using a plastic glove to mix vegetables in a bowl.", "The person is using a spoon to mix vegetables in a bowl.", "The person is using a fork to mix vegetables in a bowl.", "The person is using chopsticks to mix vegetables in a bowl.", "The person is using a ladle to mix vegetables in a bowl." ]
[ 89 ]
2
9,947,766
AnotherMissOh01_001_0089
How is Deogi mixing food?
shot
1
3
[ "Deogi is mixing food with using a cup.", "Deogi is mixing food with using a book.", "Deogi is mixing food with using a keyboard.", "Deogi is mixing food with using her hand.", "Deogi is mixing food with using her foot." ]
[ 89 ]
2
995,241
AnotherMissOh01_001_0090
What is the color of Deogi's shirt?
shot
1
4
[ "Deogi wears a blue shirt.", "Deogi wears a black shirt.", "Deogi wears a gray shirt.", "Deogi wears a pink shirt.", "Deogi wears a yellow-green shirt." ]
[ 90 ]
2
995,243
AnotherMissOh01_001_0091
What made Kyungsu smile with nodding?
shot
2
1
[ "Because Kyungsu was sad in the living room.", "Because Kyungsu was happy in the living room.", "Because Kyungsu was angry in the living room.", "Because Kyungsu was upset in the living room.", "Because Kyungsu was mad in the living room." ]
[ 91 ]
2
995,247
AnotherMissOh01_001_0092
What is Haeyoung1 carrying in the house?
shot
2
2
[ "Haeyoung1 is carrying a plate in the house.", "Haeyoung1 is holding a dog at home.", "Haeyoung1 is carrying a bag in the house.", "Sangseok is taking a basket at home.", "Gitae is taking food to her room." ]
[ 92 ]
2
995,251
AnotherMissOh01_001_0093
What made Jeongsuk smile with holding a plate?
shot
2
0
[ "Because Jeongsuk was happy with holding a plate.", "Because Jeongsuk was sad with holding a plate.", "Because Jeongsuk was mad with holding a plate.", "Because Jeongsuk was upset with holding a plate.", "Because Jeongsuk was angry with holding a plate." ]
[ 93 ]
2
9,947,768
AnotherMissOh01_001_0093
How is Jeongsuk holding the plates?
shot
1
3
[ "Jeongsuk is holding the plates with using her dog.", "Jeongsuk is holding the plates with using her cat.", "Jeongsuk is holding the plates with using her car.", "Jeongsuk is holding the plates with using her hands.", "Jeongsuk is holding the plates with using her carrier." ]
[ 93 ]
2
995,279
AnotherMissOh01_001_0094
What did Jeongsuk hand over to the person?
shot
2
4
[ "Jeongsuk handed over a cup to the person.", "Jeongsuk gave a bottle to the person.", "Jeongsuk gave a wallet to the person.", "Jeongsuk gave a pen to the person.", "Jeongsuk handed over a plate to the person." ]
[ 94 ]
2
995,285
AnotherMissOh01_001_0095
What is Haeyoung1 holding in the kitchen?
shot
2
1
[ "Haeyoung1 is holding a cup in the kitchen.", "Haeyoung1 is holding a bag in the kitchen.", "Haeyoung1 is holding a cell phone in the kitchen.", "Haeyoung1 is holding a book in the kitchen.", "Haeyoung1 is holding a microphone in the kitchen." ]
[ 95 ]
2
995,287
AnotherMissOh01_001_0096
What is Haeyoung1 using to eat something?
shot
2
2
[ "Haeyoung1 is using a fork to eat something.", "Haeyoung1 is using chopsticks to eat something.", "Haeyoung1 is using her bare hands to eat something.", "Haeyoung1 is using a spoon to eat something.", "Haeyoung1 is using a knife to eat something." ]
[ 96 ]
2
995,291
AnotherMissOh01_001_0097
What does Haeyoung1 use to eat food?
shot
2
0
[ "Haeyoung1 uses her hand to eat food.", "Haeyoung1 uses her foot to eat food.", "Haeyoung1 uses chopsticks to eat food.", "Haeyoung1 uses a spoon to eat food.", "Haeyoung1 uses a fork to eat food." ]
[ 97 ]
2
9,947,770
AnotherMissOh01_001_0097
How is Haeyoung1 eating food?
shot
1
3
[ "Haeyoung1 is eating food by using tongs.", "Haeyoung1 is eating food by using her bag.", "Haeyoung1 is eating food by using a ladle.", "Haeyoung1 is eating food by using her hand.", "Haeyoung1 is eating food by using a cup." ]
[ 97 ]
2
995,293
AnotherMissOh01_001_0098
What is Haeyoung1 doing with wearing a blue clothes?
shot
2
4
[ "Haeyoung1 is writing a letter with wearing a blue clothes.", "Haeyoung1 is driving a car with wearing a blue clothes.", "Haeyoung1 is taking a bus with wearing a blue clothes.", "Haeyoung1 is riding a bicycle with wearing a blue clothes.", "Haeyoung1 is chewing something with wearing a blue clothes." ]
[ 98 ]
2
995,295
AnotherMissOh01_001_0099
What's Haeyoung1's hair color?
shot
1
1
[ "Haeyoung1's hair color is white.", "Haeyoung1's hair color is brown.", "Haeyoung1's hair color is green.", "Haeyoung1's hair color is blue.", "Haeyoung1's hair color is red." ]
[ 99 ]
2
995,297
AnotherMissOh01_001_0100
What is Jeongsuk doing in the living room?
shot
2
2
[ "Jeongsuk is closing the door in the living room.", "Jeongsuk is eating food in the living room.", "Jeongsuk is talking with the person next to her.", "Jeongsuk is watching TV with Deogi.", "Jeongsuk is singing in the living room." ]
[ 100 ]
2
995,299
AnotherMissOh01_001_0101
What is Haeyoung1 doing in the kitchen?
shot
2
0
[ "Haeyoung1 is chewing food in the kitchen.", "Haeyoung1 is cooking pasta in the kitchen.", "Haeyoung1 is talking on the phone in the kitchen.", "Haeyoung1 is carrying plates in the kitchen.", "Haeyoung1 is dancing in the kitchen." ]
[ 101 ]
2
995,301
AnotherMissOh01_001_0102
What is the color of the woman's clothes?
shot
1
3
[ "The woman's clothes is green.", "The woman's clothes is yellow.", "The woman's clothes is red.", "The woman's clothes is blue.", "The woman's clothes is white." ]
[ 102 ]
2
995,303
AnotherMissOh01_001_0103
Who is wearing an apron?
shot
1
4
[ "Soontack is wearing an apron.", "Sungjin is wearing an apron.", "Gitae is wearing an apron.", "Sangseok is wearing an apron.", "Deogi is wearing an apron." ]
[ 103 ]
2
995,307
AnotherMissOh01_001_0104
What is Haeyoung1 using to eat something?
shot
2
1
[ "Haeyoung1 is using a fork to eat something.", "Haeyoung1 is using her hand to eat something.", "Haeyoung1 is using a spoon to eat something.", "Haeyoung1 is using chopsticks to eat something.", "Haeyoung1 is using a straw to eat something." ]
[ 104 ]
2
9,952,873
AnotherMissOh01_001_0104
What is the color of Haeyoung1's clothes?
shot
1
2
[ "Haeyoung1 is wearing black clothes.", "Haeyoung1 is wearing white clothes.", "Haeyoung1 is wearing blue clothes.", "Haeyoung1 is wearing yellow clothes.", "Haeyoung1 is wearing red clothes." ]
[ 104 ]
2
995,311
AnotherMissOh01_001_0105
What is Deogi using to cook food?
shot
2
0
[ "Deogi is using a turner to cook food.", "Deogi is using a fork to cook food.", "Deogi is using a spoon to cook food.", "Deogi is using a ladle to cook food.", "Deogi is using a whisk to cook food." ]
[ 105 ]
2
995,315
AnotherMissOh01_001_0106
Who shuts down the mouth?
shot
1
3
[ "Jiya shuts down her mouth.", "Hun shuts down his mouth.", "Taejin shuts down his mouth.", "Haeyoung1 shuts down her mouth.", "Jinsang shuts down his mouth." ]
[ 106 ]
2
995,313
AnotherMissOh01_001_0107
Who is talking?
shot
1
4
[ "Kyungsu is talking.", "Deogi is talking.", "Heeran is talking.", "Jeongsuk is talking.", "Haeyoung1 is talking." ]
[ 107 ]
2
995,317
AnotherMissOh01_001_0108
What is Deogi using to cook in the kitchen?
shot
2
1
[ "Deogi is using a spoon to cook in the kitchen.", "Deogi is using a spatula to cook in the kitchen.", "Deogi is using chopsticks to cook in the kitchen.", "Deogi is using a fork to cook in the kitchen.", "Deogi is using a knife to cook in the kitchen." ]
[ 108 ]
2
995,357
AnotherMissOh01_001_0109
Who has bangs?
shot
1
2
[ "Hun has bangs.", "Jiya has bangs.", "Haeyoung1 has bangs.", "Kyungsu has bangs.", "Deogi has bangs." ]
[ 109 ]
2
995,359
AnotherMissOh01_001_0111
Where is Deogi looking while talking?
shot
2
0
[ "Deogi is looking up while talking.", "Deogi is looking at a dog while talking.", "Deogi is talking and looking at the door.", "Deogi is looking down while talking.", "Deogi is watching TV while talking." ]
[ 111 ]
2
995,361
AnotherMissOh01_001_0112
What's Haeyoung1's hairstyle?
shot
1
3
[ "Haeyoung1's hair is short hair.", "Haeyoung1's hair is bobbed hair.", "Haeyoung1's hair is a braid hair.", "Haeyoung1's hair is long curly hair.", "Haeyoung1 is bald." ]
[ 112 ]
2
995,363
AnotherMissOh01_001_0113
What is the color of Deogi's shirt?
shot
1
4
[ "Deogi wears red shirt.", "Deogi is wearing a black clothes.", "Deogi wears blue clothes.", "Deogi's shirt is gray color.", "Deogi is wearing greenish yellow clothes." ]
[ 113 ]
2
995,365
AnotherMissOh01_001_0114
What is Haeyoung1 doing?
shot
1
1
[ "Haeyoung1 is drinking coffee.", "Haeyoung1 is talking.", "Haeyoung1 is writing a letter.", "Haeyoung1 is driving a car.", "Haeyoung1 is cooking." ]
[ 114 ]
2
995,367
AnotherMissOh01_001_0115
What is Deogi doing with opening her mouth?
shot
2
2
[ "Deogi has her mouth opened while cooking.", "Deogi opened her mouth to eat food.", "Deogi is listening to the person's talk with opening her mouth.", "Deogi is watching TV with her mouth opened.", "Deogi is cooking with opening her mouth." ]
[ 115 ]
2
995,369
AnotherMissOh01_001_0119
What is Deogi doing with wearing an apron in the kitchen?
shot
2
0
[ "Deogi is standing up with wearing an apron in the kitchen.", "Deogi is sitting down with wearing an apron in the kitchen.", "Deogi is leaving with wearing an apron the kitchen.", "Deogi is walking to Haeyoung1 with wearing an apron.", "Deogi is throwing a spoon to Haeyoung1 with wearing an apron." ]
[ 119 ]
2
995,373
AnotherMissOh01_001_0121
What is Kyungsu doing in the living room?
shot
2
3
[ "Kyungsu is talking while watching TV.", "Kyungsu is talking with Jeongsuk in the living room.", "Kyungsu is eating food happily.", "Kyungsu is looking back in the living room.", "Kyungsu is sitting up in the living room." ]
[ 121 ]
2
995,375
AnotherMissOh01_001_0124
Who is talking while standing next to the table?
shot
2
4
[ "Haeyoung1 is talking while standing next to the table.", "Haeyoung2 is talking while standing beside the table.", "Kyungsu is talking while standing beside the desk.", "Dokyung is talking while standing next to the table.", "Deogi is talking while standing next to the table." ]
[ 124 ]
2
995,377
AnotherMissOh01_001_0125
What is Jeongsuk wearing while sitting on the floor?
shot
2
1
[ "Jeongsuk is wearing jeans while sitting on the floor.", "Jeongsuk is wearing an apron while sitting on the floor.", "Jeongsuk is wearing a hat while sitting on the floor.", "Jeongsuk is wearing a mask while sitting on the floor.", "Jeongsuk is wearing glasses while sitting on the floor." ]
[ 125 ]
2
995,381
AnotherMissOh01_001_0129
What does Kyungsu put on his lap in the living room?
shot
2
2
[ "Kyungsu puts his wallet on his lap in the living room.", "Kyungsu puts his neck on his lap in the living room.", "Kyungsu puts his arm on his lap in the living room.", "Kyungsu puts his head on his lap in the living room.", "Kyungsu puts his bag on his lap in the living room." ]
[ 129 ]
2
995,385
AnotherMissOh01_001_0130
What is Haeyoung1 doing in the kitchen?
shot
2
0
[ "Haeyoung1 is turning her body in the kitchen.", "Haeyoung1 is standing up next to the table.", "Haeyoung1 is talking to Deogi.", "Haeyoung1 is sitting down on the floor.", "Haeyoung1 is holding Deogi's hand in the kitchen." ]
[ 130 ]
2
995,389
AnotherMissOh01_001_0133
What is Deogi using to hit Haeyoung1's head?
shot
2
3
[ "Deogi is using her foot to hit Haeyoung1's head.", "Deogi is using a ladle to hit Haeyoung1's head.", "Deogi is using a bag to hit Haeyoung1's head.", "Deogi is using her hand to hit Haeyoung1's head.", "Deogi is using a golf stick to hit Haeyoung1's head." ]
[ 133 ]
2
995,391
AnotherMissOh01_001_0134
Who closes the eyes?
shot
1
4
[ "Heeran closes her eyes.", "Jeongsuk closes her eyes.", "Anna closes her eyes.", "Haeyoung2 closes her eyes.", "Haeyoung1 closes her eyes." ]
[ 134 ]
2
995,395
AnotherMissOh01_001_0136
What made Jeongsuk open her mouth?
shot
1
1
[ "Because Jeongsuk was happy.", "Because Jeongsuk was surprised.", "Because Jeongsuk was mad.", "Because Jeongsuk was angry.", "Because Jeongsuk was upset." ]
[ 136 ]
2
995,397
AnotherMissOh01_001_0138
What does Deogi use to contact in the kitchen?
shot
2
2
[ "Deogi uses the e-mail to contact in the kitchen.", "Deogi uses a letter to contact in the kitchen.", "Deogi uses a cell phone to contact in the kitchen.", "Deogi uses a television to contact in the kitchen.", "Deogi uses a walkie-talkie to contact in the kitchen." ]
[ 138 ]
2
995,401
AnotherMissOh01_001_0139
What made Deogi shout with holding a cell phone?
shot
2
0
[ "Because Deogi was angry with holding a cell phone.", "Because Deogi was happy with holding a cell phone.", "Because Deogi was embarrassed with holding a cell phone.", "Because Deogi was sad with holding a cell phone.", "Because Deogi was relaxed with holding a cell phone." ]
[ 139 ]
2
9,947,794
AnotherMissOh01_001_0139
What is Deogi holding for communication?
shot
1
3
[ "Deogi is holding a cat.", "Deogi is holding a chair.", "Deogi is holding a desk.", "Deogi is holding a phone.", "Deogi is holding a computer." ]
[ 139 ]
2
995,405
AnotherMissOh01_001_0140
What did Kyungsu do after closing his eyes?
shot
2
4
[ "Kyungsu fell asleep after closing his eyes.", "Kyungsu yelled at Jeongsuk after closing his eyes.", "Kyungsu sang a song after closing his eyes.", "Kyungsu talked to his mother after closing his eyes.", "Kyungsu lowered his head after closing his eyes." ]
[ 140 ]
2
995,409
AnotherMissOh01_001_0141
What is Deogi using to communicate with other person?
shot
2
1
[ "Deogi is using a land line phone to communicate with other person.", "Deogi is using a cell phone to communicate with other person.", "Deogi is using an email to communicate with other person.", "Deogi is using a fax to communicate with other person.", "Deogi is using a letter to communicate with other person." ]
[ 141 ]
2
995,411
AnotherMissOh01_001_0142
What is Deogi using to communicate with someone?
shot
2
2
[ "Deogi is using a fax to communicate with someone.", "Deogi is using a letter to communicate with someone.", "Deogi is using a cell phone to communicate with someone.", "Deogi is using a text message to communicate with someone.", "Deogi is using a house telephone to communicate with someone." ]
[ 142 ]
2
995,417
AnotherMissOh01_001_0144
What is Deogi using to communicate with someone?
shot
2
0
[ "Deogi is using a cell phone to communicate with someone.", "Deogi is using a house telephone to communicate with someone.", "Deogi is using an email to communicate with someone.", "Deogi is using a letter to communicate with someone.", "Deogi is using a text message to communicate with someone." ]
[ 144 ]
2
995,419
AnotherMissOh01_001_0145
What did Kyungsu do?
shot
1
3
[ "Kyungsu sang a song.", "Kyungsu read a book.", "Kyungsu drove a car.", "Kyungsu raised his head.", "Kyungsu cooked dinner." ]
[ 145 ]
2
995,421
AnotherMissOh01_001_0146
Who is wearing earrings?
shot
1
4
[ "Gitae is wearing earrings.", "Sangseok is wearing earrings.", "Yijoon is wearing earrings.", "Seohee is wearing earrings.", "Haeyoung1 is wearing earrings." ]
[ 146 ]
2
995,423
AnotherMissOh01_001_0150
Who is yelling?
shot
1
1
[ "Haeyoung1 is yelling.", "Deogi is yelling.", "Haeyoung2 is yelling.", "Soontack is yelling.", "Sungjin is yelling." ]
[ 150 ]
2
995,425
AnotherMissOh01_001_0151
What is Deogi doing with holding a phone?
shot
2
2
[ "Deogi is taking a picture with Haeyoung1.", "Deogi is feeding Haeyoung1 with holding a phone.", "Deogi is yelling at Haeyoung1 with holding a phone.", "Deogi is sitting down with holding a phone.", "Deogi is hugging Haeyoung1 while holding a phone." ]
[ 151 ]
2
9,952,879
AnotherMissOh01_001_0156
What is the color of Jeongsuk's hair?
shot
1
0
[ "The color of Jeongsuk's hair is brown.", "The color of Jeongsuk's hair is black.", "The color of Jeongsuk's hair is white.", "The color of Jeongsuk's hair is blue.", "The color of Jeongsuk's hair is green." ]
[ 156 ]
2
995,429
AnotherMissOh01_001_0157
What does Haeyoung1 look like when the man stands up suddenly?
shot
2
3
[ "Haeyoung1 is happy when the man stands up and leave.", "Haeyoung1 looks excited when the man stands up and leave.", "Haeyoung1 was depressed when the man stands up.", "Haeyoung1 looks surprised when the man stands up suddenly.", "Haeyoung1 is bored when the man stands up." ]
[ 157 ]
2
1,126
AnotherMissOh01_002_0000
How did Deogi feel when Haeyoung1 was on bed?
scene
3
4
[ "Deogi was happy because Deogi ate the pancakes.", "Deogi was angry because Deogi did not fix the machine.", "Deogi was upset because Haeyoung1 slept on the bed.", "Deogi was crying with Kyungsu together.", "Deogi was angry because of Haeyoung1." ]
[ 160, 200 ]
3
1,125
AnotherMissOh01_002_0000
How does Kyungsu feel when the phone rings?
scene
3
1
[ "Kyungsu feels upset to break the phone.", "Kyungsu feels upset when Kyungsu answers the phone.", "Kyungsu feels happy to meet Haeyoung1 on the road.", "Kyungsu feels angry because of his boss.", "Kyungsu asks Haeyoung1 to answer the phone instead of Kyungsu." ]
[ 160, 200 ]
3
8,294
AnotherMissOh01_002_0000
What did Kyungsu do with his cell phone in his room?
scene
3
2
[ "Kyungsu listened to music after meeting Taejin.", "Kyungsu played soccer with Taejin yesterday.", "Kyungsu sent a message informing that the wedding was canceled.", "Kyungsu called Haeyoung1 to come to his room.", "Kyungsu searched the Internet with Dokyung." ]
[ 160, 200 ]
3
1,127
AnotherMissOh01_002_0000
Why did Deogi hit Haeyoung1?
scene
4
0
[ "Haeyoung1 called off the wedding.", "Haeyoung1 betrayed Deogi.", "Haeyoung1 came back home late last night.", "Haeyoung1 didn't get a good grade at school.", "Haeyoung1 broke the window." ]
[ 160, 200 ]
3
1,128
AnotherMissOh01_002_0000
Why was Kyungsu surprised while Kyungsu was talking on the phone?
scene
4
3
[ "This is because the bug on the table suddenly made a sound.", "Because Kyungsu found someone behind the door.", "This is because Kyungsu found someone under the table.", "It is because the doll behind Kyungsu suddenly made a sound.", "Since Kyungsu heard surprising news on the phone." ]
[ 160, 200 ]
3
995,477
AnotherMissOh01_002_0161
What is a person doing?
shot
1
4
[ "A person is opening the window.", "A person is feeding the dog.", "A person is watching TV.", "A person is organizing the room.", "A person is sitting on the floor." ]
[ 161 ]
2
995,483
AnotherMissOh01_002_0162
What is a person holding on his hands?
shot
2
1
[ "A person is holding a watch on his hands.", "A person is holding a phone on his hands.", "A person is holding a mob on his hands.", "A person is holding a knife on his hands.", "A person is holding a key on his hands." ]
[ 162 ]
2
9,969,583
AnotherMissOh01_002_0163
What is a person using to communicate with people?
shot
2
2
[ "A person is using a phone call to communicate with people.", "A person is using an email to communicate with people.", "A person is using a text message to communicate with people.", "A person is using a paper letter to communicate with people.", "A person is using a fax to communicate with people." ]
[ 163 ]
2
995,489
AnotherMissOh01_002_0164
What did Kyungsu do in the living room?
shot
2
0
[ "Kyungsu closed his eyes in the living room.", "Kyungsu took a picture with a phone.", "Kyungsu made a call with a phone.", "Kyungsu stood up and left.", "Kyungsu turned off TV in the living room." ]
[ 164 ]
2
9,930,041
AnotherMissOh01_002_0165
What is a person doing?
shot
1
3
[ "A person is drinking coffee.", "A person is driving a car.", "A person is playing the piano.", "A person is picking up the phone.", "A person is carrying a bag." ]
[ 165 ]
2
9,952,881
AnotherMissOh01_002_0166
What does Kyungsu use to contact?
shot
1
4
[ "Kyungsu uses a bag to contact.", "Kyungsu uses a computer to contact.", "Kyungsu uses a microphone to contact.", "Kyungsu uses a book to contact.", "Kyungsu uses a phone to contact." ]
[ 166 ]
2
995,499
AnotherMissOh01_002_0167
What does Deogi use to lie down on the bed?
shot
2
1
[ "Deogi uses a doll to lie down on the bed.", "Deogi uses a pillow to lie down on the bed.", "Deogi uses a microphone to lie down on the bed.", "Deogi uses a book to lie down on the bed.", "Deogi uses a phone to lie down on the bed." ]
[ 167 ]
2
9,947,808
AnotherMissOh01_002_0167
What is Kyungsu holding for talking?
shot
1
2
[ "Kyungsu is holding a car.", "Kyungsu is holding a key.", "Kyungsu is holding a phone.", "Kyungsu is holding a train.", "Kyungsu is holding an airplane." ]
[ 167 ]
2
9,930,043
AnotherMissOh01_002_0169
What is a person doing on the bed in the room?
shot
2
0
[ "A person is lying on the bed in the room.", "A person is dancing on the bed in the room.", "A person is reading a book in the room.", "A person is doing makeup in the room.", "A person is eating food in the room." ]
[ 169 ]
2
995,503
AnotherMissOh01_002_0170
Whose doll is on the bed in the room?
shot
2
3
[ "A doll on the bed is Deogi's doll.", "A doll on the bed is Dokyung's doll.", "A doll on the bed is Kyungsu's doll.", "A doll on the bed is Haeyoung1's doll.", "A doll on the bed is Haeyoung2's doll." ]
[ 170 ]
2
995,507
AnotherMissOh01_002_0172
Who is smiling slightly while lying?
shot
2
4
[ "Haeyoung2 is smiling slightly while sleeping.", "Anna is smiling slightly while lying.", "Jeongsuk is smiling slightly while lying.", "Kyungsu is smiling slightly while lying.", "Haeyoung1 is smiling slightly while lying." ]
[ 172 ]
2
995,617
AnotherMissOh01_002_0173
What is Deogi doing with putting her hand on her head?
shot
2
1
[ "Deogi is dancing with putting her hand on her head.", "Deogi is lying down with putting her hand on her head.", "Deogi is cleaning the window with putting her hand on her head.", "Deogi is talking on the phone with putting her hand on her head.", "Deogi is drinking water with putting her hand on her head." ]
[ 173 ]
2
995,619
AnotherMissOh01_002_0174
What did Deogi do?
shot
1
2
[ "Deogi touched her hair.", "Deogi closed her eyes.", "Deogi rolled her eyes.", "Deogi touched her nose.", "Deogi cleaned the window." ]
[ 174 ]
2
995,623
AnotherMissOh01_002_0175
What did Deogi do with a blanket on the bed?
shot
2
0
[ "Deogi held up the blanket on the bed.", "Deogi slept on the bed.", "Deogi talked on the phone on the bed.", "Deogi read a book on the bed.", "Deogi looked in the mirror in the room." ]
[ 175 ]
2
995,631
AnotherMissOh01_002_0176
What did Deogi do on the floor with a surprised face. ?
shot
2
3
[ "Deogi washed her hands on the floor.", "Deogi rolled over the floor with a surprised face.", "Deogi read a book on the floor.", "Deogi sat up on the floor with a surprised face.", "Deogi broke the window on the floor." ]
[ 176 ]
2
9,946,406
AnotherMissOh01_002_0178
What is the phone used for?
shot
1
4
[ "The phone is used for running.", "The phone is used for reading.", "The phone is used for thinking.", "The phone is used for sitting down.", "The phone is used for talking." ]
[ 178 ]
2
995,635
AnotherMissOh01_002_0178
What was Kyungsu using to communicate with someone?
shot
2
1
[ "Kyungsu was using a cell phone to communicate with someone.", "Kyungsu was using a house telephone to communicate with someone.", "Kyungsu was using a letter to communicate with someone.", "Kyungsu was using a text message to communicate with someone.", "Kyungsu was using an email to communicate with someone." ]
[ 178 ]
2
995,639
AnotherMissOh01_002_0180
What is Deogi wearing a short-sleeved shirt doing in the house?
shot
2
2
[ "Deogi wearing a short-sleeved shirt is watching TV.", "Deogi wearing a short-sleeved shirt is talking with Kyungsu.", "Deogi wearing a short-sleeved shirt is walking fast.", "Deogi wearing a short-sleeved shirt is dancing with Haeyoung1.", "Deogi wearing a short-sleeved shirt is taking a shower." ]
[ 180 ]
2
995,641
AnotherMissOh01_002_0181
What is Kyungsu doing while sitting?
shot
2
0
[ "Kyungsu is looking back at Deogi while sitting.", "Kyungsu is watching a movie while sitting.", "Kyungsu is walking down the street.", "Kyungsu is talking with Haeyoung1 while sitting.", "Kyungsu is making a call while sitting." ]
[ 181 ]
2
995,645
AnotherMissOh01_002_0182
What is Kyungsu using to communicate with someone?
shot
2
3
[ "Kyungsu is using a cell phone to communicate with someone.", "Kyungsu is using a text message to communicate with someone.", "Kyungsu is using a fax to communicate with someone.", "Kyungsu is using a house telephone to communicate with someone.", "Kyungsu is using a letter to communicate with someone." ]
[ 182 ]
2
995,647
AnotherMissOh01_002_0183
Who enters the room?
shot
1
4
[ "Haeyoung2 enters the room.", "Sangseok enters the room.", "Yijoon enters the room.", "Seohee enters the room.", "Deogi enters the room." ]
[ 183 ]
2
995,651
AnotherMissOh01_002_0184
What is Haeyoung1 doing on the bed?
shot
2
1
[ "Haeyoung1 is dancing on the bed.", "Haeyoung1 is looking at a doll on the bed.", "Haeyoung1 is changing her clothes in the room.", "Haeyoung1 is talking on the phone in the room.", "Haeyoung1 is looking at the mirror on the bed." ]
[ 184 ]
2
9,946,660
AnotherMissOh01_002_0184
Where is Haeyoung1 lying on?
shot
1
2
[ "Haeyoung1 is lying on the ball.", "Haeyoung1 is lying on the sofa.", "Haeyoung1 is lying on the bed.", "Haeyoung1 is lying on the cliff.", "Haeyoung1 is lying on the book." ]
[ 184 ]
2
995,655
AnotherMissOh01_002_0185
What's Haeyoung1's hair color?
shot
1
0
[ "Haeyoung1's hair is brown.", "Haeyoung1's hair is pink.", "Haeyoung1's hair is green.", "Haeyoung1's hair is red.", "Haeyoung1's hair is blue." ]
[ 185 ]
2
995,669
AnotherMissOh01_002_0186
Who is near the door?
shot
1
3
[ "Haeyoung1 is near the door.", "Haeyoung2 is near the door.", "Hun is near the door.", "Deogi is near the door.", "Jiya is near the door." ]
[ 186 ]
2
995,675
AnotherMissOh01_002_0187
What did Deogi throw in the room?
shot
2
4
[ "Deogi threw a mouse in the room.", "Deogi threw a book in the room.", "Deogi threw a cup in the room.", "Deogi threw a computer in the room.", "Deogi threw a doll in the room." ]
[ 187 ]
2
9,946,412
AnotherMissOh01_002_0187
What kind of toy did Deogi do?
shot
1
1
[ "Deogi threw the cup.", "Deogi threw the doll.", "Deogi threw the bottle.", "Deogi threw the mouse.", "Deogi threw the monitor." ]
[ 187 ]
2
End of preview.
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

Large Language Models are Temporal and Causal Reasoners for Video Question Answering

This is the official implementation of Flipped-VQA (EMNLP 2023) (arxiv) (demo).

Dohwan Ko1*, Ji Soo Lee1*, Wooyoung Kang2, Byungseok Roh2, Hyunwoo J. Kim1.

1Department of Computer Science and Engineering, Korea University 2Kakao Brain

PWC PWC PWC PWC PWC

Setup

To install requirements, run:

git clone https://github.com/mlvlab/Flipped-VQA.git
cd Flipped-VQA
mkdir pretrained
conda create -n flipped-vqa python=3.8
conda activate flipped-vqa
sh setup.sh

Dataset & LLaMA Preparation

  • You can download our preprocessed datasets (NExT-QA, STAR, DramaQA, VLEP and TVQA) in huggingface (We also provide the fine-tuned model on each dataset).
git lfs install
git clone https://huggingface.co/datasets/ikodoh/Flipped-VQA-Data
mv ./Flipped-VQA-Data/data ./
mv ./Flipped-VQA-Data/checkpoint ./
unzip ./data/tvqa/tvqa_subtitles.zip -d ./data/tvqa
rm -rf Flipped-VQA-Data ./data/tvqa/tvqa_subtitles.zip
  • You can download original LLaMA at here, and put the checkpoint in ./pretrained.
./pretrained
   └─ llama
       |─ 7B
       |   |─ consolidated.00.pth
       |   └─ params.json
       |─ 13B
       |   :
       |─ 33B
       |   :
       └─ tokenizer.model

Training LLaMA-VQA (LLaMA + Flipped-VQA)

NExT-QA

torchrun --rdzv_endpoint 127.0.0.1:1234 --nproc_per_node 4 train.py --model 7B \
--max_seq_len 128 --batch_size 8 --epochs 5 --warmup_epochs 2 --bias 3.5 --tau 100. --max_feats 10 --dataset nextqa \
--blr 9e-2 --weight_decay 0.14 --output_dir ./checkpoint/nextqa --accum_iter 2 --vaq --qav

STAR

torchrun --rdzv_endpoint 127.0.0.1:1234 --nproc_per_node 4 train.py --model 7B \
--max_seq_len 128 --batch_size 8 --epochs 5 --warmup_epochs 2 --bias 3 --tau 100. --max_feats 10 --dataset star \
--blr 9e-2 --weight_decay 0.16 --output_dir ./checkpoint/star --accum_iter 1 --vaq --qav

DramaQA

torchrun --rdzv_endpoint 127.0.0.1:1234 --nproc_per_node 4 train.py --model 7B \
--max_seq_len 384 --batch_size 2 --epochs 5 --warmup_epochs 2 --bias 3 --tau 100. --max_feats 10 --dataset dramaqa \
--blr 9e-2 --weight_decay 0.10 --output_dir ./checkpoint/dramaqa --accum_iter 8 --vaq --qav

VLEP

torchrun --rdzv_endpoint 127.0.0.1:1234 --nproc_per_node 4 train.py --model 7B \
--max_seq_len 256 --batch_size 4 --epochs 5 --warmup_epochs 2 --bias 3 --tau 100. --max_feats 10 --dataset vlep \
--blr 6e-2 --weight_decay 0.20 --output_dir ./checkpoint/vlep --accum_iter 8 --sub --qav

TVQA

torchrun --rdzv_endpoint 127.0.0.1:1234 --nproc_per_node 8 train.py --model 7B \
--max_seq_len 650 --batch_size 1 --epochs 5 --warmup_epochs 2 --bias 3 --tau 100. --max_feats 10 --dataset tvqa \
--blr 7e-2 --weight_decay 0.02 --output_dir ./checkpoint/tvqa --dataset tvqa --accum_iter 4 --sub --vaq --qav

The fine-tuned checkpoints on each dataset are here.

Evaluation

From the training command, simply replace train.py with eval.py and add --resume ./your/checkpoint.pth.

Acknowledgements

This repo is built upon LLaMA-Adapter.

Citations

@inproceedings{ko2023large,
  title={Large Language Models are Temporal and Causal Reasoners for Video Question Answering},
  author={Ko, Dohwan and Lee, Ji Soo and Kang, Wooyoung and Roh, Byungseok and Kim, Hyunwoo J},
  booktitle={EMNLP},
  year={2023}
}
Downloads last month
2