Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- README.mdAdded+162
- data/metadata.csvAdded
- data/videos/video_0.mp4Added+3
- data/videos/video_1001.mp4Added+3
- data/videos/video_10019.mp4Added+3
- data/videos/video_10033.mp4Added+3
- data/videos/video_10036.mp4Added+3
- data/videos/video_10049.mp4Added+3
- data/videos/video_10055.mp4Added+3
- data/videos/video_10056.mp4Added+3
- data/videos/video_1006.mp4Added+3
- data/videos/video_10065.mp4Added+3
- data/videos/video_10071.mp4Added+3
- data/videos/video_10078.mp4Added+3
- data/videos/video_1008.mp4Added+3
- data/videos/video_10119.mp4Added+3
- data/videos/video_10134.mp4Added+3
- data/videos/video_10174.mp4Added+3
- data/videos/video_10189.mp4Added+3
- data/videos/video_10203.mp4Added+3
- data/videos/video_10218.mp4Added+3
- data/videos/video_10221.mp4Added+3
- data/videos/video_10223.mp4Added+3
- data/videos/video_10230.mp4Added+3
- data/videos/video_10234.mp4Added+3
- data/videos/video_1024.mp4Added+3
- data/videos/video_10241.mp4Added+3
- data/videos/video_10245.mp4Added+3
- data/videos/video_10277.mp4Added+3
- data/videos/video_10281.mp4Added+3
- data/videos/video_10299.mp4Added+3
- data/videos/video_10302.mp4Added+3
- data/videos/video_10312.mp4Added+3
- data/videos/video_10325.mp4Added+3
- data/videos/video_1033.mp4Added+3
- data/videos/video_10335.mp4Added+3
- data/videos/video_10374.mp4Added+3
- data/videos/video_10377.mp4Added+3
- data/videos/video_10381.mp4Added+3
- data/videos/video_10385.mp4Added+3
- data/videos/video_10395.mp4Added+3
- data/videos/video_10398.mp4Added+3
- data/videos/video_10417.mp4Added+3
- data/videos/video_10426.mp4Added+3
- data/videos/video_10429.mp4Added+3
- data/videos/video_10431.mp4Added+3
- data/videos/video_10453.mp4Added+3
- data/videos/video_10455.mp4Added+3
- data/videos/video_10462.mp4Added+3
- data/videos/video_10478.mp4Added+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162---license: apache-2.0task_categories:- video-classification- question-answering- visual-question-answeringtags:- perception-test- video-qa- multiple-choice- video-understandingsize_categories:- 1K<n<10Kviewer: true---
# Perception Test MCQ Dataset
## Dataset Description
This dataset contains **1000 video question-answering entries** from the Perception Test dataset. Each entry includes a video and a multiple-choice question about the video content, testing various aspects of video understanding including object tracking, action recognition, and temporal reasoning.
## Dataset Structure
This dataset follows the VideoFolder format with the following structure:
```dataset/├── data/│ ├── videos/│ │ ├── video_XXX.mp4│ │ └── ...│ └── metadata.csv└── README.md```
### Metadata Format
The `metadata.csv` contains:- `file_name`: Path to the video file (relative to split directory)- `video_id`: Unique video identifier- `question`: The question text- `options`: JSON string containing multiple choice options- `correct_answer`: The correct answer (available for 997/1000 entries)- `question_type`: Type of question (typically "multiple choice")
## Dataset Statistics
- **Total QA pairs**: 1000- **Unique videos**: 1000- **Average questions per video**: 1.0- **Entries with answers**: 997/1000 (99.7%)- **Video format**: MP4
### Question Type Distribution
- `unknown`: 1000 questions
## Usage
### Loading the Dataset
```pythonfrom datasets import load_datasetimport json
# Load the datasetdataset = load_dataset("advaitgupta/perception_test_mcq")
# Access the data splitdata = dataset['data']
# Example: Get first samplesample = data[0]print("Question:", sample['question'])print("Options:", json.loads(sample['options']))print("Correct Answer:", sample['correct_answer'])print("Video:", sample['file_name'])```
### Processing Videos and Questions
```pythonimport jsonimport cv2
# Load metadatametadata = data.to_pandas()
# Process a video-question pairsample = metadata.iloc[0]video_path = sample['file_name']question = sample['question']options = json.loads(sample['options'])correct_answer = sample['correct_answer']
print(f"Question: {question}")for i, option in enumerate(options): print(f"{i+1}. {option}")print(f"Correct Answer: {correct_answer}")
# Load and process videocap = cv2.VideoCapture(video_path)# ... your video processing code```
## Task Types
This dataset covers various video understanding tasks:
### Object and Action Recognition*"What ingredients did the person put in the bowl or on the plate?"*
### Temporal Reasoning*"How many objects were put in the backpack throughout the video?"*
### Camera Motion Analysis*"Is the camera moving or static?"*
### Spatial Understanding*"Where is the person?"*
### Activity Recognition*"What is the person preparing?"*
## Data Quality
- All video files have been validated to exist- Questions are human-annotated from the Perception Test dataset- Multiple choice format ensures consistent evaluation- Fair distribution across videos (avg 1.0 questions per video)- Correct answers provided for evaluation
## Example Entry
```json{ "file_name": "videos/video_10909.mp4", "video_id": "video_10909", "question": "Is the camera moving or static?", "options": ["I don't know", "moving", "static or shaking"], "correct_answer": "static or shaking", "question_type": "multiple choice"}```
## Citation
If you use this dataset, please cite the original Perception Test paper:
```bibtex@article{perception-test-2022, title={Perception Test: A Diagnostic Benchmark for Multimodal Video Models}, author={Pătrăucean, Viorica and others}, journal={arXiv preprint arXiv:2211.13775}, year={2022}}```
## License
This dataset is released under the Apache 2.0 license.123version https://git-lfs.github.com/spec/v1oid sha256:26f67202ccb0eba7df06738abccd5ff13f6d65d14d4fb7911670f1277ebded13size 7888940123version https://git-lfs.github.com/spec/v1oid sha256:96b3ec9b4e71b01d0fc537dbc4572c24506d207a1de0ae8b9440c163cd29ffbbsize 8558593123version https://git-lfs.github.com/spec/v1oid sha256:3cdf8b7d7e095116ee31ae6a2d663c9d1fe11eaa837fc8f02f366eb63ab16e3fsize 3385559123version https://git-lfs.github.com/spec/v1oid sha256:1bbe9cc02c9207bb32757b7cdb65eee714091b0a920c2bf1f9dff17f16feef97size 5437450123version https://git-lfs.github.com/spec/v1oid sha256:21b30c5cbc4d5d986306a036cee2d738acca1cc0ce94f32f37dc5f72bf56359esize 8273743123version https://git-lfs.github.com/spec/v1oid sha256:51d0ddb6142732dabf044418eb3bcd30d4388b41d287e84f100692f8b0c46718size 8423073123version https://git-lfs.github.com/spec/v1oid sha256:e9f1db1a895fb30469926eca1934d36be0c7fbacf73c963cc3941c92213d609esize 5156562123version https://git-lfs.github.com/spec/v1oid sha256:4da499321fc02c84b664fe23a5014a0909490428e51efee96670319f84bd583bsize 6398045123version https://git-lfs.github.com/spec/v1oid sha256:00c91335700f792a571a3b0797defa7c7c027840299aa40097acb4e7fd2930cdsize 7425802123version https://git-lfs.github.com/spec/v1oid sha256:f87570cc3e8a5969d9a65fed5df37d8b114435dd3dbf1eb3694d7dab4e214ce3size 7706884123version https://git-lfs.github.com/spec/v1oid sha256:37b97e469c2ea2f01aa85e7b5bd0cf0a6fe3ab8b7db37001c6d6e6425005539csize 22061087123version https://git-lfs.github.com/spec/v1oid sha256:4d3ed68462356e77a5adcbcba311432251542b7a9fdea2cf256797a87f6bd5e0size 8508705123version https://git-lfs.github.com/spec/v1oid sha256:14735626a88d7ccd603dc889d6ea782923b3cf06cf429d3b124a632c33f25912size 4757927123version https://git-lfs.github.com/spec/v1oid sha256:9d229d7451e2e431466bdedcd57a3885c9c492a6955161d0215b779f19d1537bsize 4595191123version https://git-lfs.github.com/spec/v1oid sha256:1196933e10576556b6bad2ca47a1bc7c0a5b2e681162f14d7f157203966e0dfasize 8083699123version https://git-lfs.github.com/spec/v1oid sha256:127039f73bce9d47e21c089714e3a79afe9e7fb6976fb2707b064d657826a2fasize 20553469123version https://git-lfs.github.com/spec/v1oid sha256:c9830a00fc0ab4f128575207fbdc079e58d0b5b21927d87aa62f145bbc1887d1size 1912048123version https://git-lfs.github.com/spec/v1oid sha256:e5f7154cfa4388cc0db72c4d5db95fcb6408b5c4c973444237bd5f014589e944size 5830973123version https://git-lfs.github.com/spec/v1oid sha256:ead422a2a5980492b4124f1eb669d9eb5d0f1f334a52bd8a2741a4c3d5839abdsize 7800036123version https://git-lfs.github.com/spec/v1oid sha256:bb5bdb44e8597e836c842561f487d7896f8adea1166ec8bec016ee3ae8bc849bsize 4018968123version https://git-lfs.github.com/spec/v1oid sha256:5a40d864bf8510cf7973b9c07db2f6c5f8d4a7c05639f2357514e88153ce51fcsize 8300184123version https://git-lfs.github.com/spec/v1oid sha256:3a47286581fa9028709bed4783e2932d7e9da59755bcfdda0fa9be9013e41653size 8940047123version https://git-lfs.github.com/spec/v1oid sha256:c01353e49de0bc3fb3cd264b85348a8d3be9b77f79a9e291291973d5fb71e37esize 2801896123version https://git-lfs.github.com/spec/v1oid sha256:881ea8a71d9c4ddf1cb5e3f88cbbc4e3e5ab50d47c7e0aa0fa1833baeb3b98casize 4548250123version https://git-lfs.github.com/spec/v1oid sha256:44598339c81d5063f6beab0f858d319814b2b5ac333819eeab42610d02877bc4size 6575393123version https://git-lfs.github.com/spec/v1oid sha256:1e444fa4f783227c6e782519539d858358c52c1d6a8fd8d27c502f2d9b175b1asize 5763426123version https://git-lfs.github.com/spec/v1oid sha256:2551d7eec60e45a4c717fd2bfb2bd848fe4375eceb5bad8d4a550e6ec59e6885size 7188788123version https://git-lfs.github.com/spec/v1oid sha256:008ed21e2d21109e6018caab38cd5d95c6554aee122022658808b37568c2098bsize 3785152123version https://git-lfs.github.com/spec/v1oid sha256:ceb2df60d56448592e7a9213e0a333683a2d5b148a5c31b93d76490943fb33adsize 7173086123version https://git-lfs.github.com/spec/v1oid sha256:09ed4184d062c0f5ab451577179428be5e7c3c48263ea9d45efd91f2dee6e934size 8693083123version https://git-lfs.github.com/spec/v1oid sha256:015a49b2dea1a6bda448a6acecacbb4ab5c6eca997f091a5dfce517f801a2a17size 7607675123version https://git-lfs.github.com/spec/v1oid sha256:545210decdcf4495c4b80479e9543efa802c86fd15f9dd20acf5d39226eddd35size 3197469123version https://git-lfs.github.com/spec/v1oid sha256:fbb496ff0f55c20bc6ed866ba5ceea0059411781bd2bc43d8994416974ec721esize 3542081123version https://git-lfs.github.com/spec/v1oid sha256:404e7bd35176588cea171313f89d9637cc909249c9e37cdf02f78ee90446af2bsize 6408793123version https://git-lfs.github.com/spec/v1oid sha256:7753cef16d6d049c5d1e8396fbe6c1d4513b4ef5bccc5de4e3b7fa52a03d6c60size 3960905123version https://git-lfs.github.com/spec/v1oid sha256:87fab6f7d8ba7d30049e8c61bf449208977d5130f1365d54025a3f9ccfaa3a6bsize 7647911123version https://git-lfs.github.com/spec/v1oid sha256:3eccdc41e12ba60a26e016e35b36c47ee35fb8319981ab2cb34ab9471d4561d5size 6141303123version https://git-lfs.github.com/spec/v1oid sha256:82c61aaac477374106f409bf4483f9ee6759896c6b3fc047452b2e0bd94e5644size 8748160123version https://git-lfs.github.com/spec/v1oid sha256:c0aaccfcfaf100860d4b6d35931567196522c0ef8aea25acd5c2b2f370c22f83size 7296825123version https://git-lfs.github.com/spec/v1oid sha256:a617db83e1b2515d84161e0ed7044aa02cb437952075f080ebeb51351f411122size 3677999123version https://git-lfs.github.com/spec/v1oid sha256:a7aba32b67027ee455fcff12d5112c5b7b1570f7505a1061a4c15017e62b6835size 8621410123version https://git-lfs.github.com/spec/v1oid sha256:9227ff954841f6468abeeae048e21fe6104a62a00ae77ec2c8336d3345c64c28size 2989057123version https://git-lfs.github.com/spec/v1oid sha256:10c68c10c930af2ad2456b233aca4adc3e8358c5e7e74522f14b11f59282deeasize 7122158123version https://git-lfs.github.com/spec/v1oid sha256:351cae1c94a421bc3c714dae8cd884a7bfeb3f188875385deebda171796b331esize 5456495123version https://git-lfs.github.com/spec/v1oid sha256:4ef23b9c2d1dbecd1758a6700b80e1d8ff09d61ccf66a76f85aba8bf0d51279csize 5320998123version https://git-lfs.github.com/spec/v1oid sha256:160ebc192df173ab78d872f83bb935e2a4c86e11f4de70719276081cfb8638e9size 5674305123version https://git-lfs.github.com/spec/v1oid sha256:442998671818d286056d52067a5ad52b85b58a7b498060f9f3841546544d0cb2size 8839068123version https://git-lfs.github.com/spec/v1oid sha256:1465a793fb16c50c419ff6e49189267b42dff07bbf431bf031b57cec40d73cd8size 3588040README.mdAdded+162
data/metadata.csvAdded
data/videos/video_0.mp4Added+3
data/videos/video_1001.mp4Added+3
data/videos/video_10019.mp4Added+3
data/videos/video_10033.mp4Added+3
data/videos/video_10036.mp4Added+3
data/videos/video_10049.mp4Added+3
data/videos/video_10055.mp4Added+3
data/videos/video_10056.mp4Added+3
data/videos/video_1006.mp4Added+3
data/videos/video_10065.mp4Added+3
data/videos/video_10071.mp4Added+3
data/videos/video_10078.mp4Added+3
data/videos/video_1008.mp4Added+3
data/videos/video_10119.mp4Added+3
data/videos/video_10134.mp4Added+3
data/videos/video_10174.mp4Added+3
data/videos/video_10189.mp4Added+3
data/videos/video_10203.mp4Added+3
data/videos/video_10218.mp4Added+3
data/videos/video_10221.mp4Added+3
data/videos/video_10223.mp4Added+3
data/videos/video_10230.mp4Added+3
data/videos/video_10234.mp4Added+3
data/videos/video_1024.mp4Added+3
data/videos/video_10241.mp4Added+3
data/videos/video_10245.mp4Added+3
data/videos/video_10277.mp4Added+3
data/videos/video_10281.mp4Added+3
data/videos/video_10299.mp4Added+3
data/videos/video_10302.mp4Added+3
data/videos/video_10312.mp4Added+3
data/videos/video_10325.mp4Added+3
data/videos/video_1033.mp4Added+3
data/videos/video_10335.mp4Added+3
data/videos/video_10374.mp4Added+3
data/videos/video_10377.mp4Added+3
data/videos/video_10381.mp4Added+3
data/videos/video_10385.mp4Added+3
data/videos/video_10395.mp4Added+3
data/videos/video_10398.mp4Added+3
data/videos/video_10417.mp4Added+3
data/videos/video_10426.mp4Added+3
data/videos/video_10429.mp4Added+3
data/videos/video_10431.mp4Added+3
data/videos/video_10453.mp4Added+3
data/videos/video_10455.mp4Added+3
data/videos/video_10462.mp4Added+3
data/videos/video_10478.mp4Added+3