AriRyo commited on
Commit
9dfac8e
·
verified ·
1 Parent(s): fc5ad3d

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +101 -0
  3. model.safetensors +3 -0
  4. train_config.json +291 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: lerobot/smolvla_base
3
+ datasets: AriRyo/blockpick_gray_03
4
+ library_name: lerobot
5
+ license: apache-2.0
6
+ model_name: smolvla
7
+ pipeline_tag: robotics
8
+ tags:
9
+ - robotics
10
+ - lerobot
11
+ - smolvla
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,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "smolvla",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 6
9
+ ]
10
+ },
11
+ "observation.images.camera1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 256,
16
+ 256
17
+ ]
18
+ },
19
+ "observation.images.camera2": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 256,
24
+ 256
25
+ ]
26
+ },
27
+ "observation.images.camera3": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 256,
32
+ 256
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 6
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "use_peft": false,
47
+ "push_to_hub": true,
48
+ "repo_id": "AriRyo/blockpick_gray_smolvla_48",
49
+ "private": null,
50
+ "tags": null,
51
+ "license": null,
52
+ "pretrained_path": "lerobot/smolvla_base",
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
+ "resize_imgs_with_padding": [
63
+ 512,
64
+ 512
65
+ ],
66
+ "empty_cameras": 0,
67
+ "adapt_to_pi_aloha": false,
68
+ "use_delta_joint_actions_aloha": false,
69
+ "tokenizer_max_length": 48,
70
+ "num_steps": 10,
71
+ "use_cache": true,
72
+ "freeze_vision_encoder": true,
73
+ "train_expert_only": true,
74
+ "train_state_proj": true,
75
+ "optimizer_lr": 0.0001,
76
+ "optimizer_betas": [
77
+ 0.9,
78
+ 0.95
79
+ ],
80
+ "optimizer_eps": 1e-08,
81
+ "optimizer_weight_decay": 1e-10,
82
+ "optimizer_grad_clip_norm": 10.0,
83
+ "scheduler_warmup_steps": 1000,
84
+ "scheduler_decay_steps": 30000,
85
+ "scheduler_decay_lr": 2.5e-06,
86
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
87
+ "load_vlm_weights": true,
88
+ "add_image_special_tokens": false,
89
+ "attention_mode": "cross_attn",
90
+ "prefix_length": 0,
91
+ "pad_language_to": "max_length",
92
+ "num_expert_layers": 0,
93
+ "num_vlm_layers": 16,
94
+ "self_attn_every_n_layers": 2,
95
+ "expert_width_multiplier": 0.75,
96
+ "min_period": 0.004,
97
+ "max_period": 4.0,
98
+ "rtc_config": null,
99
+ "compile_model": false,
100
+ "compile_mode": "max-autotune"
101
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17c2b2a79dcbdc9f31360b3b6611badcfec63401cee09166a869c5930f1c2196
3
+ size 906712520
train_config.json ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "AriRyo/blockpick_gray_03",
4
+ "root": null,
5
+ "episodes": [
6
+ 0,
7
+ 1,
8
+ 2,
9
+ 3,
10
+ 4,
11
+ 5,
12
+ 6,
13
+ 7,
14
+ 8,
15
+ 9,
16
+ 10,
17
+ 11,
18
+ 12,
19
+ 13,
20
+ 14,
21
+ 15,
22
+ 16,
23
+ 17,
24
+ 18,
25
+ 19,
26
+ 20,
27
+ 21,
28
+ 22,
29
+ 23,
30
+ 24,
31
+ 25,
32
+ 26,
33
+ 27,
34
+ 28,
35
+ 29,
36
+ 30,
37
+ 31,
38
+ 32,
39
+ 33,
40
+ 34,
41
+ 35,
42
+ 36,
43
+ 37,
44
+ 38,
45
+ 39,
46
+ 40,
47
+ 41,
48
+ 42,
49
+ 43,
50
+ 44,
51
+ 45,
52
+ 46,
53
+ 47
54
+ ],
55
+ "image_transforms": {
56
+ "enable": false,
57
+ "max_num_transforms": 3,
58
+ "random_order": false,
59
+ "tfs": {
60
+ "brightness": {
61
+ "weight": 1.0,
62
+ "type": "ColorJitter",
63
+ "kwargs": {
64
+ "brightness": [
65
+ 0.8,
66
+ 1.2
67
+ ]
68
+ }
69
+ },
70
+ "contrast": {
71
+ "weight": 1.0,
72
+ "type": "ColorJitter",
73
+ "kwargs": {
74
+ "contrast": [
75
+ 0.8,
76
+ 1.2
77
+ ]
78
+ }
79
+ },
80
+ "saturation": {
81
+ "weight": 1.0,
82
+ "type": "ColorJitter",
83
+ "kwargs": {
84
+ "saturation": [
85
+ 0.5,
86
+ 1.5
87
+ ]
88
+ }
89
+ },
90
+ "hue": {
91
+ "weight": 1.0,
92
+ "type": "ColorJitter",
93
+ "kwargs": {
94
+ "hue": [
95
+ -0.05,
96
+ 0.05
97
+ ]
98
+ }
99
+ },
100
+ "sharpness": {
101
+ "weight": 1.0,
102
+ "type": "SharpnessJitter",
103
+ "kwargs": {
104
+ "sharpness": [
105
+ 0.5,
106
+ 1.5
107
+ ]
108
+ }
109
+ },
110
+ "affine": {
111
+ "weight": 1.0,
112
+ "type": "RandomAffine",
113
+ "kwargs": {
114
+ "degrees": [
115
+ -5.0,
116
+ 5.0
117
+ ],
118
+ "translate": [
119
+ 0.05,
120
+ 0.05
121
+ ]
122
+ }
123
+ }
124
+ }
125
+ },
126
+ "revision": null,
127
+ "use_imagenet_stats": true,
128
+ "video_backend": "torchcodec",
129
+ "streaming": false
130
+ },
131
+ "env": null,
132
+ "policy": {
133
+ "type": "smolvla",
134
+ "n_obs_steps": 1,
135
+ "input_features": {
136
+ "observation.state": {
137
+ "type": "STATE",
138
+ "shape": [
139
+ 6
140
+ ]
141
+ },
142
+ "observation.images.camera1": {
143
+ "type": "VISUAL",
144
+ "shape": [
145
+ 3,
146
+ 256,
147
+ 256
148
+ ]
149
+ },
150
+ "observation.images.camera2": {
151
+ "type": "VISUAL",
152
+ "shape": [
153
+ 3,
154
+ 256,
155
+ 256
156
+ ]
157
+ },
158
+ "observation.images.camera3": {
159
+ "type": "VISUAL",
160
+ "shape": [
161
+ 3,
162
+ 256,
163
+ 256
164
+ ]
165
+ }
166
+ },
167
+ "output_features": {
168
+ "action": {
169
+ "type": "ACTION",
170
+ "shape": [
171
+ 6
172
+ ]
173
+ }
174
+ },
175
+ "device": "cuda",
176
+ "use_amp": false,
177
+ "use_peft": false,
178
+ "push_to_hub": true,
179
+ "repo_id": "AriRyo/blockpick_gray_smolvla_48",
180
+ "private": null,
181
+ "tags": null,
182
+ "license": null,
183
+ "pretrained_path": "lerobot/smolvla_base",
184
+ "chunk_size": 50,
185
+ "n_action_steps": 50,
186
+ "normalization_mapping": {
187
+ "VISUAL": "IDENTITY",
188
+ "STATE": "MEAN_STD",
189
+ "ACTION": "MEAN_STD"
190
+ },
191
+ "max_state_dim": 32,
192
+ "max_action_dim": 32,
193
+ "resize_imgs_with_padding": [
194
+ 512,
195
+ 512
196
+ ],
197
+ "empty_cameras": 0,
198
+ "adapt_to_pi_aloha": false,
199
+ "use_delta_joint_actions_aloha": false,
200
+ "tokenizer_max_length": 48,
201
+ "num_steps": 10,
202
+ "use_cache": true,
203
+ "freeze_vision_encoder": true,
204
+ "train_expert_only": true,
205
+ "train_state_proj": true,
206
+ "optimizer_lr": 0.0001,
207
+ "optimizer_betas": [
208
+ 0.9,
209
+ 0.95
210
+ ],
211
+ "optimizer_eps": 1e-08,
212
+ "optimizer_weight_decay": 1e-10,
213
+ "optimizer_grad_clip_norm": 10.0,
214
+ "scheduler_warmup_steps": 1000,
215
+ "scheduler_decay_steps": 30000,
216
+ "scheduler_decay_lr": 2.5e-06,
217
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
218
+ "load_vlm_weights": true,
219
+ "add_image_special_tokens": false,
220
+ "attention_mode": "cross_attn",
221
+ "prefix_length": 0,
222
+ "pad_language_to": "max_length",
223
+ "num_expert_layers": 0,
224
+ "num_vlm_layers": 16,
225
+ "self_attn_every_n_layers": 2,
226
+ "expert_width_multiplier": 0.75,
227
+ "min_period": 0.004,
228
+ "max_period": 4.0,
229
+ "rtc_config": null,
230
+ "compile_model": false,
231
+ "compile_mode": "max-autotune"
232
+ },
233
+ "output_dir": "outputs/train/blockpick_gray_smolvla_48",
234
+ "job_name": "blockpick_gray_smolvla_48",
235
+ "resume": false,
236
+ "seed": 1000,
237
+ "cudnn_deterministic": false,
238
+ "num_workers": 4,
239
+ "batch_size": 64,
240
+ "steps": 20000,
241
+ "eval_freq": 20000,
242
+ "log_freq": 200,
243
+ "tolerance_s": 0.0001,
244
+ "save_checkpoint": true,
245
+ "save_freq": 4000,
246
+ "use_policy_training_preset": true,
247
+ "optimizer": {
248
+ "type": "adamw",
249
+ "lr": 0.0001,
250
+ "weight_decay": 1e-10,
251
+ "grad_clip_norm": 10.0,
252
+ "betas": [
253
+ 0.9,
254
+ 0.95
255
+ ],
256
+ "eps": 1e-08
257
+ },
258
+ "scheduler": {
259
+ "type": "cosine_decay_with_warmup",
260
+ "num_warmup_steps": 1000,
261
+ "num_decay_steps": 30000,
262
+ "peak_lr": 0.0001,
263
+ "decay_lr": 2.5e-06
264
+ },
265
+ "eval": {
266
+ "n_episodes": 50,
267
+ "batch_size": 50,
268
+ "use_async_envs": false
269
+ },
270
+ "wandb": {
271
+ "enable": true,
272
+ "disable_artifact": true,
273
+ "project": "lerobot",
274
+ "entity": null,
275
+ "notes": null,
276
+ "run_id": "uktnxc3d",
277
+ "mode": null,
278
+ "add_tags": true
279
+ },
280
+ "peft": null,
281
+ "use_rabc": false,
282
+ "rabc_progress_path": null,
283
+ "rabc_kappa": 0.01,
284
+ "rabc_epsilon": 1e-06,
285
+ "rabc_head_mode": "sparse",
286
+ "rename_map": {
287
+ "observation.images.above": "observation.images.camera1",
288
+ "observation.images.side": "observation.images.camera2"
289
+ },
290
+ "checkpoint_path": null
291
+ }