Robotics
LeRobot
Safetensors
pi05
crislmfroes commited on
Commit
cda67dc
·
verified ·
1 Parent(s): df0f690

Upload policy weights, train config and readme

Browse files
Files changed (5) hide show
  1. README.md +70 -0
  2. adapter_config.json +43 -0
  3. adapter_model.safetensors +3 -0
  4. config.json +101 -0
  5. train_config.json +246 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: crislmfroes/openarm-lift-fanta-bottle-clean
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: pi05
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - robotics
9
+ - pi05
10
+ - lerobot
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,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 64,
23
+ "lora_bias": false,
24
+ "lora_dropout": 0.0,
25
+ "lora_ga_config": null,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": [],
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.19.1",
31
+ "qalora_group_size": 16,
32
+ "r": 64,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "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))",
36
+ "target_parameters": null,
37
+ "task_type": null,
38
+ "trainable_token_indices": null,
39
+ "use_bdlora": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2d7a053d0c80d38a19b389c14b56461711bc2865e4db88531852a7ba94f22a1
3
+ size 20607744
config.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 8
9
+ ]
10
+ },
11
+ "observation.images.cam_chest": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.cam_wrist": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 8
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": true,
39
+ "push_to_hub": true,
40
+ "repo_id": "crislmfroes/pi05-openarm-lift-fanta-bottle-clean",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": "lerobot/pi05_base",
45
+ "paligemma_variant": "gemma_2b",
46
+ "action_expert_variant": "gemma_300m",
47
+ "dtype": "bfloat16",
48
+ "chunk_size": 50,
49
+ "n_action_steps": 50,
50
+ "max_state_dim": 32,
51
+ "max_action_dim": 32,
52
+ "num_inference_steps": 10,
53
+ "time_sampling_beta_alpha": 1.5,
54
+ "time_sampling_beta_beta": 1.0,
55
+ "time_sampling_scale": 0.999,
56
+ "time_sampling_offset": 0.001,
57
+ "min_period": 0.004,
58
+ "max_period": 4.0,
59
+ "use_relative_actions": false,
60
+ "relative_exclude_joints": [
61
+ "gripper"
62
+ ],
63
+ "action_feature_names": [
64
+ "joint_1.pos",
65
+ "joint_2.pos",
66
+ "joint_3.pos",
67
+ "joint_4.pos",
68
+ "joint_5.pos",
69
+ "joint_6.pos",
70
+ "joint_7.pos",
71
+ "gripper.pos"
72
+ ],
73
+ "rtc_config": null,
74
+ "image_resolution": [
75
+ 224,
76
+ 224
77
+ ],
78
+ "empty_cameras": 0,
79
+ "tokenizer_max_length": 200,
80
+ "normalization_mapping": {
81
+ "VISUAL": "IDENTITY",
82
+ "STATE": "QUANTILES",
83
+ "ACTION": "QUANTILES"
84
+ },
85
+ "gradient_checkpointing": true,
86
+ "compile_model": false,
87
+ "compile_mode": "max-autotune",
88
+ "freeze_vision_encoder": false,
89
+ "train_expert_only": false,
90
+ "optimizer_lr": 0.00025,
91
+ "optimizer_betas": [
92
+ 0.9,
93
+ 0.95
94
+ ],
95
+ "optimizer_eps": 1e-08,
96
+ "optimizer_weight_decay": 0.01,
97
+ "optimizer_grad_clip_norm": 1.0,
98
+ "scheduler_warmup_steps": 1000,
99
+ "scheduler_decay_steps": 30000,
100
+ "scheduler_decay_lr": 2.5e-05
101
+ }
train_config.json ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "crislmfroes/openarm-lift-fanta-bottle-clean",
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": "pyav",
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.state": {
89
+ "type": "STATE",
90
+ "shape": [
91
+ 8
92
+ ]
93
+ },
94
+ "observation.images.cam_chest": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 3,
98
+ 480,
99
+ 640
100
+ ]
101
+ },
102
+ "observation.images.cam_wrist": {
103
+ "type": "VISUAL",
104
+ "shape": [
105
+ 3,
106
+ 480,
107
+ 640
108
+ ]
109
+ }
110
+ },
111
+ "output_features": {
112
+ "action": {
113
+ "type": "ACTION",
114
+ "shape": [
115
+ 8
116
+ ]
117
+ }
118
+ },
119
+ "device": "cuda",
120
+ "use_amp": false,
121
+ "use_peft": true,
122
+ "push_to_hub": true,
123
+ "repo_id": "crislmfroes/pi05-openarm-lift-fanta-bottle-clean",
124
+ "private": null,
125
+ "tags": null,
126
+ "license": null,
127
+ "pretrained_path": "lerobot/pi05_base",
128
+ "paligemma_variant": "gemma_2b",
129
+ "action_expert_variant": "gemma_300m",
130
+ "dtype": "bfloat16",
131
+ "chunk_size": 50,
132
+ "n_action_steps": 50,
133
+ "max_state_dim": 32,
134
+ "max_action_dim": 32,
135
+ "num_inference_steps": 10,
136
+ "time_sampling_beta_alpha": 1.5,
137
+ "time_sampling_beta_beta": 1.0,
138
+ "time_sampling_scale": 0.999,
139
+ "time_sampling_offset": 0.001,
140
+ "min_period": 0.004,
141
+ "max_period": 4.0,
142
+ "use_relative_actions": false,
143
+ "relative_exclude_joints": [
144
+ "gripper"
145
+ ],
146
+ "action_feature_names": [
147
+ "joint_1.pos",
148
+ "joint_2.pos",
149
+ "joint_3.pos",
150
+ "joint_4.pos",
151
+ "joint_5.pos",
152
+ "joint_6.pos",
153
+ "joint_7.pos",
154
+ "gripper.pos"
155
+ ],
156
+ "rtc_config": null,
157
+ "image_resolution": [
158
+ 224,
159
+ 224
160
+ ],
161
+ "empty_cameras": 0,
162
+ "tokenizer_max_length": 200,
163
+ "normalization_mapping": {
164
+ "VISUAL": "IDENTITY",
165
+ "STATE": "QUANTILES",
166
+ "ACTION": "QUANTILES"
167
+ },
168
+ "gradient_checkpointing": true,
169
+ "compile_model": false,
170
+ "compile_mode": "max-autotune",
171
+ "freeze_vision_encoder": false,
172
+ "train_expert_only": false,
173
+ "optimizer_lr": 0.00025,
174
+ "optimizer_betas": [
175
+ 0.9,
176
+ 0.95
177
+ ],
178
+ "optimizer_eps": 1e-08,
179
+ "optimizer_weight_decay": 0.01,
180
+ "optimizer_grad_clip_norm": 1.0,
181
+ "scheduler_warmup_steps": 1000,
182
+ "scheduler_decay_steps": 30000,
183
+ "scheduler_decay_lr": 2.5e-05
184
+ },
185
+ "reward_model": null,
186
+ "output_dir": "outputs/train/2026-05-24/08-21-33_pi05",
187
+ "job_name": "pi05",
188
+ "resume": false,
189
+ "seed": 1000,
190
+ "cudnn_deterministic": false,
191
+ "num_workers": 4,
192
+ "batch_size": 4,
193
+ "prefetch_factor": 4,
194
+ "persistent_workers": true,
195
+ "steps": 20000,
196
+ "eval_freq": 20000,
197
+ "log_freq": 200,
198
+ "tolerance_s": 0.0001,
199
+ "save_checkpoint": true,
200
+ "save_freq": 20000,
201
+ "use_policy_training_preset": true,
202
+ "optimizer": {
203
+ "type": "adamw",
204
+ "lr": 0.00025,
205
+ "weight_decay": 0.01,
206
+ "grad_clip_norm": 1.0,
207
+ "betas": [
208
+ 0.9,
209
+ 0.95
210
+ ],
211
+ "eps": 1e-08
212
+ },
213
+ "scheduler": {
214
+ "type": "cosine_decay_with_warmup",
215
+ "num_warmup_steps": 1000,
216
+ "num_decay_steps": 30000,
217
+ "peak_lr": 0.00025,
218
+ "decay_lr": 2.5e-05
219
+ },
220
+ "eval": {
221
+ "n_episodes": 50,
222
+ "batch_size": 11,
223
+ "use_async_envs": true
224
+ },
225
+ "wandb": {
226
+ "enable": false,
227
+ "disable_artifact": false,
228
+ "project": "lerobot",
229
+ "entity": null,
230
+ "notes": null,
231
+ "run_id": null,
232
+ "mode": null,
233
+ "add_tags": true
234
+ },
235
+ "peft": {
236
+ "target_modules": null,
237
+ "full_training_modules": null,
238
+ "method_type": "LORA",
239
+ "init_type": null,
240
+ "r": 64,
241
+ "lora_alpha": 64
242
+ },
243
+ "sample_weighting": null,
244
+ "rename_map": {},
245
+ "checkpoint_path": null
246
+ }