add README
Browse files
README.md
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# RLWF β DreamZero checkpoints
|
| 2 |
+
|
| 3 |
+
Private checkpoint repository for the RLWF paper ("Active Robot Data Collection
|
| 4 |
+
from World Model Feedback"). Two checkpoints, both **stock DreamZero
|
| 5 |
+
architecture, no architectural modifications** β only the training data and
|
| 6 |
+
training-config differ.
|
| 7 |
+
|
| 8 |
+
## Layout
|
| 9 |
+
|
| 10 |
+
```
|
| 11 |
+
rlwf-ckpt/
|
| 12 |
+
βββ README.md
|
| 13 |
+
βββ LICENSE
|
| 14 |
+
βββ mimicgen-core-14b-lora-step80000/ # LoRA fine-tune, ~217 MB
|
| 15 |
+
βββ mimicgen-core-14b-full-step46000/ # full fine-tune, 10-shard ~47 GB
|
| 16 |
+
```
|
| 17 |
+
|
| 18 |
+
## What each checkpoint is
|
| 19 |
+
|
| 20 |
+
### `mimicgen-core-14b-lora-step80000/`
|
| 21 |
+
|
| 22 |
+
- **Architecture**: stock DreamZero (`groot.vla.model.dreamzero.base_vla.VLA`)
|
| 23 |
+
- **Base model**: Wan2.1-I2V-14B-480P, frozen
|
| 24 |
+
- **Adapter**: LoRA, rank 4, target modules `q,k,v,o,ffn.0,ffn.2`
|
| 25 |
+
- **Action head**: WAN flow-matching action transformer
|
| 26 |
+
(`groot.vla.model.dreamzero.action_head.wan_flow_matching_action_tf.WANPolicyHead`)
|
| 27 |
+
- **Action dim**: 32 (multi-embodiment), horizon 24
|
| 28 |
+
- **Training data**: MimicGen expert demos on LIBERO MimicGen-core (12 tasks)
|
| 29 |
+
- **Step**: 80,000
|
| 30 |
+
|
| 31 |
+
### `mimicgen-core-14b-full-step46000/`
|
| 32 |
+
|
| 33 |
+
- **Architecture**: same stock DreamZero, no changes
|
| 34 |
+
- **Variant**: full fine-tune (no LoRA) on 16 GPUs with DeepSpeed ZeRO
|
| 35 |
+
- **Sharding**: 10-shard safetensors (`model-{1..10}-of-00010.safetensors`)
|
| 36 |
+
- **Training data**: same MimicGen-core 12 tasks, longer instruction prompts
|
| 37 |
+
("detailed_instruct" recipe)
|
| 38 |
+
- **Step**: 46,000
|
| 39 |
+
|
| 40 |
+
## How to load
|
| 41 |
+
|
| 42 |
+
With the DreamZero codebase available:
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
from stable_worldmodel.wm.utils import load_pretrained
|
| 46 |
+
# either subdir works the same way:
|
| 47 |
+
model = load_pretrained(
|
| 48 |
+
"MinghaoFu/rlwf-ckpt/mimicgen-core-14b-lora-step80000",
|
| 49 |
+
extra_args={"torch_dtype": "bfloat16"},
|
| 50 |
+
)
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
Direct safetensors load (LoRA, single file):
|
| 54 |
+
|
| 55 |
+
```python
|
| 56 |
+
from safetensors.torch import load_file
|
| 57 |
+
state_dict = load_file("model.safetensors")
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
Direct safetensors load (full, sharded):
|
| 61 |
+
|
| 62 |
+
```python
|
| 63 |
+
import json
|
| 64 |
+
from safetensors.torch import load_file
|
| 65 |
+
|
| 66 |
+
with open("model.safetensors.index.json") as f:
|
| 67 |
+
index = json.load(f)
|
| 68 |
+
state_dict = {}
|
| 69 |
+
for shard in sorted(set(index["weight_map"].values())):
|
| 70 |
+
state_dict.update(load_file(shard))
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
Full training config is in `experiment_cfg/conf.yaml` of each subdir.
|
| 74 |
+
|
| 75 |
+
## What is NOT in this repo
|
| 76 |
+
|
| 77 |
+
- DeepSpeed optimizer state (`global_step*/`) β stripped to keep the download
|
| 78 |
+
small. If you want to resume training instead of just loading for inference,
|
| 79 |
+
ping me; the optimizer shards are kept separately.
|
| 80 |
+
- `rng_state_*.pth` β same reason.
|
| 81 |
+
- The `latest` text file β points to a path inside `global_step*/`, irrelevant
|
| 82 |
+
without the optimizer state.
|
| 83 |
+
|
| 84 |
+
## License
|
| 85 |
+
|
| 86 |
+
MIT (see `LICENSE`). The underlying Wan2.1-I2V-14B-480P base model has its own
|
| 87 |
+
Apache-2.0 license. DreamZero architecture follows the original
|
| 88 |
+
authors' release terms; this repo only redistributes the fine-tuned weights.
|
| 89 |
+
|
| 90 |
+
## Contact
|
| 91 |
+
|
| 92 |
+
Minghao Fu β isminghaofu@gmail.com
|