Juelg commited on
Commit
c4f388d
·
verified ·
1 Parent(s): d8c930b

Add model

Browse files
NOTICE ADDED
@@ -0,0 +1 @@
 
 
1
+ Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gemma
3
+ library_name: lerobot
4
+ pipeline_tag: robotics
5
+ datasets:
6
+ - RobotControlStack/duobench
7
+ base_model:
8
+ - lerobot/pi05_base
9
+ tags:
10
+ - duobench
11
+ - bimanual
12
+ - manipulation
13
+ - simulation
14
+ - pi05
15
+ ---
16
+
17
+ # DuoBench π0.5 (sim)
18
+
19
+ π0.5 policy for the bimanual FR3 Duo setup of [DuoBench](https://arxiv.org/abs/2606.11901), trained on simulation data only for all 11 DuoBench sim tasks (one multi-task policy).
20
+ Fine-tuned from [`lerobot/pi05_base`](https://huggingface.co/lerobot/pi05_base) (revision `9e55186`) with [LeRobot](https://github.com/huggingface/lerobot) on the [DuoBench dataset](https://huggingface.co/datasets/RobotControlStack/duobench).
21
+
22
+ Project page: https://duobench.github.io/
23
+ DuoBench Code: https://github.com/RobotControlStack/duobench
24
+
25
+ ## Training
26
+ - Data: 50 demonstrations per task from the `<task>/sim` folders of [RobotControlStack/duobench](https://huggingface.co/datasets/RobotControlStack/duobench) (all tasks merged)
27
+ - Inputs: `head`, `left_wrist` and `right_wrist` cameras (224x224) and the 16-D state (2 x 7 joints + 2 grippers); output: 16-D joint and gripper action
28
+ - 40,000 steps, batch size 16, learning rate 2.5e-5, action chunk 50, seed 1000
29
+ - LeRobot commit [`c8ce413d`](https://github.com/huggingface/lerobot/tree/c8ce413d738da15a2eed2d0832315779ea28cbf9); the full configuration is in `train_config.json`
30
+
31
+ ## Results
32
+ Success rate (%) in DuoBench simulation over 300 rollouts per task (seeds 0-299) with a Wilson 95% interval.
33
+
34
+ | Task | Success | 95% CI |
35
+ |---|---|---|
36
+ | ball_maze | 5.0 | [3.1, 8.1] |
37
+ | bin_sort | 1.7 | [0.7, 3.8] |
38
+ | block_balance | 0.0 | [0.0, 1.3] |
39
+ | carry_pot | 26.0 | [21.4, 31.2] |
40
+ | hinge_chest | 26.7 | [22.0, 31.9] |
41
+ | join_blocks | 0.0 | [0.0, 1.3] |
42
+ | pour_marbles | 0.0 | [0.0, 1.3] |
43
+ | spring_door | 19.7 | [15.6, 24.5] |
44
+ | transfer_cube | 13.0 | [9.7, 17.3] |
45
+ | transfer_gate | 23.3 | [18.9, 28.4] |
46
+ | transfer_reorient | 1.3 | [0.5, 3.4] |
47
+ | **mean** | **10.6** | |
48
+
49
+ ## Usage
50
+ ```python
51
+ # LeRobot at commit c8ce413d
52
+ from lerobot.policies.pi05.modeling_pi05 import PI05Policy
53
+
54
+ policy = PI05Policy.from_pretrained("RobotControlStack/duobench-pi05-sim")
55
+ ```
56
+ See the [DuoBench code](https://github.com/RobotControlStack/duobench) for the simulation environments and evaluation.
57
+
58
+ ## Limitations
59
+ - Trained on simulation data only; not meant for the real robot.
60
+ - Loading needs a LeRobot version compatible with the commit above.
61
+
62
+ ## License
63
+ This model is a Model Derivative of Gemma (π0.5 is built on [PaliGemma](https://huggingface.co/google/paligemma-3b-pt-224)) and is distributed under the [Gemma Terms of Use](https://ai.google.dev/gemma/terms).
64
+ Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms (see `NOTICE`).
65
+ Use of this model is subject to the [Gemma Prohibited Use Policy](https://ai.google.dev/gemma/prohibited_use_policy), which applies to every recipient and downstream user.
66
+ The files in this repository are modified: they are the weights of `lerobot/pi05_base` fine-tuned on DuoBench simulation data.
67
+
68
+ ## Citation
69
+ If you find this model or DuoBench useful for your work, please consider citing it:
70
+ ```
71
+ @misc{duobench,
72
+ title={{DuoBench}: A Reproducible Benchmark for Bimanual Manipulation in Simulation and the Real World},
73
+ author={Tobias J{\"u}lg and Seongjin Bien and Simon Hilber and Yannik Blei and Pierre Krack and Maximilian Li and Sven Parusel and Rudolf Lioutikov and Florian Walter and Wolfram Burgard},
74
+ year={2026},
75
+ url={https://arxiv.org/abs/2606.11901}
76
+ }
77
+ ```
config.json ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.head": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 224,
10
+ 224
11
+ ]
12
+ },
13
+ "observation.images.left_wrist": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 3,
17
+ 224,
18
+ 224
19
+ ]
20
+ },
21
+ "observation.images.right_wrist": {
22
+ "type": "VISUAL",
23
+ "shape": [
24
+ 3,
25
+ 224,
26
+ 224
27
+ ]
28
+ },
29
+ "observation.state": {
30
+ "type": "STATE",
31
+ "shape": [
32
+ 16
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 16
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "use_peft": false,
47
+ "push_to_hub": false,
48
+ "repo_id": null,
49
+ "private": null,
50
+ "tags": null,
51
+ "license": null,
52
+ "pretrained_path": "lerobot/pi05_base",
53
+ "paligemma_variant": "gemma_2b",
54
+ "action_expert_variant": "gemma_300m",
55
+ "dtype": "bfloat16",
56
+ "chunk_size": 50,
57
+ "n_action_steps": 50,
58
+ "max_state_dim": 32,
59
+ "max_action_dim": 32,
60
+ "num_inference_steps": 10,
61
+ "time_sampling_beta_alpha": 1.5,
62
+ "time_sampling_beta_beta": 1.0,
63
+ "time_sampling_scale": 0.999,
64
+ "time_sampling_offset": 0.001,
65
+ "min_period": 0.004,
66
+ "max_period": 4.0,
67
+ "use_relative_actions": false,
68
+ "relative_exclude_joints": [
69
+ "gripper"
70
+ ],
71
+ "action_feature_names": [
72
+ "left_joint_0",
73
+ "left_joint_1",
74
+ "left_joint_2",
75
+ "left_joint_3",
76
+ "left_joint_4",
77
+ "left_joint_5",
78
+ "left_joint_6",
79
+ "left_gripper",
80
+ "right_joint_0",
81
+ "right_joint_1",
82
+ "right_joint_2",
83
+ "right_joint_3",
84
+ "right_joint_4",
85
+ "right_joint_5",
86
+ "right_joint_6",
87
+ "right_gripper"
88
+ ],
89
+ "rtc_config": null,
90
+ "image_resolution": [
91
+ 224,
92
+ 224
93
+ ],
94
+ "empty_cameras": 0,
95
+ "tokenizer_max_length": 200,
96
+ "normalization_mapping": {
97
+ "VISUAL": "IDENTITY",
98
+ "STATE": "QUANTILES",
99
+ "ACTION": "QUANTILES"
100
+ },
101
+ "gradient_checkpointing": true,
102
+ "compile_model": true,
103
+ "compile_mode": "max-autotune",
104
+ "freeze_vision_encoder": false,
105
+ "train_expert_only": false,
106
+ "optimizer_lr": 2.5e-05,
107
+ "optimizer_betas": [
108
+ 0.9,
109
+ 0.95
110
+ ],
111
+ "optimizer_eps": 1e-08,
112
+ "optimizer_weight_decay": 0.01,
113
+ "optimizer_grad_clip_norm": 1.0,
114
+ "scheduler_warmup_steps": 1000,
115
+ "scheduler_decay_steps": 30000,
116
+ "scheduler_decay_lr": 2.5e-06
117
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03ce626f52431339e8635a1c3e8b750795bf6c01d2d2a520f5b2c969f6e6e834
3
+ size 9354050752
policy_postprocessor.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_postprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "unnormalizer_processor",
6
+ "config": {
7
+ "eps": 1e-08,
8
+ "features": {
9
+ "action": {
10
+ "type": "ACTION",
11
+ "shape": [
12
+ 16
13
+ ]
14
+ }
15
+ },
16
+ "norm_map": {
17
+ "VISUAL": "IDENTITY",
18
+ "STATE": "QUANTILES",
19
+ "ACTION": "QUANTILES"
20
+ }
21
+ },
22
+ "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
23
+ },
24
+ {
25
+ "registry_name": "device_processor",
26
+ "config": {
27
+ "device": "cpu",
28
+ "float_dtype": null
29
+ }
30
+ }
31
+ ]
32
+ }
policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d1a6eb17ee3438afc6bc45f3213a09fa42650eea73614086f8cf67b3b888cc7
3
+ size 9456
policy_preprocessor.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_preprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "rename_observations_processor",
6
+ "config": {
7
+ "rename_map": {}
8
+ }
9
+ },
10
+ {
11
+ "registry_name": "to_batch_processor",
12
+ "config": {}
13
+ },
14
+ {
15
+ "registry_name": "normalizer_processor",
16
+ "config": {
17
+ "eps": 1e-08,
18
+ "features": {
19
+ "observation.images.head": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 224,
24
+ 224
25
+ ]
26
+ },
27
+ "observation.images.left_wrist": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 224,
32
+ 224
33
+ ]
34
+ },
35
+ "observation.images.right_wrist": {
36
+ "type": "VISUAL",
37
+ "shape": [
38
+ 3,
39
+ 224,
40
+ 224
41
+ ]
42
+ },
43
+ "observation.state": {
44
+ "type": "STATE",
45
+ "shape": [
46
+ 16
47
+ ]
48
+ },
49
+ "action": {
50
+ "type": "ACTION",
51
+ "shape": [
52
+ 16
53
+ ]
54
+ }
55
+ },
56
+ "norm_map": {
57
+ "VISUAL": "IDENTITY",
58
+ "STATE": "QUANTILES",
59
+ "ACTION": "QUANTILES"
60
+ }
61
+ },
62
+ "state_file": "policy_preprocessor_step_2_normalizer_processor.safetensors"
63
+ },
64
+ {
65
+ "registry_name": "pi05_prepare_state_tokenizer_processor_step",
66
+ "config": {}
67
+ },
68
+ {
69
+ "registry_name": "tokenizer_processor",
70
+ "config": {
71
+ "max_length": 200,
72
+ "task_key": "task",
73
+ "padding_side": "right",
74
+ "padding": "max_length",
75
+ "truncation": true,
76
+ "tokenizer_name": "google/paligemma-3b-pt-224"
77
+ }
78
+ },
79
+ {
80
+ "registry_name": "device_processor",
81
+ "config": {
82
+ "device": "cuda",
83
+ "float_dtype": null
84
+ }
85
+ }
86
+ ]
87
+ }
policy_preprocessor_step_2_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d1a6eb17ee3438afc6bc45f3213a09fa42650eea73614086f8cf67b3b888cc7
3
+ size 9456
train_config.json ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "duobench/merged_sim",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
8
+ "max_num_transforms": 3,
9
+ "random_order": false,
10
+ "tfs": {
11
+ "brightness": {
12
+ "weight": 1.0,
13
+ "type": "ColorJitter",
14
+ "kwargs": {
15
+ "brightness": [
16
+ 0.8,
17
+ 1.2
18
+ ]
19
+ }
20
+ },
21
+ "contrast": {
22
+ "weight": 1.0,
23
+ "type": "ColorJitter",
24
+ "kwargs": {
25
+ "contrast": [
26
+ 0.8,
27
+ 1.2
28
+ ]
29
+ }
30
+ },
31
+ "saturation": {
32
+ "weight": 1.0,
33
+ "type": "ColorJitter",
34
+ "kwargs": {
35
+ "saturation": [
36
+ 0.5,
37
+ 1.5
38
+ ]
39
+ }
40
+ },
41
+ "hue": {
42
+ "weight": 1.0,
43
+ "type": "ColorJitter",
44
+ "kwargs": {
45
+ "hue": [
46
+ -0.05,
47
+ 0.05
48
+ ]
49
+ }
50
+ },
51
+ "sharpness": {
52
+ "weight": 1.0,
53
+ "type": "SharpnessJitter",
54
+ "kwargs": {
55
+ "sharpness": [
56
+ 0.5,
57
+ 1.5
58
+ ]
59
+ }
60
+ },
61
+ "affine": {
62
+ "weight": 1.0,
63
+ "type": "RandomAffine",
64
+ "kwargs": {
65
+ "degrees": [
66
+ -5.0,
67
+ 5.0
68
+ ],
69
+ "translate": [
70
+ 0.05,
71
+ 0.05
72
+ ]
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "revision": null,
78
+ "use_imagenet_stats": true,
79
+ "video_backend": "torchcodec",
80
+ "return_uint8": false,
81
+ "streaming": false
82
+ },
83
+ "env": null,
84
+ "policy": {
85
+ "type": "pi05",
86
+ "n_obs_steps": 1,
87
+ "input_features": {
88
+ "observation.images.head": {
89
+ "type": "VISUAL",
90
+ "shape": [
91
+ 3,
92
+ 224,
93
+ 224
94
+ ]
95
+ },
96
+ "observation.images.left_wrist": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 224,
101
+ 224
102
+ ]
103
+ },
104
+ "observation.images.right_wrist": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 224,
109
+ 224
110
+ ]
111
+ },
112
+ "observation.state": {
113
+ "type": "STATE",
114
+ "shape": [
115
+ 16
116
+ ]
117
+ }
118
+ },
119
+ "output_features": {
120
+ "action": {
121
+ "type": "ACTION",
122
+ "shape": [
123
+ 16
124
+ ]
125
+ }
126
+ },
127
+ "device": "cuda",
128
+ "use_amp": false,
129
+ "use_peft": false,
130
+ "push_to_hub": false,
131
+ "repo_id": null,
132
+ "private": null,
133
+ "tags": null,
134
+ "license": null,
135
+ "pretrained_path": "lerobot/pi05_base",
136
+ "paligemma_variant": "gemma_2b",
137
+ "action_expert_variant": "gemma_300m",
138
+ "dtype": "bfloat16",
139
+ "chunk_size": 50,
140
+ "n_action_steps": 50,
141
+ "max_state_dim": 32,
142
+ "max_action_dim": 32,
143
+ "num_inference_steps": 10,
144
+ "time_sampling_beta_alpha": 1.5,
145
+ "time_sampling_beta_beta": 1.0,
146
+ "time_sampling_scale": 0.999,
147
+ "time_sampling_offset": 0.001,
148
+ "min_period": 0.004,
149
+ "max_period": 4.0,
150
+ "use_relative_actions": false,
151
+ "relative_exclude_joints": [
152
+ "gripper"
153
+ ],
154
+ "action_feature_names": [
155
+ "left_joint_0",
156
+ "left_joint_1",
157
+ "left_joint_2",
158
+ "left_joint_3",
159
+ "left_joint_4",
160
+ "left_joint_5",
161
+ "left_joint_6",
162
+ "left_gripper",
163
+ "right_joint_0",
164
+ "right_joint_1",
165
+ "right_joint_2",
166
+ "right_joint_3",
167
+ "right_joint_4",
168
+ "right_joint_5",
169
+ "right_joint_6",
170
+ "right_gripper"
171
+ ],
172
+ "rtc_config": null,
173
+ "image_resolution": [
174
+ 224,
175
+ 224
176
+ ],
177
+ "empty_cameras": 0,
178
+ "tokenizer_max_length": 200,
179
+ "normalization_mapping": {
180
+ "VISUAL": "IDENTITY",
181
+ "STATE": "QUANTILES",
182
+ "ACTION": "QUANTILES"
183
+ },
184
+ "gradient_checkpointing": true,
185
+ "compile_model": true,
186
+ "compile_mode": "max-autotune",
187
+ "freeze_vision_encoder": false,
188
+ "train_expert_only": false,
189
+ "optimizer_lr": 2.5e-05,
190
+ "optimizer_betas": [
191
+ 0.9,
192
+ 0.95
193
+ ],
194
+ "optimizer_eps": 1e-08,
195
+ "optimizer_weight_decay": 0.01,
196
+ "optimizer_grad_clip_norm": 1.0,
197
+ "scheduler_warmup_steps": 1000,
198
+ "scheduler_decay_steps": 30000,
199
+ "scheduler_decay_lr": 2.5e-06
200
+ },
201
+ "reward_model": null,
202
+ "output_dir": null,
203
+ "job_name": "pi05_sim",
204
+ "resume": false,
205
+ "seed": 1000,
206
+ "cudnn_deterministic": false,
207
+ "num_workers": 24,
208
+ "batch_size": 16,
209
+ "prefetch_factor": 6,
210
+ "persistent_workers": true,
211
+ "steps": 40000,
212
+ "eval_freq": 20000,
213
+ "log_freq": 200,
214
+ "tolerance_s": 0.0001,
215
+ "save_checkpoint": true,
216
+ "save_freq": 5000,
217
+ "use_policy_training_preset": true,
218
+ "optimizer": {
219
+ "type": "adamw",
220
+ "lr": 2.5e-05,
221
+ "weight_decay": 0.01,
222
+ "grad_clip_norm": 1.0,
223
+ "betas": [
224
+ 0.9,
225
+ 0.95
226
+ ],
227
+ "eps": 1e-08
228
+ },
229
+ "scheduler": {
230
+ "type": "cosine_decay_with_warmup",
231
+ "num_warmup_steps": 1000,
232
+ "num_decay_steps": 30000,
233
+ "peak_lr": 2.5e-05,
234
+ "decay_lr": 2.5e-06
235
+ },
236
+ "eval": {
237
+ "n_episodes": 50,
238
+ "batch_size": 50,
239
+ "use_async_envs": true
240
+ },
241
+ "wandb": {
242
+ "enable": false,
243
+ "disable_artifact": false,
244
+ "project": null,
245
+ "entity": null,
246
+ "notes": null,
247
+ "run_id": null,
248
+ "mode": null,
249
+ "add_tags": true
250
+ },
251
+ "peft": null,
252
+ "sample_weighting": null,
253
+ "rename_map": {},
254
+ "checkpoint_path": null
255
+ }