Spatialworld commited on
Commit
bbe57e4
ยท
verified ยท
1 Parent(s): b7b4764

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +48 -22
README.md CHANGED
@@ -35,42 +35,35 @@ SpatialWorld is a comprehensive benchmark designed to evaluate spatial reasoning
35
 
36
  ## ๐Ÿ“Š Dataset Statistics
37
 
38
- This Hugging Face repository contains the complete **SpatialWorld Benchmark** with all 630 tasks:
39
 
40
- | Platform | Tasks | Task Types | Unique Fields |
41
- |----------|-------|------------|---------------|
42
- | AI2Thor | 343 | Object manipulation, navigation | Category, Evaluation_Type, Level |
43
- | CARLA | 80 | Urban navigation, traffic scenarios | executor, image_url, input_modality, origin_location, weather |
44
- | ProcTHOR | 127 | Indoor navigation, household tasks | scene_index, Category, Evaluation_Type, Level |
45
- | VirtualHome | 80 | Multi-agent household activities | executor, image_url, input_modality, origin_location, weather |
46
- | **Total** | **630** | Multi-platform spatial reasoning | **20 fields total** |
47
 
48
  ## ๐Ÿ—‚๏ธ Repository Structure
49
 
50
  ```
51
- spatialworld.jsonl # Unified dataset (588 tasks, 20 columns)
52
- benchmark/ # Original raw task.json files
53
- โ”œโ”€โ”€ ai2thor/
54
- โ”œโ”€โ”€ carla/
55
- โ”œโ”€โ”€ procthor/
56
- โ”œโ”€โ”€ virtualhome/
57
- โ”œโ”€โ”€ embodiedcity/
58
- โ”œโ”€โ”€ game/
59
- โ””โ”€โ”€ shared/
60
- README.md # This file
61
  ```
62
 
63
  Two versions of the data are provided:
64
 
65
- 1. **`spatialworld.jsonl`** (Unified): All 588 tasks in a unified schema with 20 columns. HF Dataset Viewer parses this file.
66
  - Schema differences handled by including all possible fields
67
  - Missing fields use `null`
68
  - Complex nested structures encoded as JSON strings
69
  - Actions converted to Unified Action Space format
70
 
71
- 2. **`benchmark/`** (Raw): Original task.json files preserving platform-specific structures.
72
- - Use this if you need the original JSON format
73
- - Organized by platform: `ai2thor/`, `carla/`, `procthor/`, `virtualhome/`
74
 
75
  ## ๐ŸŽฎ Unified Action Space
76
 
@@ -171,6 +164,39 @@ print(f"Executor: {task['executor']}") # Only for carla/virtualhome
171
  | `scene_index` | int | Scene number | procthor |
172
  | `weather` | string | Weather condition | carla, virtualhome |
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  ### Loading Original Tasks (Local)
175
 
176
  For full benchmark with original JSON structures:
 
35
 
36
  ## ๐Ÿ“Š Dataset Statistics
37
 
38
+ This Hugging Face repository contains the **SpatialWorld Benchmark** with 588 tasks in the unified dataset:
39
 
40
+ | Platform | Unified Tasks | Full Dataset (benchmark.zip) | Task Types | Unique Fields |
41
+ |----------|---------------|------------------------------|------------|---------------|
42
+ | AI2Thor | 343 | 2,500+ | Object manipulation, navigation | Category, Evaluation_Type, Level |
43
+ | CARLA | 80 | 80 | Urban navigation, traffic scenarios | executor, image_url, input_modality, origin_location, weather |
44
+ | ProcTHOR | 127 | 127 | Indoor navigation, household tasks | scene_index, Category, Evaluation_Type, Level |
45
+ | VirtualHome | 38 | 38 | Multi-agent household activities | executor, image_url, input_modality, origin_location, weather |
46
+ | **Total** | **588** | **~2,745** | Multi-platform spatial reasoning | **20 fields total** |
47
 
48
  ## ๐Ÿ—‚๏ธ Repository Structure
49
 
50
  ```
51
+ spatialworld-test.jsonl # Unified dataset (588 tasks, 20 columns)
52
+ benchmark.zip # Full original dataset (8695 files, ~1GB)
53
+ README.md # This file
 
 
 
 
 
 
 
54
  ```
55
 
56
  Two versions of the data are provided:
57
 
58
+ 1. **`spatialworld-test.jsonl`** (Unified): All 588 tasks in a unified schema with 20 columns. HF Dataset Viewer parses this file.
59
  - Schema differences handled by including all possible fields
60
  - Missing fields use `null`
61
  - Complex nested structures encoded as JSON strings
62
  - Actions converted to Unified Action Space format
63
 
64
+ 2. **`benchmark.zip`** (Full Original Dataset): Complete raw task.json files (~1GB, 8695 files).
65
+ - Download and unzip to get the original folder structure: `benchmark/ai2thor/`, `benchmark/carla/`, `benchmark/procthor/`, `benchmark/virtualhome/`
66
+ - Use this if you need the original JSON format with platform-specific structures
67
 
68
  ## ๐ŸŽฎ Unified Action Space
69
 
 
164
  | `scene_index` | int | Scene number | procthor |
165
  | `weather` | string | Weather condition | carla, virtualhome |
166
 
167
+ ### Downloading Full Original Dataset
168
+
169
+ The complete original benchmark data (~1GB, 8695 files) is available in `benchmark.zip`:
170
+
171
+ **Option 1: Using Hugging Face Hub**
172
+ ```python
173
+ from huggingface_hub import hf_hub_download
174
+ import zipfile
175
+
176
+ # Download benchmark.zip
177
+ zip_path = hf_hub_download(
178
+ repo_id="Spatialworld/Spatialworld-bench",
179
+ filename="benchmark.zip",
180
+ repo_type="dataset",
181
+ local_dir="./"
182
+ )
183
+
184
+ # Extract
185
+ with zipfile.ZipFile(zip_path, 'r') as zip_ref:
186
+ zip_ref.extractall("./benchmark")
187
+
188
+ print("Full benchmark extracted to ./benchmark/")
189
+ ```
190
+
191
+ **Option 2: Direct Download**
192
+ ```bash
193
+ wget https://huggingface.co/datasets/Spatialworld/Spatialworld-bench/resolve/main/benchmark.zip
194
+ unzip benchmark.zip -d benchmark/
195
+ ```
196
+
197
+ **Option 3: Web Interface**
198
+ Visit https://huggingface.co/datasets/Spatialworld/Spatialworld-bench โ†’ Files and versions โ†’ download `benchmark.zip`
199
+
200
  ### Loading Original Tasks (Local)
201
 
202
  For full benchmark with original JSON structures: