Update README.md
Browse files
README.md
CHANGED
|
@@ -27,4 +27,108 @@ license: cc-by-4.0
|
|
| 27 |
language:
|
| 28 |
- en
|
| 29 |
pretty_name: QA Patches Task Dataset
|
| 30 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
language:
|
| 28 |
- en
|
| 29 |
pretty_name: QA Patches Task Dataset
|
| 30 |
+
---
|
| 31 |
+
# Dataset Card for Patch-Based Visual Question Answering Dataset
|
| 32 |
+
|
| 33 |
+
## Dataset Details
|
| 34 |
+
|
| 35 |
+
### Dataset Description
|
| 36 |
+
|
| 37 |
+
This dataset contains approximately 160,000 triplets of `question`, `answer`, and `image` designed for patch-based visual reasoning tasks.
|
| 38 |
+
|
| 39 |
+
A standard question in this dataset is formatted as follows:
|
| 40 |
+
|
| 41 |
+
> Image Grid: The image is divided into a 4x4 grid of 16 equal-sized patches. Patches are numbered sequentially from the top-left corner and moving right, then down to the next row.
|
| 42 |
+
> Task: Identify the patch number(s) that contain a potted plant.
|
| 43 |
+
> Response Format: Provide only the relevant patch number(s) as a list (e.g., [3], [5, 12], or [] if none are found).
|
| 44 |
+
|
| 45 |
+
The dataset is built on top of **COCO-2017**, from which object bounding boxes (bboxes) are used to generate questions and answers.
|
| 46 |
+
|
| 47 |
+
- **Curated by:** Yurii Potapov
|
| 48 |
+
- **Language(s) :** English
|
| 49 |
+
- **License:** Annotations and code: CC BY 4.0 (COCO), Images: Flickr Terms of Use
|
| 50 |
+
|
| 51 |
+
### Dataset Sources
|
| 52 |
+
|
| 53 |
+
- **Repository:** [Not yet published]
|
| 54 |
+
- **Paper:** [Not yet published]
|
| 55 |
+
- **Demo:** [More Information Needed]
|
| 56 |
+
|
| 57 |
+
## Uses
|
| 58 |
+
|
| 59 |
+
### Direct Use
|
| 60 |
+
|
| 61 |
+
- Training and evaluating **visual-language models (VLMs)** or other multimodal models.
|
| 62 |
+
- Patch-based object detection and reasoning.
|
| 63 |
+
- Research in **image question answering**, **visual reasoning**, and **multimodal representation learning**.
|
| 64 |
+
|
| 65 |
+
### Out-of-Scope Use
|
| 66 |
+
|
| 67 |
+
- Direct commercial redistribution of original COCO images without following Flickr Terms of Use.
|
| 68 |
+
- Use cases where original images are required to be displayed in full, due to copyright restrictions.
|
| 69 |
+
|
| 70 |
+
## Dataset Structure
|
| 71 |
+
|
| 72 |
+
- **question**: A textual description of the task referring to a 4x4 patch grid.
|
| 73 |
+
- **answer**: List of integers representing the patch indices containing the target object(s).
|
| 74 |
+
- **image**: Corresponding COCO-2017 image (PIL Image object or file path).
|
| 75 |
+
|
| 76 |
+
The dataset contains no explicit splits; users can generate their own train/validation/test splits as needed.
|
| 77 |
+
|
| 78 |
+
## Dataset Creation
|
| 79 |
+
|
| 80 |
+
### Curation Rationale
|
| 81 |
+
|
| 82 |
+
The dataset was created to facilitate **patch-level visual question answering** and to improve the training of visual-language models using real-world images with structured spatial queries.
|
| 83 |
+
|
| 84 |
+
### Source Data
|
| 85 |
+
|
| 86 |
+
The dataset is based on COCO-2017 images and annotations. Bounding boxes from COCO are used to determine which patches contain specific objects (e.g., potted plants).
|
| 87 |
+
|
| 88 |
+
#### Data Collection and Processing
|
| 89 |
+
|
| 90 |
+
- Images are sourced from COCO-2017 (Flickr) respecting their Terms of Use.
|
| 91 |
+
- Bounding boxes from COCO are used to automatically generate 4x4 grid questions.
|
| 92 |
+
- Each question asks which patch(es) contain a specific object.
|
| 93 |
+
- Answers are stored as lists of patch indices.
|
| 94 |
+
|
| 95 |
+
#### Who are the source data producers?
|
| 96 |
+
|
| 97 |
+
Original images were contributed by Flickr users and annotated by the COCO Consortium.
|
| 98 |
+
|
| 99 |
+
### Annotations
|
| 100 |
+
|
| 101 |
+
#### Annotation process
|
| 102 |
+
|
| 103 |
+
Annotations (bounding boxes) are sourced from COCO-2017. Patch assignments and questions were automatically generated programmatically based on bounding box locations.
|
| 104 |
+
|
| 105 |
+
#### Who are the annotators?
|
| 106 |
+
|
| 107 |
+
Annotations are from COCO annotators; patch-level questions are generated automatically.
|
| 108 |
+
|
| 109 |
+
#### Personal and Sensitive Information
|
| 110 |
+
|
| 111 |
+
The dataset does **not contain personal or sensitive information**.
|
| 112 |
+
|
| 113 |
+
## Bias, Risks, and Limitations
|
| 114 |
+
|
| 115 |
+
- Images reflect the distribution and biases present in COCO-2017.
|
| 116 |
+
- Models trained on this dataset may inherit biases from the original dataset.
|
| 117 |
+
- Limited to the objects annotated in COCO-2017.
|
| 118 |
+
|
| 119 |
+
### Recommendations
|
| 120 |
+
|
| 121 |
+
Users should be aware of the **copyright limitations of the original images** and provide attribution for COCO annotations. Use transformed or model-generated outputs rather than raw images for publication if possible.
|
| 122 |
+
|
| 123 |
+
## Glossary
|
| 124 |
+
|
| 125 |
+
- **Patch**: One of 16 equally sized blocks in a 4x4 grid over an image.
|
| 126 |
+
- **VLM (Visual-Language Model)**: A model that learns joint representations of images and text.
|
| 127 |
+
|
| 128 |
+
## Dataset Card Authors
|
| 129 |
+
|
| 130 |
+
Yurii Potapov
|
| 131 |
+
|
| 132 |
+
## Dataset Card Contact
|
| 133 |
+
|
| 134 |
+
yurii.a.potapov@gmail.com
|