Datasets:
Merge branch 'main' of https://huggingface.co/datasets/MoonTideF/GridTallyBench
Browse files
README.md
CHANGED
@@ -1,125 +1,124 @@
|
|
1 |
-
---
|
2 |
-
language:
|
3 |
-
- en
|
4 |
-
license: [mit]
|
5 |
-
annotations_creators:
|
6 |
-
- no-annotation
|
7 |
-
language_creators:
|
8 |
-
- machine-generated
|
9 |
-
pretty_name: GridTallyBench
|
10 |
-
size_categories:
|
11 |
-
- n<1k
|
12 |
-
source_datasets:
|
13 |
-
- original
|
14 |
-
task_categories:
|
15 |
-
- image-classification
|
16 |
-
- object-detection
|
17 |
-
task_ids:
|
18 |
-
- multi-class-image-classification
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
- **
|
49 |
-
- **
|
50 |
-
- **
|
51 |
-
- **
|
52 |
-
- **
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
- **
|
60 |
-
- **
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
- `
|
66 |
-
- `
|
67 |
-
- `
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
print(f"
|
91 |
-
print(f"
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
-
|
103 |
-
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
---
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: [mit]
|
5 |
+
annotations_creators:
|
6 |
+
- no-annotation
|
7 |
+
language_creators:
|
8 |
+
- machine-generated
|
9 |
+
pretty_name: GridTallyBench
|
10 |
+
size_categories:
|
11 |
+
- n<1k
|
12 |
+
source_datasets:
|
13 |
+
- original
|
14 |
+
task_categories:
|
15 |
+
- image-classification
|
16 |
+
- object-detection
|
17 |
+
task_ids:
|
18 |
+
- multi-class-image-classification
|
19 |
+
dataset_info:
|
20 |
+
features:
|
21 |
+
- name: block_pixel
|
22 |
+
dtype: int32
|
23 |
+
- name: grid_size
|
24 |
+
dtype: int32
|
25 |
+
- name: first_block
|
26 |
+
dtype: string
|
27 |
+
- name: image
|
28 |
+
dtype: image
|
29 |
+
splits:
|
30 |
+
- name: test
|
31 |
+
num_examples: 960
|
32 |
+
configs:
|
33 |
+
- config_name: default
|
34 |
+
data_files:
|
35 |
+
- split: test
|
36 |
+
path: data/test-*
|
37 |
+
---
|
38 |
+
|
39 |
+
# GridTallyBench: Checkerboard Image Dataset for MLLM Benchmarking
|
40 |
+
|
41 |
+
## Overview
|
42 |
+
|
43 |
+
GridTallyBench is a collection of synthetic checkerboard images designed to test and benchmark Multi-modal Large Language Models (MLLMs) on tasks involving visual pattern recognition and counting. This dataset offers a controlled environment for evaluating model performance on basic visual tasks, particularly useful for assessing an MLLM's ability to count and describe simple geometric patterns.
|
44 |
+
|
45 |
+
## Dataset Details
|
46 |
+
|
47 |
+
- **Name**: GridTallyBench
|
48 |
+
- **Version**: 1.0.0
|
49 |
+
- **Task**: Image classification and object counting
|
50 |
+
- **Size**: 960 images
|
51 |
+
- **Format**: Parquet file containing image data and metadata
|
52 |
+
- **License**: MIT
|
53 |
+
|
54 |
+
## Content
|
55 |
+
|
56 |
+
The dataset consists of checkerboard images with the following variations:
|
57 |
+
|
58 |
+
- **Block sizes**: 1x1 to 24x24 pixels
|
59 |
+
- **Grid sizes**: 1x1 to 20x20 blocks
|
60 |
+
- **Starting colors**: Black-first and white-first patterns
|
61 |
+
|
62 |
+
Each image in the dataset is accompanied by metadata including:
|
63 |
+
|
64 |
+
- `block_pixel`: Size of each square in pixels (1 to 24)
|
65 |
+
- `grid_size`: Number of squares in each row/column (1 to 20)
|
66 |
+
- `first_block`: Color of the top-left square ('black' or 'white')
|
67 |
+
- `image`: Binary data of the PNG image
|
68 |
+
|
69 |
+
## Use Cases
|
70 |
+
|
71 |
+
This dataset is particularly useful for:
|
72 |
+
|
73 |
+
1. Testing MLLM's ability to count objects in images
|
74 |
+
2. Evaluating pattern recognition capabilities
|
75 |
+
3. Assessing color differentiation in simple scenarios
|
76 |
+
4. Benchmarking performance on controlled, synthetic images
|
77 |
+
|
78 |
+
## Loading the Dataset
|
79 |
+
|
80 |
+
To load and use this dataset with the Hugging Face `datasets` library:
|
81 |
+
|
82 |
+
```python
|
83 |
+
from datasets import load_dataset
|
84 |
+
|
85 |
+
dataset = load_dataset("MoonTideF/GridTallyBench")
|
86 |
+
|
87 |
+
# Access the first item
|
88 |
+
first_item = dataset['test'][0]
|
89 |
+
print(f"Block size: {first_item['block_pixel']}x{first_item['block_pixel']} pixels")
|
90 |
+
print(f"Grid size: {first_item['grid_size']}x{first_item['grid_size']} blocks")
|
91 |
+
print(f"First block color: {first_item['first_block']}")
|
92 |
+
dataset['test'][0]['image'].show()
|
93 |
+
```
|
94 |
+
|
95 |
+
## Dataset Creation
|
96 |
+
|
97 |
+
This dataset was generated using a custom Python script. The images are synthetic and do not contain any real-world content or personal information.
|
98 |
+
|
99 |
+
## Limitations
|
100 |
+
|
101 |
+
- The dataset is limited to black and white colors only
|
102 |
+
- Images are synthetic and may not represent real-world complexity
|
103 |
+
- The largest image size is 480x480 pixels (20x20 grid with 24x24 pixel blocks)
|
104 |
+
|
105 |
+
## Citation
|
106 |
+
|
107 |
+
If you use this dataset in your research, please cite it as follows:
|
108 |
+
|
109 |
+
```
|
110 |
+
@misc{gridtallybench,
|
111 |
+
author = {MoonTideF},
|
112 |
+
title = {GridTallyBench: Checkerboard Image Dataset for MLLM Benchmarking},
|
113 |
+
year = {2024},
|
114 |
+
publisher = {Hugging Face},
|
115 |
+
journal = {Hugging Face Datasets},
|
116 |
+
howpublished = {\url{https://huggingface.co/datasets/MoonTideF/GridTallyBench}}
|
117 |
+
}
|
118 |
+
```
|
119 |
+
|
120 |
+
## Contact
|
121 |
+
|
122 |
+
For any questions or feedback regarding this dataset, please contact [Your Contact Information].
|
123 |
+
|
124 |
+
---
|
|