Robotics
LeRobot
Safetensors
pi05
shota-inoue commited on
Commit
559f9ae
·
verified ·
1 Parent(s): 1d3b09c

Upload policy weights, train config and readme

Browse files
Files changed (5) hide show
  1. README.md +70 -0
  2. adapter_config.json +41 -0
  3. adapter_model.safetensors +3 -0
  4. config.json +153 -0
  5. train_config.json +296 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: airoa-org/airoa-moma
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: pi05
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - lerobot
9
+ - robotics
10
+ - pi05
11
+ ---
12
+
13
+ # Model Card for pi05
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ **π₀.₅ (Pi05) Policy**
19
+
20
+ π₀.₅ is a Vision-Language-Action model with open-world generalization, from Physical Intelligence. The LeRobot implementation is adapted from their open source OpenPI repository.
21
+
22
+ **Model Overview**
23
+
24
+ π₀.₅ represents a significant evolution from π₀, developed by Physical Intelligence to address a big challenge in robotics: open-world generalization. While robots can perform impressive tasks in controlled environments, π₀.₅ is designed to generalize to entirely new environments and situations that were never seen during training.
25
+
26
+ For more details, see the [Physical Intelligence π₀.₅ blog post](https://www.physicalintelligence.company/blog/pi05).
27
+
28
+
29
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
30
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
31
+
32
+ ---
33
+
34
+ ## How to Get Started with the Model
35
+
36
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
37
+ Below is the short version on how to train and run inference/eval:
38
+
39
+ ### Train from scratch
40
+
41
+ ```bash
42
+ lerobot-train \
43
+ --dataset.repo_id=${HF_USER}/<dataset> \
44
+ --policy.type=act \
45
+ --output_dir=outputs/train/<desired_policy_repo_id> \
46
+ --job_name=lerobot_training \
47
+ --policy.device=cuda \
48
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
49
+ --wandb.enable=true
50
+ ```
51
+
52
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
53
+
54
+ ### Evaluate the policy/run inference
55
+
56
+ ```bash
57
+ lerobot-record \
58
+ --robot.type=so100_follower \
59
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
60
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
61
+ --episodes=10
62
+ ```
63
+
64
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
65
+
66
+ ---
67
+
68
+ ## Model Details
69
+
70
+ - **License:** apache-2.0
adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "PI05Policy",
7
+ "parent_library": "lerobot.policies.pi05.modeling_pi05"
8
+ },
9
+ "base_model_name_or_path": "lerobot/pi05_base",
10
+ "bias": "none",
11
+ "corda_config": null,
12
+ "ensure_weight_tying": false,
13
+ "eva_config": null,
14
+ "exclude_modules": null,
15
+ "fan_in_fan_out": false,
16
+ "inference_mode": true,
17
+ "init_lora_weights": true,
18
+ "layer_replication": null,
19
+ "layers_pattern": null,
20
+ "layers_to_transform": null,
21
+ "loftq_config": {},
22
+ "lora_alpha": 8,
23
+ "lora_bias": false,
24
+ "lora_dropout": 0.0,
25
+ "megatron_config": null,
26
+ "megatron_core": "megatron.core",
27
+ "modules_to_save": [],
28
+ "peft_type": "LORA",
29
+ "peft_version": "0.18.1",
30
+ "qalora_group_size": 16,
31
+ "r": 2,
32
+ "rank_pattern": {},
33
+ "revision": null,
34
+ "target_modules": "(.*\\.gemma_expert\\..*\\.self_attn\\.(q|v)_proj|model\\.(state_proj|action_in_proj|action_out_proj|action_time_mlp_in|action_time_mlp_out))",
35
+ "target_parameters": null,
36
+ "task_type": null,
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0bd9f8f6bf7b2012d2bcfe48b3f6309e5fa635fc0bb6ae5e67180c3f18928c9
3
+ size 656312
config.json ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.image.head": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 480,
9
+ 640,
10
+ 3
11
+ ]
12
+ },
13
+ "observation.image.hand": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 480,
17
+ 640,
18
+ 3
19
+ ]
20
+ },
21
+ "observation.state": {
22
+ "type": "STATE",
23
+ "shape": [
24
+ 8
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action.absolute": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 8
33
+ ]
34
+ },
35
+ "action.arm": {
36
+ "type": "ACTION",
37
+ "shape": [
38
+ 5
39
+ ]
40
+ },
41
+ "action.gripper": {
42
+ "type": "ACTION",
43
+ "shape": [
44
+ 1
45
+ ]
46
+ },
47
+ "action.head": {
48
+ "type": "ACTION",
49
+ "shape": [
50
+ 2
51
+ ]
52
+ },
53
+ "action.base": {
54
+ "type": "ACTION",
55
+ "shape": [
56
+ 3
57
+ ]
58
+ },
59
+ "action.absolute.is_fresh": {
60
+ "type": "ACTION",
61
+ "shape": [
62
+ 8
63
+ ]
64
+ },
65
+ "action.relative.is_fresh": {
66
+ "type": "ACTION",
67
+ "shape": [
68
+ 11
69
+ ]
70
+ },
71
+ "action.arm.is_fresh": {
72
+ "type": "ACTION",
73
+ "shape": [
74
+ 5
75
+ ]
76
+ },
77
+ "action.gripper.is_fresh": {
78
+ "type": "ACTION",
79
+ "shape": [
80
+ 1
81
+ ]
82
+ },
83
+ "action.head.is_fresh": {
84
+ "type": "ACTION",
85
+ "shape": [
86
+ 2
87
+ ]
88
+ },
89
+ "action.base.is_fresh": {
90
+ "type": "ACTION",
91
+ "shape": [
92
+ 3
93
+ ]
94
+ },
95
+ "action": {
96
+ "type": "ACTION",
97
+ "shape": [
98
+ 11
99
+ ]
100
+ }
101
+ },
102
+ "device": "cuda",
103
+ "use_amp": false,
104
+ "use_peft": true,
105
+ "push_to_hub": true,
106
+ "repo_id": "lt-s/test_pi05",
107
+ "private": null,
108
+ "tags": null,
109
+ "license": null,
110
+ "pretrained_path": "lerobot/pi05_base",
111
+ "paligemma_variant": "gemma_2b",
112
+ "action_expert_variant": "gemma_300m",
113
+ "dtype": "bfloat16",
114
+ "chunk_size": 50,
115
+ "n_action_steps": 50,
116
+ "max_state_dim": 32,
117
+ "max_action_dim": 32,
118
+ "num_inference_steps": 10,
119
+ "time_sampling_beta_alpha": 1.5,
120
+ "time_sampling_beta_beta": 1.0,
121
+ "time_sampling_scale": 0.999,
122
+ "time_sampling_offset": 0.001,
123
+ "min_period": 0.004,
124
+ "max_period": 4.0,
125
+ "rtc_config": null,
126
+ "image_resolution": [
127
+ 224,
128
+ 224
129
+ ],
130
+ "empty_cameras": 0,
131
+ "tokenizer_max_length": 200,
132
+ "normalization_mapping": {
133
+ "VISUAL": "IDENTITY",
134
+ "STATE": "QUANTILES",
135
+ "ACTION": "QUANTILES"
136
+ },
137
+ "gradient_checkpointing": true,
138
+ "compile_model": true,
139
+ "compile_mode": "max-autotune",
140
+ "freeze_vision_encoder": false,
141
+ "train_expert_only": false,
142
+ "optimizer_lr": 2.5e-05,
143
+ "optimizer_betas": [
144
+ 0.9,
145
+ 0.95
146
+ ],
147
+ "optimizer_eps": 1e-08,
148
+ "optimizer_weight_decay": 0.01,
149
+ "optimizer_grad_clip_norm": 1.0,
150
+ "scheduler_warmup_steps": 1000,
151
+ "scheduler_decay_steps": 30000,
152
+ "scheduler_decay_lr": 2.5e-06
153
+ }
train_config.json ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "airoa-org/airoa-moma",
4
+ "root": "/srv/shared/ICRA2026/datasets/airoa-moma-pi05",
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
+ "streaming": false
81
+ },
82
+ "env": null,
83
+ "policy": {
84
+ "type": "pi05",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.image.head": {
88
+ "type": "VISUAL",
89
+ "shape": [
90
+ 480,
91
+ 640,
92
+ 3
93
+ ]
94
+ },
95
+ "observation.image.hand": {
96
+ "type": "VISUAL",
97
+ "shape": [
98
+ 480,
99
+ 640,
100
+ 3
101
+ ]
102
+ },
103
+ "observation.state": {
104
+ "type": "STATE",
105
+ "shape": [
106
+ 8
107
+ ]
108
+ }
109
+ },
110
+ "output_features": {
111
+ "action.absolute": {
112
+ "type": "ACTION",
113
+ "shape": [
114
+ 8
115
+ ]
116
+ },
117
+ "action.arm": {
118
+ "type": "ACTION",
119
+ "shape": [
120
+ 5
121
+ ]
122
+ },
123
+ "action.gripper": {
124
+ "type": "ACTION",
125
+ "shape": [
126
+ 1
127
+ ]
128
+ },
129
+ "action.head": {
130
+ "type": "ACTION",
131
+ "shape": [
132
+ 2
133
+ ]
134
+ },
135
+ "action.base": {
136
+ "type": "ACTION",
137
+ "shape": [
138
+ 3
139
+ ]
140
+ },
141
+ "action.absolute.is_fresh": {
142
+ "type": "ACTION",
143
+ "shape": [
144
+ 8
145
+ ]
146
+ },
147
+ "action.relative.is_fresh": {
148
+ "type": "ACTION",
149
+ "shape": [
150
+ 11
151
+ ]
152
+ },
153
+ "action.arm.is_fresh": {
154
+ "type": "ACTION",
155
+ "shape": [
156
+ 5
157
+ ]
158
+ },
159
+ "action.gripper.is_fresh": {
160
+ "type": "ACTION",
161
+ "shape": [
162
+ 1
163
+ ]
164
+ },
165
+ "action.head.is_fresh": {
166
+ "type": "ACTION",
167
+ "shape": [
168
+ 2
169
+ ]
170
+ },
171
+ "action.base.is_fresh": {
172
+ "type": "ACTION",
173
+ "shape": [
174
+ 3
175
+ ]
176
+ },
177
+ "action": {
178
+ "type": "ACTION",
179
+ "shape": [
180
+ 11
181
+ ]
182
+ }
183
+ },
184
+ "device": "cuda",
185
+ "use_amp": false,
186
+ "use_peft": true,
187
+ "push_to_hub": true,
188
+ "repo_id": "lt-s/test_pi05",
189
+ "private": null,
190
+ "tags": null,
191
+ "license": null,
192
+ "pretrained_path": "lerobot/pi05_base",
193
+ "paligemma_variant": "gemma_2b",
194
+ "action_expert_variant": "gemma_300m",
195
+ "dtype": "bfloat16",
196
+ "chunk_size": 50,
197
+ "n_action_steps": 50,
198
+ "max_state_dim": 32,
199
+ "max_action_dim": 32,
200
+ "num_inference_steps": 10,
201
+ "time_sampling_beta_alpha": 1.5,
202
+ "time_sampling_beta_beta": 1.0,
203
+ "time_sampling_scale": 0.999,
204
+ "time_sampling_offset": 0.001,
205
+ "min_period": 0.004,
206
+ "max_period": 4.0,
207
+ "rtc_config": null,
208
+ "image_resolution": [
209
+ 224,
210
+ 224
211
+ ],
212
+ "empty_cameras": 0,
213
+ "tokenizer_max_length": 200,
214
+ "normalization_mapping": {
215
+ "VISUAL": "IDENTITY",
216
+ "STATE": "QUANTILES",
217
+ "ACTION": "QUANTILES"
218
+ },
219
+ "gradient_checkpointing": true,
220
+ "compile_model": true,
221
+ "compile_mode": "max-autotune",
222
+ "freeze_vision_encoder": false,
223
+ "train_expert_only": false,
224
+ "optimizer_lr": 2.5e-05,
225
+ "optimizer_betas": [
226
+ 0.9,
227
+ 0.95
228
+ ],
229
+ "optimizer_eps": 1e-08,
230
+ "optimizer_weight_decay": 0.01,
231
+ "optimizer_grad_clip_norm": 1.0,
232
+ "scheduler_warmup_steps": 1000,
233
+ "scheduler_decay_steps": 30000,
234
+ "scheduler_decay_lr": 2.5e-06
235
+ },
236
+ "output_dir": "outputs/train/2026-03-14/00-58-20_pi05_training",
237
+ "job_name": "pi05_training",
238
+ "resume": false,
239
+ "seed": 1000,
240
+ "cudnn_deterministic": false,
241
+ "num_workers": 4,
242
+ "batch_size": 16,
243
+ "steps": 3000,
244
+ "eval_freq": 20000,
245
+ "log_freq": 200,
246
+ "tolerance_s": 0.0001,
247
+ "save_checkpoint": true,
248
+ "save_freq": 20000,
249
+ "use_policy_training_preset": true,
250
+ "optimizer": {
251
+ "type": "adamw",
252
+ "lr": 2.5e-05,
253
+ "weight_decay": 0.01,
254
+ "grad_clip_norm": 1.0,
255
+ "betas": [
256
+ 0.9,
257
+ 0.95
258
+ ],
259
+ "eps": 1e-08
260
+ },
261
+ "scheduler": {
262
+ "type": "cosine_decay_with_warmup",
263
+ "num_warmup_steps": 1000,
264
+ "num_decay_steps": 30000,
265
+ "peak_lr": 2.5e-05,
266
+ "decay_lr": 2.5e-06
267
+ },
268
+ "eval": {
269
+ "n_episodes": 50,
270
+ "batch_size": 50,
271
+ "use_async_envs": false
272
+ },
273
+ "wandb": {
274
+ "enable": true,
275
+ "disable_artifact": false,
276
+ "project": "lerobot",
277
+ "entity": null,
278
+ "notes": null,
279
+ "run_id": "4e8q5xb6",
280
+ "mode": null
281
+ },
282
+ "peft": {
283
+ "target_modules": null,
284
+ "full_training_modules": null,
285
+ "method_type": "LORA",
286
+ "init_type": null,
287
+ "r": 2
288
+ },
289
+ "use_rabc": false,
290
+ "rabc_progress_path": null,
291
+ "rabc_kappa": 0.01,
292
+ "rabc_epsilon": 1e-06,
293
+ "rabc_head_mode": "sparse",
294
+ "rename_map": {},
295
+ "checkpoint_path": null
296
+ }