Add embedded previews for Dataset Viewer
Browse files- README.md +7 -3
- data/spatialgen_bench.jsonl +0 -0
- data/spatialgen_bench_viewer.parquet +3 -0
README.md
CHANGED
|
@@ -45,7 +45,7 @@ configs:
|
|
| 45 |
- config_name: default
|
| 46 |
data_files:
|
| 47 |
- split: test
|
| 48 |
-
path: data/
|
| 49 |
---
|
| 50 |
|
| 51 |
# SpatialGen-Bench
|
|
@@ -64,7 +64,8 @@ SpatialGen-Bench is a diagnostic benchmark for spatial cognition in image-genera
|
|
| 64 |
```text
|
| 65 |
SpatialGen-Bench/
|
| 66 |
├── data/
|
| 67 |
-
│
|
|
|
|
| 68 |
├── benchmarks/
|
| 69 |
│ ├── perception/
|
| 70 |
│ ├── understanding/
|
|
@@ -81,13 +82,16 @@ Each JSONL record contains:
|
|
| 81 |
- `id`: stable sample identifier
|
| 82 |
- `capability`: one of the four capability levels
|
| 83 |
- `task`: subtask name
|
| 84 |
-
- `image`: version-pinned primary image used by the Hugging Face Dataset Viewer
|
| 85 |
- `image_path`: path relative to `benchmarks/`
|
| 86 |
- `media_paths`: all ordered input images for single- or multi-image tasks
|
| 87 |
- `mask_path`: optional ground-truth mask path
|
| 88 |
- `question`, string-normalized `answer`, `answer_type`, and `choices`
|
| 89 |
- `source`, `source_id`, and serialized task-specific `metadata_json`
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
Load the annotations with Hugging Face Datasets:
|
| 92 |
|
| 93 |
```python
|
|
|
|
| 45 |
- config_name: default
|
| 46 |
data_files:
|
| 47 |
- split: test
|
| 48 |
+
path: data/spatialgen_bench_viewer.parquet
|
| 49 |
---
|
| 50 |
|
| 51 |
# SpatialGen-Bench
|
|
|
|
| 64 |
```text
|
| 65 |
SpatialGen-Bench/
|
| 66 |
├── data/
|
| 67 |
+
│ ├── spatialgen_bench.jsonl
|
| 68 |
+
│ └── spatialgen_bench_viewer.parquet
|
| 69 |
├── benchmarks/
|
| 70 |
│ ├── perception/
|
| 71 |
│ ├── understanding/
|
|
|
|
| 82 |
- `id`: stable sample identifier
|
| 83 |
- `capability`: one of the four capability levels
|
| 84 |
- `task`: subtask name
|
|
|
|
| 85 |
- `image_path`: path relative to `benchmarks/`
|
| 86 |
- `media_paths`: all ordered input images for single- or multi-image tasks
|
| 87 |
- `mask_path`: optional ground-truth mask path
|
| 88 |
- `question`, string-normalized `answer`, `answer_type`, and `choices`
|
| 89 |
- `source`, `source_id`, and serialized task-specific `metadata_json`
|
| 90 |
|
| 91 |
+
The default Hugging Face configuration loads `spatialgen_bench_viewer.parquet`,
|
| 92 |
+
which adds a compact 512px `image` preview for Dataset Viewer. The canonical
|
| 93 |
+
JSONL and original media paths remain unchanged for evaluation.
|
| 94 |
+
|
| 95 |
Load the annotations with Hugging Face Datasets:
|
| 96 |
|
| 97 |
```python
|
data/spatialgen_bench.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/spatialgen_bench_viewer.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2fd8800a7af5bec8d5d27e3f708ad0ee7ecd9a664d8adecb1bb673d5cdc92343
|
| 3 |
+
size 16782430
|