Datasets:
Upload README.md with huggingface_hub
Browse files99 unmodified lines1001011021031041051061071087 unmodified lines11611711811912012112212312412512612712812913013113299 unmodified lines```pythonfrom datasets import load_datasetdataset = load_dataset("RyanWW/Spatial457", name="L5_6d_spatial", split="validation", data_dir=".")```Each example is a dictionary like:```python7 unmodified lines}```### 🔹 Other available configurations```python["L1_single", "L2_objects", "L3_2d_spatial","L4_occ", "L4_pose", "L5_6d_spatial", "L5_collision"]```You can swap `name="..."` in `load_dataset(...)` to evaluate different spatial reasoning capabilities.## 📊 BenchmarkWe benchmarked a wide range of state-of-the-art models—including GPT-4o, Gemini, Claude, and several open-source LMMs—across all subsets. The results below have been updated after rerunning the evaluation. While they show minor variance compared to the results in the published paper, the conclusions remain unchanged.99 unmodified lines1001011021031041051061071081091101111121131141151161171181197 unmodified lines12712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917099 unmodified lines```pythonfrom datasets import load_dataset# Load dataset from Hugging Face Hubdataset = load_dataset("RyanWW/Spatial457",name="L5_6d_spatial",split="validation",trust_remote_code=True # Required for custom loading script)```**Important Notes:**- ✅ Use `trust_remote_code=True` to enable the custom dataset loading script- ❌ Do NOT use `data_dir` parameter when loading from Hugging Face Hub- 📦 Images are automatically downloaded and cachedEach example is a dictionary like:```python7 unmodified lines}```### 🔹 Available Configurations```pythonconfigs = ["L1_single", # Single object identification"L2_objects", # Multi-object understanding"L3_2d_spatial", # 2D spatial reasoning"L4_occ", # Object occlusion"L4_pose", # 3D pose estimation"L5_6d_spatial", # 6D spatial reasoning"L5_collision" # Collision detection]```You can swap `name="..."` in `load_dataset(...)` to evaluate different spatial reasoning capabilities.### 🔹 Example: Load and Use```pythonfrom datasets import load_dataset# Load datasetdataset = load_dataset("RyanWW/Spatial457",name="L5_6d_spatial",split="validation",trust_remote_code=True)print(f"Number of examples: {len(dataset)}")# Access first exampleexample = dataset[0]print(f"Question: {example['question']}")print(f"Answer: {example['answer']}")print(f"Image size: {example['image'].size}")```## 📊 BenchmarkWe benchmarked a wide range of state-of-the-art models—including GPT-4o, Gemini, Claude, and several open-source LMMs—across all subsets. The results below have been updated after rerunning the evaluation. While they show minor variance compared to the results in the published paper, the conclusions remain unchanged.
README.md+43-5