Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- reinforcement-learning
|
| 5 |
+
tags:
|
| 6 |
+
- world-model
|
| 7 |
+
- nes
|
| 8 |
+
- super-mario-bros
|
| 9 |
+
- death-data
|
| 10 |
+
size_categories:
|
| 11 |
+
- 10K<n<100K
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# SMB Death Data (Noisy TAS)
|
| 15 |
+
|
| 16 |
+
Training data containing **death sequences** for Super Mario Bros world model.
|
| 17 |
+
|
| 18 |
+
## Dataset Description
|
| 19 |
+
|
| 20 |
+
- **89,295 frames** from noisy TAS playthroughs
|
| 21 |
+
- Noise injected at 10 different points (9%, 18%, 27%... through game)
|
| 22 |
+
- 5% noise rate (random button modifications)
|
| 23 |
+
- Captures deaths at ALL stages of the game (World 1 through 8)
|
| 24 |
+
|
| 25 |
+
## Why This Data?
|
| 26 |
+
|
| 27 |
+
Clean TAS data only shows optimal play - Mario never dies. This dataset adds:
|
| 28 |
+
- Goomba collisions → death
|
| 29 |
+
- Pit falls → death
|
| 30 |
+
- Koopa collisions → death
|
| 31 |
+
- Missed jumps → death
|
| 32 |
+
- Failed timing → death
|
| 33 |
+
|
| 34 |
+
At every stage of the game, not just World 1-1.
|
| 35 |
+
|
| 36 |
+
## Data Format
|
| 37 |
+
|
| 38 |
+
Same as smb-worldmodel-data:
|
| 39 |
+
```python
|
| 40 |
+
data = np.load("frame_000000.npz")
|
| 41 |
+
frame = data['frame'] # (224, 256, 3) uint8
|
| 42 |
+
action = data['action'] # (8,) float32
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
## Usage
|
| 46 |
+
|
| 47 |
+
```python
|
| 48 |
+
from huggingface_hub import hf_hub_download
|
| 49 |
+
import zipfile
|
| 50 |
+
|
| 51 |
+
path = hf_hub_download(
|
| 52 |
+
repo_id="DylanRiden/smb-death-data",
|
| 53 |
+
filename="smb_death_data.zip",
|
| 54 |
+
repo_type="dataset"
|
| 55 |
+
)
|
| 56 |
+
|
| 57 |
+
with zipfile.ZipFile(path, 'r') as z:
|
| 58 |
+
z.extractall("./death_data")
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## Combine with Clean Data
|
| 62 |
+
|
| 63 |
+
For training, mix with clean TAS data:
|
| 64 |
+
- [DylanRiden/smb-worldmodel-data](https://huggingface.co/datasets/DylanRiden/smb-worldmodel-data) - 118k clean frames
|
| 65 |
+
- This repo - 89k death frames
|
| 66 |
+
- **Total: 207k frames**
|
| 67 |
+
|
| 68 |
+
## License
|
| 69 |
+
|
| 70 |
+
MIT
|