Robotics
LeRobot
Safetensors
smolvla
wuc1 commited on
Commit
b570601
·
verified ·
1 Parent(s): 85dd679

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +125 -0
  3. model.safetensors +3 -0
  4. train_config.json +264 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: lerobot/smolvla_base
3
+ datasets: wuc1/bi_so101_ffp_20260603_200349_subtask
4
+ library_name: lerobot
5
+ license: apache-2.0
6
+ model_name: smolvla
7
+ pipeline_tag: robotics
8
+ tags:
9
+ - lerobot
10
+ - smolvla
11
+ - robotics
12
+ ---
13
+
14
+ # Model Card for smolvla
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+ [SmolVLA](https://huggingface.co/papers/2506.01844) is a compact, efficient vision-language-action model that achieves competitive performance at reduced computational costs and can be deployed on consumer-grade hardware.
20
+
21
+
22
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
23
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
24
+
25
+ ---
26
+
27
+ ## How to Get Started with the Model
28
+
29
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
30
+ Below is the short version on how to train and run inference/eval:
31
+
32
+ ### Train from scratch
33
+
34
+ ```bash
35
+ lerobot-train \
36
+ --dataset.repo_id=${HF_USER}/<dataset> \
37
+ --policy.type=act \
38
+ --output_dir=outputs/train/<desired_policy_repo_id> \
39
+ --job_name=lerobot_training \
40
+ --policy.device=cuda \
41
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
42
+ --wandb.enable=true
43
+ ```
44
+
45
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
46
+
47
+ ### Evaluate the policy/run inference
48
+
49
+ ```bash
50
+ lerobot-record \
51
+ --robot.type=so100_follower \
52
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
53
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
54
+ --episodes=10
55
+ ```
56
+
57
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
58
+
59
+ ---
60
+
61
+ ## Model Details
62
+
63
+ - **License:** apache-2.0
config.json ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "smolvla",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 12
9
+ ]
10
+ },
11
+ "observation.images.left_camera1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.left_camera3": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
+ ]
26
+ },
27
+ "observation.images.right_camera2": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 480,
32
+ 640
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 12
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "use_peft": false,
47
+ "push_to_hub": true,
48
+ "repo_id": "wuc1/bi_so101_ffp_subtask",
49
+ "private": null,
50
+ "tags": null,
51
+ "license": null,
52
+ "pretrained_path": "wuc1/bi_so101_cloth-base_256",
53
+ "chunk_size": 50,
54
+ "n_action_steps": 50,
55
+ "normalization_mapping": {
56
+ "VISUAL": "IDENTITY",
57
+ "STATE": "MEAN_STD",
58
+ "ACTION": "MEAN_STD"
59
+ },
60
+ "max_state_dim": 32,
61
+ "max_action_dim": 32,
62
+ "use_state": true,
63
+ "input_dropout_prob": 0.0,
64
+ "input_dropout_features": [],
65
+ "training_time_rtc_enabled": false,
66
+ "training_time_rtc_max_delay_steps": 12,
67
+ "use_relative_actions": false,
68
+ "relative_exclude_joints": [
69
+ "gripper"
70
+ ],
71
+ "action_feature_names": [
72
+ "left_shoulder_pan.pos",
73
+ "left_shoulder_lift.pos",
74
+ "left_elbow_flex.pos",
75
+ "left_wrist_flex.pos",
76
+ "left_wrist_roll.pos",
77
+ "left_gripper.pos",
78
+ "right_shoulder_pan.pos",
79
+ "right_shoulder_lift.pos",
80
+ "right_elbow_flex.pos",
81
+ "right_wrist_flex.pos",
82
+ "right_wrist_roll.pos",
83
+ "right_gripper.pos"
84
+ ],
85
+ "resize_imgs_with_padding": [
86
+ 512,
87
+ 512
88
+ ],
89
+ "image_seq_len": 256,
90
+ "empty_cameras": 0,
91
+ "adapt_to_pi_aloha": false,
92
+ "use_delta_joint_actions_aloha": false,
93
+ "tokenizer_max_length": 48,
94
+ "num_steps": 10,
95
+ "use_cache": true,
96
+ "freeze_vision_encoder": true,
97
+ "train_expert_only": true,
98
+ "train_state_proj": true,
99
+ "optimizer_lr": 0.0001,
100
+ "optimizer_betas": [
101
+ 0.9,
102
+ 0.95
103
+ ],
104
+ "optimizer_eps": 1e-08,
105
+ "optimizer_weight_decay": 1e-10,
106
+ "optimizer_grad_clip_norm": 10.0,
107
+ "scheduler_warmup_steps": 1000,
108
+ "scheduler_decay_steps": 100000,
109
+ "scheduler_decay_lr": 2.5e-06,
110
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
111
+ "load_vlm_weights": true,
112
+ "add_image_special_tokens": false,
113
+ "attention_mode": "cross_attn",
114
+ "prefix_length": 0,
115
+ "pad_language_to": "max_length",
116
+ "num_expert_layers": 0,
117
+ "num_vlm_layers": 16,
118
+ "self_attn_every_n_layers": 2,
119
+ "expert_width_multiplier": 0.75,
120
+ "min_period": 0.004,
121
+ "max_period": 4.0,
122
+ "rtc_config": null,
123
+ "compile_model": true,
124
+ "compile_mode": "default"
125
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:914d27efefa68c0965226ccc1c892e37c48add6e7a2323c892f042e1c08cf8d4
3
+ size 889017800
train_config.json ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "wuc1/bi_so101_ffp_20260603_200349_subtask",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": true,
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": "smolvla",
86
+ "n_obs_steps": 1,
87
+ "input_features": {
88
+ "observation.state": {
89
+ "type": "STATE",
90
+ "shape": [
91
+ 12
92
+ ]
93
+ },
94
+ "observation.images.left_camera1": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 3,
98
+ 480,
99
+ 640
100
+ ]
101
+ },
102
+ "observation.images.left_camera3": {
103
+ "type": "VISUAL",
104
+ "shape": [
105
+ 3,
106
+ 480,
107
+ 640
108
+ ]
109
+ },
110
+ "observation.images.right_camera2": {
111
+ "type": "VISUAL",
112
+ "shape": [
113
+ 3,
114
+ 480,
115
+ 640
116
+ ]
117
+ }
118
+ },
119
+ "output_features": {
120
+ "action": {
121
+ "type": "ACTION",
122
+ "shape": [
123
+ 12
124
+ ]
125
+ }
126
+ },
127
+ "device": "cuda",
128
+ "use_amp": false,
129
+ "use_peft": false,
130
+ "push_to_hub": true,
131
+ "repo_id": "wuc1/bi_so101_ffp_subtask",
132
+ "private": null,
133
+ "tags": null,
134
+ "license": null,
135
+ "pretrained_path": "wuc1/bi_so101_cloth-base_256",
136
+ "chunk_size": 50,
137
+ "n_action_steps": 50,
138
+ "normalization_mapping": {
139
+ "VISUAL": "IDENTITY",
140
+ "STATE": "MEAN_STD",
141
+ "ACTION": "MEAN_STD"
142
+ },
143
+ "max_state_dim": 32,
144
+ "max_action_dim": 32,
145
+ "use_state": true,
146
+ "input_dropout_prob": 0.0,
147
+ "input_dropout_features": [],
148
+ "training_time_rtc_enabled": false,
149
+ "training_time_rtc_max_delay_steps": 12,
150
+ "use_relative_actions": false,
151
+ "relative_exclude_joints": [
152
+ "gripper"
153
+ ],
154
+ "action_feature_names": [
155
+ "left_shoulder_pan.pos",
156
+ "left_shoulder_lift.pos",
157
+ "left_elbow_flex.pos",
158
+ "left_wrist_flex.pos",
159
+ "left_wrist_roll.pos",
160
+ "left_gripper.pos",
161
+ "right_shoulder_pan.pos",
162
+ "right_shoulder_lift.pos",
163
+ "right_elbow_flex.pos",
164
+ "right_wrist_flex.pos",
165
+ "right_wrist_roll.pos",
166
+ "right_gripper.pos"
167
+ ],
168
+ "resize_imgs_with_padding": [
169
+ 512,
170
+ 512
171
+ ],
172
+ "image_seq_len": 256,
173
+ "empty_cameras": 0,
174
+ "adapt_to_pi_aloha": false,
175
+ "use_delta_joint_actions_aloha": false,
176
+ "tokenizer_max_length": 48,
177
+ "num_steps": 10,
178
+ "use_cache": true,
179
+ "freeze_vision_encoder": true,
180
+ "train_expert_only": true,
181
+ "train_state_proj": true,
182
+ "optimizer_lr": 0.0001,
183
+ "optimizer_betas": [
184
+ 0.9,
185
+ 0.95
186
+ ],
187
+ "optimizer_eps": 1e-08,
188
+ "optimizer_weight_decay": 1e-10,
189
+ "optimizer_grad_clip_norm": 10.0,
190
+ "scheduler_warmup_steps": 1000,
191
+ "scheduler_decay_steps": 100000,
192
+ "scheduler_decay_lr": 2.5e-06,
193
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
194
+ "load_vlm_weights": true,
195
+ "add_image_special_tokens": false,
196
+ "attention_mode": "cross_attn",
197
+ "prefix_length": 0,
198
+ "pad_language_to": "max_length",
199
+ "num_expert_layers": 0,
200
+ "num_vlm_layers": 16,
201
+ "self_attn_every_n_layers": 2,
202
+ "expert_width_multiplier": 0.75,
203
+ "min_period": 0.004,
204
+ "max_period": 4.0,
205
+ "rtc_config": null,
206
+ "compile_model": true,
207
+ "compile_mode": "default"
208
+ },
209
+ "reward_model": null,
210
+ "output_dir": "outputs/train/2026-06-09/03-37-57_smolvla",
211
+ "job_name": "smolvla",
212
+ "resume": false,
213
+ "seed": 1000,
214
+ "cudnn_deterministic": false,
215
+ "num_workers": 4,
216
+ "batch_size": 12,
217
+ "prefetch_factor": 4,
218
+ "persistent_workers": true,
219
+ "steps": 100000,
220
+ "eval_freq": 20000,
221
+ "log_freq": 1000,
222
+ "tolerance_s": 0.01,
223
+ "save_checkpoint": true,
224
+ "save_freq": 120000,
225
+ "use_policy_training_preset": true,
226
+ "optimizer": {
227
+ "type": "adamw",
228
+ "lr": 0.0001,
229
+ "weight_decay": 1e-10,
230
+ "grad_clip_norm": 10.0,
231
+ "betas": [
232
+ 0.9,
233
+ 0.95
234
+ ],
235
+ "eps": 1e-08
236
+ },
237
+ "scheduler": {
238
+ "type": "cosine_decay_with_warmup",
239
+ "num_warmup_steps": 1000,
240
+ "num_decay_steps": 100000,
241
+ "peak_lr": 0.0001,
242
+ "decay_lr": 2.5e-06
243
+ },
244
+ "eval": {
245
+ "n_episodes": 50,
246
+ "batch_size": 22,
247
+ "use_async_envs": true
248
+ },
249
+ "wandb": {
250
+ "enable": true,
251
+ "disable_artifact": false,
252
+ "project": "lerobot",
253
+ "entity": null,
254
+ "notes": null,
255
+ "run_id": "xtqvbw5w",
256
+ "mode": null,
257
+ "add_tags": true
258
+ },
259
+ "peft": null,
260
+ "use_subtasks": true,
261
+ "sample_weighting": null,
262
+ "rename_map": {},
263
+ "checkpoint_path": null
264
+ }