AutoWorldModel commited on
Commit
c945c5c
·
verified ·
1 Parent(s): 9079cc8

Update dataset card: add scenarios documentation

Browse files
Files changed (1) hide show
  1. README.md +49 -6
README.md CHANGED
@@ -104,13 +104,23 @@ This dataset accompanies the [AutoWorldModel-Bench](https://github.com/AutoWorld
104
  ## Dataset Structure
105
 
106
  ```
107
- data/
108
  └── {game}/
109
- ├── train.parquet # 10,000 episodes
110
- ├── val.parquet # 3,000 episodes
111
- ├── test.parquet # 3,000 episodes
112
- ├── scenario.parquet # 3,000 episodes
113
- └── meta.json # max_entities, dimensions, total_frames
 
 
 
 
 
 
 
 
 
 
114
  ```
115
 
116
  ## Games
@@ -141,6 +151,39 @@ v2 games (asteroids, breakout, frogger, kong, platformer) use a 3-policy mix for
141
 
142
  v1 games (pong, racer, snake) use a 50/50 heuristic + random mix.
143
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  ## Tensor Schema
145
 
146
  Each Parquet row stores one episode as serialized numpy arrays:
 
104
  ## Dataset Structure
105
 
106
  ```
107
+ data/ # Parquet training data
108
  └── {game}/
109
+ ├── train.parquet # 10,000 episodes
110
+ ├── val.parquet # 3,000 episodes
111
+ ├── test.parquet # 3,000 episodes
112
+ ├── scenario.parquet # 3,000 episodes
113
+ └── meta.json # max_entities, dimensions, total_frames
114
+
115
+ scenarios/ # Curated scenario archives (tar.gz per game)
116
+ └── {game}.tar.gz
117
+ └── {game}/
118
+ └── {scenario_name}/ # e.g. ball_hits_paddle, ship_dies
119
+ └── data_ep_{id}/
120
+ ├── frames.jsonl.gz # Per-frame entity states
121
+ ├── manifest.json # Game schema, entity kinds, action/global fields
122
+ ├── meta.json # Episode metadata, event info, rollout params
123
+ └── rollout.mp4 # Visual replay
124
  ```
125
 
126
  ## Games
 
151
 
152
  v1 games (pong, racer, snake) use a 50/50 heuristic + random mix.
153
 
154
+ ## Scenarios
155
+
156
+ Hand-picked and categorized episodes that isolate specific game events — sourced from the scenario split and augmented with synthetically collected episodes. Each episode captures a short rollout around a key event (e.g., collision, scoring, death) with history context.
157
+
158
+ | Game | Scenarios | Episodes | Archive Size |
159
+ |------|---:|---:|---:|
160
+ | asteroids | 14 | 420 | 41 MB |
161
+ | breakout | 6 | 160 | 9 MB |
162
+ | frogger | 5 | 180 | 27 MB |
163
+ | kong | 5 | 180 | 7 MB |
164
+ | platformer | 5 | 160 | 10 MB |
165
+ | pong | 15 | 460 | 14 MB |
166
+ | racer | 5 | 140 | 6 MB |
167
+ | snake | 5 | 160 | 11 MB |
168
+
169
+ Each game includes a `same_state_different_actions` scenario that tests action-conditioning by replaying the same initial state with varied actions.
170
+
171
+ ### Downloading scenarios
172
+
173
+ ```python
174
+ from huggingface_hub import hf_hub_download
175
+ import tarfile
176
+
177
+ path = hf_hub_download(
178
+ "AutoWorldModel/AutoWorldModelBench",
179
+ "scenarios/pong.tar.gz",
180
+ repo_type="dataset",
181
+ )
182
+ with tarfile.open(path) as tar:
183
+ tar.extractall("./scenarios")
184
+ # ./scenarios/pong/ball_hits_left_paddle_moving/data_ep_.../frames.jsonl.gz
185
+ ```
186
+
187
  ## Tensor Schema
188
 
189
  Each Parquet row stores one episode as serialized numpy arrays: