Separate canonical loading from image preview
Browse files- README.md +45 -6
- data/spatialgen_bench_full.parquet +3 -0
README.md
CHANGED
|
@@ -9,6 +9,38 @@ task_categories:
|
|
| 9 |
- image-to-image
|
| 10 |
license: other
|
| 11 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
features:
|
| 13 |
- name: image
|
| 14 |
dtype: image
|
|
@@ -29,6 +61,10 @@ dataset_info:
|
|
| 29 |
num_examples: 470
|
| 30 |
configs:
|
| 31 |
- config_name: default
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
data_files:
|
| 33 |
- split: test
|
| 34 |
path: data/spatialgen_bench_viewer.parquet
|
|
@@ -51,6 +87,7 @@ SpatialGen-Bench is a diagnostic benchmark for spatial cognition in image-genera
|
|
| 51 |
SpatialGen-Bench/
|
| 52 |
├── data/
|
| 53 |
│ ├── spatialgen_bench.jsonl
|
|
|
|
| 54 |
│ └── spatialgen_bench_viewer.parquet
|
| 55 |
├── benchmarks/
|
| 56 |
│ ├── perception/
|
|
@@ -74,19 +111,21 @@ Each JSONL record contains:
|
|
| 74 |
- `question`, string-normalized `answer`, `answer_type`, and `choices`
|
| 75 |
- `source`, `source_id`, and serialized task-specific `metadata_json`
|
| 76 |
|
| 77 |
-
The default Hugging Face configuration
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
and original order for evaluation.
|
| 81 |
|
| 82 |
-
Load
|
| 83 |
|
| 84 |
```python
|
| 85 |
from datasets import load_dataset
|
| 86 |
|
| 87 |
-
|
|
|
|
| 88 |
```
|
| 89 |
|
|
|
|
|
|
|
| 90 |
Media fields contain paths relative to the repository's `benchmarks/` directory. Download the complete evaluation package with:
|
| 91 |
|
| 92 |
```bash
|
|
|
|
| 9 |
- image-to-image
|
| 10 |
license: other
|
| 11 |
dataset_info:
|
| 12 |
+
- config_name: default
|
| 13 |
+
features:
|
| 14 |
+
- name: id
|
| 15 |
+
dtype: string
|
| 16 |
+
- name: capability
|
| 17 |
+
dtype: string
|
| 18 |
+
- name: task
|
| 19 |
+
dtype: string
|
| 20 |
+
- name: image_path
|
| 21 |
+
dtype: string
|
| 22 |
+
- name: media_paths
|
| 23 |
+
sequence: string
|
| 24 |
+
- name: mask_path
|
| 25 |
+
dtype: string
|
| 26 |
+
- name: question
|
| 27 |
+
dtype: string
|
| 28 |
+
- name: answer
|
| 29 |
+
dtype: string
|
| 30 |
+
- name: answer_type
|
| 31 |
+
dtype: string
|
| 32 |
+
- name: choices
|
| 33 |
+
sequence: string
|
| 34 |
+
- name: source
|
| 35 |
+
dtype: string
|
| 36 |
+
- name: source_id
|
| 37 |
+
dtype: string
|
| 38 |
+
- name: metadata_json
|
| 39 |
+
dtype: string
|
| 40 |
+
splits:
|
| 41 |
+
- name: test
|
| 42 |
+
num_examples: 470
|
| 43 |
+
- config_name: preview
|
| 44 |
features:
|
| 45 |
- name: image
|
| 46 |
dtype: image
|
|
|
|
| 61 |
num_examples: 470
|
| 62 |
configs:
|
| 63 |
- config_name: default
|
| 64 |
+
data_files:
|
| 65 |
+
- split: test
|
| 66 |
+
path: data/spatialgen_bench_full.parquet
|
| 67 |
+
- config_name: preview
|
| 68 |
data_files:
|
| 69 |
- split: test
|
| 70 |
path: data/spatialgen_bench_viewer.parquet
|
|
|
|
| 87 |
SpatialGen-Bench/
|
| 88 |
├── data/
|
| 89 |
│ ├── spatialgen_bench.jsonl
|
| 90 |
+
│ ├── spatialgen_bench_full.parquet
|
| 91 |
│ └── spatialgen_bench_viewer.parquet
|
| 92 |
├── benchmarks/
|
| 93 |
│ ├── perception/
|
|
|
|
| 111 |
- `question`, string-normalized `answer`, `answer_type`, and `choices`
|
| 112 |
- `source`, `source_id`, and serialized task-specific `metadata_json`
|
| 113 |
|
| 114 |
+
The default Hugging Face configuration mirrors the complete canonical JSONL schema
|
| 115 |
+
and original evaluation order. The optional `preview` configuration adds compact
|
| 116 |
+
512px images, task-grouped rows, and only the fields useful for inspection.
|
|
|
|
| 117 |
|
| 118 |
+
Load either view with Hugging Face Datasets:
|
| 119 |
|
| 120 |
```python
|
| 121 |
from datasets import load_dataset
|
| 122 |
|
| 123 |
+
full = load_dataset("wx91726/SpatialGen-Bench", split="test")
|
| 124 |
+
preview = load_dataset("wx91726/SpatialGen-Bench", "preview", split="test")
|
| 125 |
```
|
| 126 |
|
| 127 |
+
Browse the image-rich [preview configuration](https://huggingface.co/datasets/wx91726/SpatialGen-Bench/viewer/preview/test).
|
| 128 |
+
|
| 129 |
Media fields contain paths relative to the repository's `benchmarks/` directory. Download the complete evaluation package with:
|
| 130 |
|
| 131 |
```bash
|
data/spatialgen_bench_full.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99cb447bcba5b487d9b9f0a533450e12c2a21b951795501bcf7c711a6db80e04
|
| 3 |
+
size 124762
|