Add files using upload-large-folder tool
Browse files
README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
tags:
|
| 4 |
+
- robotics
|
| 5 |
+
- world-model
|
| 6 |
+
- vla
|
| 7 |
+
- fastwam
|
| 8 |
+
- lingbot-va
|
| 9 |
+
datasets:
|
| 10 |
+
- jokeru/pick_right_purple_box_and_place_it_in_the_middle
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# FastWAM and LingBot-VA Purple Box Checkpoints
|
| 14 |
+
|
| 15 |
+
Public release of two checkpoints fine-tuned on
|
| 16 |
+
`jokeru/pick_right_purple_box_and_place_it_in_the_middle`.
|
| 17 |
+
|
| 18 |
+
## Contents
|
| 19 |
+
|
| 20 |
+
| Path | Model | Training point | Notes |
|
| 21 |
+
| --- | --- | ---: | --- |
|
| 22 |
+
| `fastwam/step_000500.pt` | memory FastWAM | step 500 | Full model checkpoint used by the local FastWAM runtime |
|
| 23 |
+
| `lingbot-va/transformer/` | old `Robbyant/lingbot-va` | step 250 | Fine-tuned transformer weights and transformer config |
|
| 24 |
+
|
| 25 |
+
The LingBot-VA optimizer/FSDP state (`training_state.pt`, about 40.5 GB) is
|
| 26 |
+
intentionally excluded. The uploaded transformer is sufficient for inference
|
| 27 |
+
and as a fine-tuning initialization, but still requires the upstream
|
| 28 |
+
LingBot-VA code and base Wan/VAE/text-encoder components.
|
| 29 |
+
|
| 30 |
+
## Data and split
|
| 31 |
+
|
| 32 |
+
- Source dataset: `jokeru/pick_right_purple_box_and_place_it_in_the_middle`
|
| 33 |
+
- Training episodes: 18
|
| 34 |
+
- Held-out episodes: 4 and 15
|
| 35 |
+
- Task: pick the right purple box and place it in the middle
|
| 36 |
+
|
| 37 |
+
## FastWAM
|
| 38 |
+
|
| 39 |
+
- Architecture: project memory FastWAM variant
|
| 40 |
+
- Input views: `global_primary`, `left_wrist`, `right_wrist`
|
| 41 |
+
- Video size: 384 x 320
|
| 42 |
+
- Action/proprio schema: canonical 80D with validity masks
|
| 43 |
+
- Context length: 128
|
| 44 |
+
- Memory history: long 8, mid 2, short 1
|
| 45 |
+
- Optimization: 8 GPUs, batch 8/GPU, global batch 64, bf16, 500 steps
|
| 46 |
+
- Initialization: official RoboTwin FastWAM MoT checkpoint plus the Helios
|
| 47 |
+
memory patchers from memory checkpoint step 35000
|
| 48 |
+
|
| 49 |
+
The detailed transfer metadata is stored in
|
| 50 |
+
`fastwam/initialization_report.json`. Paths in that report have been reduced
|
| 51 |
+
to stable checkpoint identifiers.
|
| 52 |
+
|
| 53 |
+
## LingBot-VA
|
| 54 |
+
|
| 55 |
+
- Architecture: old `Robbyant/lingbot-va`
|
| 56 |
+
- Optimization: 8 GPUs, batch 24/GPU, global batch 192, 250 steps
|
| 57 |
+
- Fixed latent window: 16 frames
|
| 58 |
+
- Action alignment: 16 source action steps per latent frame
|
| 59 |
+
- Training episodes: 18; held-out episodes: 4 and 15
|
| 60 |
+
- Input views: `right_eye`, `left_wrist`, `right_wrist`
|
| 61 |
+
- Compact action: right-arm joints 7D plus right gripper 1D, mapped into the
|
| 62 |
+
model's 30D action schema
|
| 63 |
+
|
| 64 |
+
## Held-out open-loop results
|
| 65 |
+
|
| 66 |
+
These numbers are diagnostics from eight generated cases, not closed-loop
|
| 67 |
+
robot success rates.
|
| 68 |
+
|
| 69 |
+
| Model | Generated frames | Video PSNR | Video MAE | Action MAE |
|
| 70 |
+
| --- | ---: | ---: | ---: | ---: |
|
| 71 |
+
| FastWAM | 101 | 16.727 | 0.0776 | 0.4830 |
|
| 72 |
+
| LingBot-VA | 141 | 16.540 | 0.0913 | 0.1146 |
|
| 73 |
+
|
| 74 |
+
## Loading
|
| 75 |
+
|
| 76 |
+
Download the FastWAM checkpoint:
|
| 77 |
+
|
| 78 |
+
```python
|
| 79 |
+
from huggingface_hub import hf_hub_download
|
| 80 |
+
|
| 81 |
+
checkpoint = hf_hub_download(
|
| 82 |
+
repo_id="PencilHu/FastWAM-LingBotVA-PurpleBox",
|
| 83 |
+
filename="fastwam/step_000500.pt",
|
| 84 |
+
)
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
Download the LingBot-VA transformer snapshot:
|
| 88 |
+
|
| 89 |
+
```python
|
| 90 |
+
from huggingface_hub import snapshot_download
|
| 91 |
+
|
| 92 |
+
snapshot_download(
|
| 93 |
+
repo_id="PencilHu/FastWAM-LingBotVA-PurpleBox",
|
| 94 |
+
allow_patterns="lingbot-va/transformer/*",
|
| 95 |
+
)
|
| 96 |
+
```
|
fastwam/initialization_report.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "fastwam-transfer-initialization-v1",
|
| 3 |
+
"mode": "full_mot_with_action_proprio_slot_remap",
|
| 4 |
+
"fastwam_checkpoint": "official RoboTwin FastWAM checkpoint, source step 29355",
|
| 5 |
+
"memory_checkpoint": "Helios memory checkpoint step 35000",
|
| 6 |
+
"memory_checkpoint_history_sizes": {"long": 8, "mid": 2, "short": 1},
|
| 7 |
+
"memory_initialization": "memory_patchers_only",
|
| 8 |
+
"source_action_dim": 14,
|
| 9 |
+
"source_proprio_dim": 14,
|
| 10 |
+
"target_action_dim": 80,
|
| 11 |
+
"target_proprio_dim": 80,
|
| 12 |
+
"proprio_remapped": true,
|
| 13 |
+
"action_target_indices": [14, 15, 16, 17, 18, 19, 6, 21, 22, 23, 24, 25, 26, 13],
|
| 14 |
+
"source_mot_keys": 1649,
|
| 15 |
+
"target_mot_keys": 1649,
|
| 16 |
+
"target_mot_fraction_from_checkpoint": 0.9999775389522343,
|
| 17 |
+
"source_torch_dtype": "torch.bfloat16"
|
| 18 |
+
}
|
fastwam/step_000500.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:055fef431cc7e5568f847cbcbce1540f50a04c98a6f9c760f86a9c63e3a13c2b
|
| 3 |
+
size 12128758789
|
fastwam/training_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "purple-box-fastwam-training-v1",
|
| 3 |
+
"checkpoint_step": 500,
|
| 4 |
+
"dataset": "jokeru/pick_right_purple_box_and_place_it_in_the_middle",
|
| 5 |
+
"train_episodes": 18,
|
| 6 |
+
"held_out_episodes": [4, 15],
|
| 7 |
+
"world_size": 8,
|
| 8 |
+
"batch_size_per_gpu": 8,
|
| 9 |
+
"global_batch_size": 64,
|
| 10 |
+
"mixed_precision": "bf16",
|
| 11 |
+
"learning_rate": 1e-5,
|
| 12 |
+
"max_steps": 500,
|
| 13 |
+
"context_length": 128,
|
| 14 |
+
"video_size": [384, 320],
|
| 15 |
+
"camera_roles": ["global_primary", "left_wrist", "right_wrist"],
|
| 16 |
+
"action_dim": 80,
|
| 17 |
+
"proprio_dim": 80,
|
| 18 |
+
"memory_history": {"long": 8, "mid": 2, "short": 1},
|
| 19 |
+
"base_model": "Wan-AI/Wan2.2-TI2V-5B",
|
| 20 |
+
"tokenizer_model": "Wan-AI/Wan2.1-T2V-1.3B",
|
| 21 |
+
"fastwam_initialization": "official RoboTwin FastWAM checkpoint",
|
| 22 |
+
"memory_initialization": "Helios memory checkpoint step 35000"
|
| 23 |
+
}
|
lingbot-va/training_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "purple-box-lingbot-va-training-v1",
|
| 3 |
+
"checkpoint_step": 250,
|
| 4 |
+
"upstream": "Robbyant/lingbot-va",
|
| 5 |
+
"dataset": "jokeru/pick_right_purple_box_and_place_it_in_the_middle",
|
| 6 |
+
"train_episode_indices": [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19],
|
| 7 |
+
"held_out_episodes": [4, 15],
|
| 8 |
+
"world_size": 8,
|
| 9 |
+
"batch_size_per_gpu": 24,
|
| 10 |
+
"global_batch_size": 192,
|
| 11 |
+
"window_frames": 16,
|
| 12 |
+
"action_per_frame": 16,
|
| 13 |
+
"camera_keys": ["observation.images.right_eye", "observation.images.left_wrist", "observation.images.right_wrist"],
|
| 14 |
+
"source_action_indices": [7, 8, 9, 10, 11, 12, 13, 29],
|
| 15 |
+
"model_action_channel_ids": [21, 22, 23, 24, 25, 26, 27, 29],
|
| 16 |
+
"optimizer_state_included": false
|
| 17 |
+
}
|
lingbot-va/transformer/config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"patch_size": [
|
| 3 |
+
1,
|
| 4 |
+
2,
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"num_attention_heads": 24,
|
| 8 |
+
"attention_head_dim": 128,
|
| 9 |
+
"in_channels": 48,
|
| 10 |
+
"out_channels": 48,
|
| 11 |
+
"action_dim": 30,
|
| 12 |
+
"text_dim": 4096,
|
| 13 |
+
"freq_dim": 256,
|
| 14 |
+
"ffn_dim": 14336,
|
| 15 |
+
"num_layers": 30,
|
| 16 |
+
"cross_attn_norm": true,
|
| 17 |
+
"eps": 1e-06,
|
| 18 |
+
"rope_max_seq_len": 1024,
|
| 19 |
+
"pos_embed_seq_len": null,
|
| 20 |
+
"attn_mode": "flex",
|
| 21 |
+
"_class_name": "WanTransformer3DModel",
|
| 22 |
+
"_diffusers_version": "0.35.0.dev0"
|
| 23 |
+
}
|
lingbot-va/transformer/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:360d44c2965af3b66a9a3b869e7da7b9a926e8c937c803732907751bd29a07a9
|
| 3 |
+
size 10177831668
|