Datasets:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🗂️ MoSim Dataset
|
| 2 |
+
|
| 3 |
+
Official release of the dataset from the paper:
|
| 4 |
+
**[Neural Motion Simulator: Pushing the Limit of World Models in Reinforcement Learning](https://arxiv.org/pdf/2504.07095)**
|
| 5 |
+
|
| 6 |
+
This dataset provides the training and evaluation data used for the **MoSim (Neural Motion Simulator)** world models.
|
| 7 |
+
All trajectories are collected **exclusively using random policies** across multiple standard simulation environments.
|
| 8 |
+
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
## 📦 Dataset Overview
|
| 12 |
+
|
| 13 |
+
- **Format**: Parquet files for efficient loading and processing.
|
| 14 |
+
- **Contents**:
|
| 15 |
+
- State sequences (`qpos`, `qvel`, sensor readings)
|
| 16 |
+
- Action sequences (raw control inputs)
|
| 17 |
+
- Environment metadata (episode length, environment name)
|
| 18 |
+
- **Size**: ~XX GB (after compression)
|
| 19 |
+
- **Environments**: Includes standard MuJoCo-based tasks such as `Cheetah`, `Hopper`, `Humanoid`, and `Go2`.
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## 📊 Structure
|
| 24 |
+
|
| 25 |
+
Each trajectory is stored as a sequence of steps:
|
| 26 |
+
|
| 27 |
+
| Field | Shape (per step) | Description |
|
| 28 |
+
|----------------|-----------------------|-------------------------------------------|
|
| 29 |
+
| `qpos` | *(n_joints,)* | Joint positions |
|
| 30 |
+
| `qvel` | *(n_joints,)* | Joint velocities |
|
| 31 |
+
| `action` | *(action_dim,)* | Environment action |
|
| 32 |
+
| `reward` | *1* | Immediate reward |
|
| 33 |
+
| `done` | *1* | Episode termination flag |
|
| 34 |
+
| `env_id` | *string* | Environment identifier |
|
| 35 |
+
|
| 36 |
+
All episodes are segmented and zero-padded to fixed length for training convenience.
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## 📥 Usage
|
| 41 |
+
|
| 42 |
+
```python
|
| 43 |
+
from datasets import load_dataset
|
| 44 |
+
|
| 45 |
+
# Load the full MoSim dataset
|
| 46 |
+
dataset = load_dataset("wujiss1/MoSim_Dataset")
|
| 47 |
+
|
| 48 |
+
# Access one environment subset
|
| 49 |
+
hopper_data = dataset["train"].filter(lambda x: x["env_id"] == "Hopper")
|
| 50 |
+
print(hopper_data[0].keys())
|