CLTRAY commited on
Commit
82575db
·
verified ·
1 Parent(s): 07b339e

Add dataset card with model links and download instructions

Browse files
Files changed (1) hide show
  1. README.md +107 -0
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: SAGE Manipulation Datasets
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - robotics
7
+ - world-model
8
+ - planning
9
+ - libero
10
+ - robotwin
11
+ ---
12
+
13
+ # SAGE Datasets
14
+
15
+ Manipulation datasets for **[SAGE: Subgoal-Conditioned Action Generation for Latent World Model Planning](https://arxiv.org/abs/2607.17973)**.
16
+
17
+ [Paper](https://arxiv.org/abs/2607.17973) | [Code](https://github.com/PKU-ML/SAGE) | [Models](https://huggingface.co/CLTRAY/SAGE)
18
+
19
+ ## Data
20
+
21
+ | Environment | File prefix | Train | Validation | Evaluation |
22
+ |:---|:---|---:|---:|---:|
23
+ | LIBERO Scene2 | `libero_scene2` | 78.92 GB | 9.88 GB | 19.34 GB |
24
+ | LIBERO Caddy | `libero_caddy` | 68.43 GB | 8.56 GB | 8.64 GB |
25
+ | RoboTwin A2B | `robotwin_a2b` | 70.58 GB | 8.95 GB | 1.36 GB |
26
+
27
+ Sizes are archive sizes in decimal GB. Training and validation archives are under `training/`; evaluation archives are under `evaluation/`. Evaluation archives contain the inputs required by the released query manifests, not a complete training dataset. Simulator assets and model weights are installed separately.
28
+
29
+ ## Download
30
+
31
+ Install the download client:
32
+
33
+ ```bash
34
+ pip install -U huggingface_hub
35
+ ```
36
+
37
+ Download only the evaluation data you need, for example LIBERO Scene2:
38
+
39
+ ```python
40
+ from huggingface_hub import snapshot_download
41
+
42
+ snapshot_download(
43
+ repo_id="CLTRAY/SAGE-data",
44
+ repo_type="dataset",
45
+ allow_patterns=["evaluation/libero_scene2_evaluation.tar"],
46
+ local_dir="sage-data",
47
+ )
48
+ ```
49
+
50
+ To download Scene2 training and validation instead, use `allow_patterns=["training/libero_scene2_*"]`. Replace `libero_scene2` with `libero_caddy` or `robotwin_a2b` for the other environments. Omitting `allow_patterns` downloads all data (approximately 275 GB).
51
+
52
+ ## Extract
53
+
54
+ Evaluation and validation archives are ordinary tar files:
55
+
56
+ ```bash
57
+ mkdir -p datasets/libero_scene2
58
+ tar -xf sage-data/evaluation/libero_scene2_evaluation.tar -C datasets/libero_scene2
59
+ ```
60
+
61
+ Training archives are split into numbered binary parts. **Merge them before extraction; individual parts are not separate tar archives.** After downloading all parts and the corresponding `.parts.json`, run:
62
+
63
+ ```python
64
+ import hashlib
65
+ import json
66
+ from pathlib import Path
67
+
68
+ root = Path("sage-data")
69
+ manifest = json.loads((root / "training/libero_scene2_train.tar.parts.json").read_text())
70
+ archive = root / "training" / manifest["archive"]
71
+ full_hash = hashlib.sha256()
72
+ with archive.open("wb") as output:
73
+ for part in manifest["parts"]:
74
+ source = root / part["path"]
75
+ assert source.stat().st_size == part["bytes"], source
76
+ part_hash = hashlib.sha256()
77
+ with source.open("rb") as stream:
78
+ for block in iter(lambda: stream.read(8 * 1024 * 1024), b""):
79
+ part_hash.update(block)
80
+ full_hash.update(block)
81
+ output.write(block)
82
+ assert part_hash.hexdigest() == part["sha256"], source
83
+ assert archive.stat().st_size == manifest["bytes"]
84
+ assert full_hash.hexdigest() == manifest["sha256"]
85
+ print(f"Verified: {archive}")
86
+ ```
87
+
88
+ Then extract the merged archive:
89
+
90
+ ```bash
91
+ mkdir -p datasets/libero_scene2_train
92
+ tar -xf sage-data/training/libero_scene2_train.tar -C datasets/libero_scene2_train
93
+ tar -xf sage-data/training/libero_scene2_validation.tar -C datasets/libero_scene2_train
94
+ ```
95
+
96
+ Allow disk space for the downloaded parts, merged archive, and extracted files. For environment setup, query manifests, and training/evaluation commands, see the [native benchmark guide](https://github.com/PKU-ML/SAGE/blob/main/NATIVE.md).
97
+
98
+ ## Citation
99
+
100
+ ```bibtex
101
+ @article{cheng2026sage,
102
+ title={SAGE: Subgoal-Conditioned Action Generation for Latent World Model Planning},
103
+ author={Cheng, Letian and Zhang, Qi and Wang, Yisen},
104
+ journal={arXiv preprint arXiv:2607.17973},
105
+ year={2026}
106
+ }
107
+ ```