Robotics
LeRobot
Safetensors
vla0
olegbalakhnov commited on
Commit
9f1bd5d
·
verified ·
1 Parent(s): 1da891c

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +79 -0
  3. model.safetensors +3 -0
  4. train_config.json +242 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: HuggingFaceVLA/libero
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: vla0
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - robotics
9
+ - lerobot
10
+ - vla0
11
+ ---
12
+
13
+ # Model Card for vla0
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ _Model type not recognized — please update this template._
19
+
20
+
21
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
22
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
23
+
24
+ ---
25
+
26
+ ## How to Get Started with the Model
27
+
28
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
29
+ Below is the short version on how to train and run inference/eval:
30
+
31
+ ### Train from scratch
32
+
33
+ ```bash
34
+ lerobot-train \
35
+ --dataset.repo_id=${HF_USER}/<dataset> \
36
+ --policy.type=act \
37
+ --output_dir=outputs/train/<desired_policy_repo_id> \
38
+ --job_name=lerobot_training \
39
+ --policy.device=cuda \
40
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
41
+ --wandb.enable=true
42
+ ```
43
+
44
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
45
+
46
+ ### Evaluate the policy/run inference
47
+
48
+ ```bash
49
+ lerobot-record \
50
+ --robot.type=so100_follower \
51
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
52
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
53
+ --episodes=10
54
+ ```
55
+
56
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
57
+
58
+ ---
59
+
60
+ ## Model Details
61
+
62
+ - **License:** apache-2.0
config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "vla0",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.image": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 256,
10
+ 256
11
+ ]
12
+ },
13
+ "observation.images.image2": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 3,
17
+ 256,
18
+ 256
19
+ ]
20
+ },
21
+ "observation.state": {
22
+ "type": "STATE",
23
+ "shape": [
24
+ 8
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "push_to_hub": true,
39
+ "repo_id": "olegbalakhnov/libero_vla0",
40
+ "private": null,
41
+ "tags": null,
42
+ "license": null,
43
+ "pretrained_path": null,
44
+ "chunk_size": 8,
45
+ "n_action_steps": 8,
46
+ "normalization_mapping": {
47
+ "VISUAL": "IDENTITY",
48
+ "STATE": "MIN_MAX",
49
+ "ACTION": "MIN_MAX"
50
+ },
51
+ "n_action_bins": 512,
52
+ "n_state_bins": 512,
53
+ "max_decoding_steps": 512,
54
+ "use_cache": true,
55
+ "optimizer_lr": 5e-05,
56
+ "optimizer_betas": [
57
+ 0.9,
58
+ 0.95
59
+ ],
60
+ "optimizer_eps": 1e-08,
61
+ "optimizer_weight_decay": 0.01,
62
+ "scheduler_warmup_steps": 1000,
63
+ "scheduler_decay_steps": 50000,
64
+ "scheduler_decay_lr": 5e-06,
65
+ "checkpoint_path": null,
66
+ "vlm_checkpoint": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
67
+ "precision": "float32",
68
+ "freeze_vision_encoder": false,
69
+ "do_image_splitting": false,
70
+ "drop_n_last_frames": 1,
71
+ "relative_actions": false,
72
+ "use_state": true,
73
+ "start_actions_token": 49279,
74
+ "grad_clip_norm": 1.0,
75
+ "crop_shape": [
76
+ 230,
77
+ 230
78
+ ]
79
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4305997c734dffc22585fdf2a8b4adfc053ba93efae71ea0f514973c4fbf3a55
3
+ size 2029995488
train_config.json ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "HuggingFaceVLA/libero",
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
+ }
62
+ },
63
+ "revision": null,
64
+ "use_imagenet_stats": true,
65
+ "video_backend": "torchcodec",
66
+ "streaming": false
67
+ },
68
+ "env": {
69
+ "type": "libero",
70
+ "task": "libero_object",
71
+ "fps": 30,
72
+ "features": {
73
+ "action": {
74
+ "type": "ACTION",
75
+ "shape": [
76
+ 7
77
+ ]
78
+ },
79
+ "agent_pos": {
80
+ "type": "STATE",
81
+ "shape": [
82
+ 8
83
+ ]
84
+ },
85
+ "pixels/agentview_image": {
86
+ "type": "VISUAL",
87
+ "shape": [
88
+ 360,
89
+ 360,
90
+ 3
91
+ ]
92
+ },
93
+ "pixels/robot0_eye_in_hand_image": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 360,
97
+ 360,
98
+ 3
99
+ ]
100
+ }
101
+ },
102
+ "features_map": {
103
+ "action": "action",
104
+ "agent_pos": "observation.state",
105
+ "pixels/agentview_image": "observation.images.image",
106
+ "pixels/robot0_eye_in_hand_image": "observation.images.image2"
107
+ },
108
+ "max_parallel_tasks": 1,
109
+ "disable_env_checker": true,
110
+ "episode_length": 520,
111
+ "obs_type": "pixels_agent_pos",
112
+ "render_mode": "rgb_array",
113
+ "camera_name": "agentview_image,robot0_eye_in_hand_image",
114
+ "task_ids": null,
115
+ "init_states": true,
116
+ "camera_name_mapping": null
117
+ },
118
+ "policy": {
119
+ "type": "vla0",
120
+ "n_obs_steps": 1,
121
+ "input_features": {
122
+ "observation.images.image": {
123
+ "type": "VISUAL",
124
+ "shape": [
125
+ 3,
126
+ 256,
127
+ 256
128
+ ]
129
+ },
130
+ "observation.images.image2": {
131
+ "type": "VISUAL",
132
+ "shape": [
133
+ 3,
134
+ 256,
135
+ 256
136
+ ]
137
+ },
138
+ "observation.state": {
139
+ "type": "STATE",
140
+ "shape": [
141
+ 8
142
+ ]
143
+ }
144
+ },
145
+ "output_features": {
146
+ "action": {
147
+ "type": "ACTION",
148
+ "shape": [
149
+ 7
150
+ ]
151
+ }
152
+ },
153
+ "device": "cuda",
154
+ "use_amp": false,
155
+ "push_to_hub": true,
156
+ "repo_id": "olegbalakhnov/libero_vla0",
157
+ "private": null,
158
+ "tags": null,
159
+ "license": null,
160
+ "pretrained_path": null,
161
+ "chunk_size": 8,
162
+ "n_action_steps": 8,
163
+ "normalization_mapping": {
164
+ "VISUAL": "IDENTITY",
165
+ "STATE": "MIN_MAX",
166
+ "ACTION": "MIN_MAX"
167
+ },
168
+ "n_action_bins": 512,
169
+ "n_state_bins": 512,
170
+ "max_decoding_steps": 512,
171
+ "use_cache": true,
172
+ "optimizer_lr": 5e-05,
173
+ "optimizer_betas": [
174
+ 0.9,
175
+ 0.95
176
+ ],
177
+ "optimizer_eps": 1e-08,
178
+ "optimizer_weight_decay": 0.01,
179
+ "scheduler_warmup_steps": 1000,
180
+ "scheduler_decay_steps": 50000,
181
+ "scheduler_decay_lr": 5e-06,
182
+ "checkpoint_path": null,
183
+ "vlm_checkpoint": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
184
+ "precision": "float32",
185
+ "freeze_vision_encoder": false,
186
+ "do_image_splitting": false,
187
+ "drop_n_last_frames": 1,
188
+ "relative_actions": false,
189
+ "use_state": true,
190
+ "start_actions_token": 49279,
191
+ "grad_clip_norm": 1.0,
192
+ "crop_shape": [
193
+ 230,
194
+ 230
195
+ ]
196
+ },
197
+ "output_dir": "outputs/train/2025-11-14/18-06-27_libero_vla0",
198
+ "job_name": "libero_vla0",
199
+ "resume": false,
200
+ "seed": 1000,
201
+ "num_workers": 8,
202
+ "batch_size": 16,
203
+ "steps": 50000,
204
+ "eval_freq": 5000,
205
+ "log_freq": 100,
206
+ "save_checkpoint": true,
207
+ "save_freq": 10000,
208
+ "profile_step_num": -1,
209
+ "use_policy_training_preset": true,
210
+ "optimizer": {
211
+ "type": "adamw",
212
+ "lr": 5e-05,
213
+ "weight_decay": 0.01,
214
+ "grad_clip_norm": 1.0,
215
+ "betas": [
216
+ 0.9,
217
+ 0.95
218
+ ],
219
+ "eps": 1e-08
220
+ },
221
+ "scheduler": {
222
+ "type": "cosine_decay_with_warmup",
223
+ "num_warmup_steps": 1000,
224
+ "num_decay_steps": 50000,
225
+ "peak_lr": 5e-05,
226
+ "decay_lr": 5e-06
227
+ },
228
+ "eval": {
229
+ "n_episodes": 8,
230
+ "batch_size": 8,
231
+ "use_async_envs": false
232
+ },
233
+ "wandb": {
234
+ "enable": true,
235
+ "disable_artifact": false,
236
+ "project": "lerobot",
237
+ "entity": null,
238
+ "notes": null,
239
+ "run_id": "d5lg1qup",
240
+ "mode": null
241
+ }
242
+ }