Robotics
LeRobot
Safetensors
smolvla
godnpeter commited on
Commit
7dced6c
·
verified ·
1 Parent(s): 6b59873

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +94 -0
  3. model.safetensors +3 -0
  4. train_config.json +233 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: lerobot/smolvla_base
3
+ datasets: godnpeter/aopoli-lv-libero_combined_no_noops_lerobot_v21
4
+ library_name: lerobot
5
+ license: apache-2.0
6
+ model_name: smolvla
7
+ pipeline_tag: robotics
8
+ tags:
9
+ - smolvla
10
+ - robotics
11
+ - lerobot
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,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "smolvla",
3
+ "n_obs_steps": 1,
4
+ "normalization_mapping": {
5
+ "VISUAL": "IDENTITY",
6
+ "STATE": "MEAN_STD",
7
+ "ACTION": "MEAN_STD"
8
+ },
9
+ "input_features": {
10
+ "observation.images.wrist_image": {
11
+ "type": "VISUAL",
12
+ "shape": [
13
+ 256,
14
+ 256,
15
+ 3
16
+ ]
17
+ },
18
+ "observation.images.image": {
19
+ "type": "VISUAL",
20
+ "shape": [
21
+ 256,
22
+ 256,
23
+ 3
24
+ ]
25
+ },
26
+ "observation.state": {
27
+ "type": "STATE",
28
+ "shape": [
29
+ 8
30
+ ]
31
+ }
32
+ },
33
+ "output_features": {
34
+ "action": {
35
+ "type": "ACTION",
36
+ "shape": [
37
+ 7
38
+ ]
39
+ }
40
+ },
41
+ "device": "cuda",
42
+ "use_amp": false,
43
+ "use_peft": false,
44
+ "push_to_hub": true,
45
+ "repo_id": "combined_frozen_chunk50_noproprio_fullvlm_1003",
46
+ "private": null,
47
+ "tags": null,
48
+ "license": null,
49
+ "use_proprio": false,
50
+ "chunk_size": 50,
51
+ "n_action_steps": 50,
52
+ "normalize_visual": "identity",
53
+ "normalize_state": "mean_std",
54
+ "normalize_action": "mean_std",
55
+ "max_state_dim": 32,
56
+ "max_action_dim": 32,
57
+ "resize_imgs_with_padding": [
58
+ 512,
59
+ 512
60
+ ],
61
+ "empty_cameras": 0,
62
+ "adapt_to_pi_aloha": false,
63
+ "use_delta_joint_actions_aloha": false,
64
+ "tokenizer_max_length": 48,
65
+ "num_steps": 10,
66
+ "use_cache": true,
67
+ "freeze_vision_encoder": true,
68
+ "train_expert_only": true,
69
+ "train_state_proj": true,
70
+ "optimizer_lr": 0.0001,
71
+ "optimizer_betas": [
72
+ 0.9,
73
+ 0.95
74
+ ],
75
+ "optimizer_eps": 1e-08,
76
+ "optimizer_weight_decay": 1e-10,
77
+ "optimizer_grad_clip_norm": 10,
78
+ "scheduler_warmup_steps": 1000,
79
+ "scheduler_decay_steps": 30000,
80
+ "scheduler_decay_lr": 2.5e-06,
81
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
82
+ "load_vlm_weights": true,
83
+ "vlm_model_dtype": "bfloat16",
84
+ "add_image_special_tokens": false,
85
+ "attention_mode": "cross_attn",
86
+ "prefix_length": -1,
87
+ "pad_language_to": "longest",
88
+ "num_expert_layers": -1,
89
+ "num_vlm_layers": -1,
90
+ "self_attn_every_n_layers": 2,
91
+ "expert_width_multiplier": 0.75,
92
+ "min_period": 0.004,
93
+ "max_period": 4.0
94
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d9b5adfefc79348cb7f3c1ab5ec34824e5ffeab07f5a7f54a852a11f3a1dfe5
3
+ size 1421156816
train_config.json ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "godnpeter/aopoli-lv-libero_combined_no_noops_lerobot_v21",
4
+ "use_all_local_repos": false,
5
+ "root": null,
6
+ "episodes": null,
7
+ "image_transforms": {
8
+ "enable": false,
9
+ "max_num_transforms": 3,
10
+ "random_order": false,
11
+ "tfs": {
12
+ "brightness": {
13
+ "weight": 1.0,
14
+ "type": "ColorJitter",
15
+ "kwargs": {
16
+ "brightness": [
17
+ 0.8,
18
+ 1.2
19
+ ]
20
+ }
21
+ },
22
+ "contrast": {
23
+ "weight": 1.0,
24
+ "type": "ColorJitter",
25
+ "kwargs": {
26
+ "contrast": [
27
+ 0.8,
28
+ 1.2
29
+ ]
30
+ }
31
+ },
32
+ "saturation": {
33
+ "weight": 1.0,
34
+ "type": "ColorJitter",
35
+ "kwargs": {
36
+ "saturation": [
37
+ 0.5,
38
+ 1.5
39
+ ]
40
+ }
41
+ },
42
+ "hue": {
43
+ "weight": 1.0,
44
+ "type": "ColorJitter",
45
+ "kwargs": {
46
+ "hue": [
47
+ -0.05,
48
+ 0.05
49
+ ]
50
+ }
51
+ },
52
+ "sharpness": {
53
+ "weight": 1.0,
54
+ "type": "SharpnessJitter",
55
+ "kwargs": {
56
+ "sharpness": [
57
+ 0.5,
58
+ 1.5
59
+ ]
60
+ }
61
+ },
62
+ "shift": {
63
+ "weight": 0.0,
64
+ "type": "RandomShift",
65
+ "kwargs": {
66
+ "max_shift": 8,
67
+ "padding_mode": "edge"
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "revision": null,
73
+ "use_imagenet_stats": true,
74
+ "video_backend": "torchcodec",
75
+ "only_robot_type": "so100",
76
+ "exclude_tasks": null,
77
+ "report_task_stats": true
78
+ },
79
+ "env": null,
80
+ "policy": {
81
+ "type": "smolvla",
82
+ "n_obs_steps": 1,
83
+ "normalization_mapping": {
84
+ "VISUAL": "IDENTITY",
85
+ "STATE": "MEAN_STD",
86
+ "ACTION": "MEAN_STD"
87
+ },
88
+ "input_features": {
89
+ "observation.images.wrist_image": {
90
+ "type": "VISUAL",
91
+ "shape": [
92
+ 256,
93
+ 256,
94
+ 3
95
+ ]
96
+ },
97
+ "observation.images.image": {
98
+ "type": "VISUAL",
99
+ "shape": [
100
+ 256,
101
+ 256,
102
+ 3
103
+ ]
104
+ },
105
+ "observation.state": {
106
+ "type": "STATE",
107
+ "shape": [
108
+ 8
109
+ ]
110
+ }
111
+ },
112
+ "output_features": {
113
+ "action": {
114
+ "type": "ACTION",
115
+ "shape": [
116
+ 7
117
+ ]
118
+ }
119
+ },
120
+ "device": "cuda",
121
+ "use_amp": false,
122
+ "use_peft": false,
123
+ "push_to_hub": true,
124
+ "repo_id": "combined_frozen_chunk50_noproprio_fullvlm_1003",
125
+ "private": null,
126
+ "tags": null,
127
+ "license": null,
128
+ "use_proprio": false,
129
+ "chunk_size": 50,
130
+ "n_action_steps": 50,
131
+ "normalize_visual": "identity",
132
+ "normalize_state": "mean_std",
133
+ "normalize_action": "mean_std",
134
+ "max_state_dim": 32,
135
+ "max_action_dim": 32,
136
+ "resize_imgs_with_padding": [
137
+ 512,
138
+ 512
139
+ ],
140
+ "empty_cameras": 0,
141
+ "adapt_to_pi_aloha": false,
142
+ "use_delta_joint_actions_aloha": false,
143
+ "tokenizer_max_length": 48,
144
+ "num_steps": 10,
145
+ "use_cache": true,
146
+ "freeze_vision_encoder": true,
147
+ "train_expert_only": true,
148
+ "train_state_proj": true,
149
+ "optimizer_lr": 0.0001,
150
+ "optimizer_betas": [
151
+ 0.9,
152
+ 0.95
153
+ ],
154
+ "optimizer_eps": 1e-08,
155
+ "optimizer_weight_decay": 1e-10,
156
+ "optimizer_grad_clip_norm": 10,
157
+ "scheduler_warmup_steps": 1000,
158
+ "scheduler_decay_steps": 30000,
159
+ "scheduler_decay_lr": 2.5e-06,
160
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
161
+ "load_vlm_weights": true,
162
+ "vlm_model_dtype": "bfloat16",
163
+ "add_image_special_tokens": false,
164
+ "attention_mode": "cross_attn",
165
+ "prefix_length": -1,
166
+ "pad_language_to": "longest",
167
+ "num_expert_layers": -1,
168
+ "num_vlm_layers": -1,
169
+ "self_attn_every_n_layers": 2,
170
+ "expert_width_multiplier": 0.75,
171
+ "min_period": 0.004,
172
+ "max_period": 4.0
173
+ },
174
+ "output_dir": "outputs/combined_frozen_fullvlm_1003/combined_frozen_chunk50_noproprio_fullvlm_1003/2025-10-04/09-46-20",
175
+ "exp_name": "combined_frozen_chunk50_noproprio_fullvlm_1003/2025-10-04/09-46-20",
176
+ "group_name": "combined_frozen_fullvlm_1003",
177
+ "resume": false,
178
+ "seed": 1000,
179
+ "num_workers": 8,
180
+ "batch_size": 64,
181
+ "update_steps": 100000,
182
+ "eval_freq": 20000,
183
+ "log_freq": 200,
184
+ "save_checkpoint": true,
185
+ "save_freq": 10000,
186
+ "use_policy_training_preset": true,
187
+ "optimizer": {
188
+ "type": "adamw",
189
+ "lr": 0.0001,
190
+ "weight_decay": 1e-10,
191
+ "grad_clip_norm": 10,
192
+ "betas": [
193
+ 0.9,
194
+ 0.95
195
+ ],
196
+ "eps": 1e-08
197
+ },
198
+ "scheduler": {
199
+ "type": "cosine_decay_with_warmup",
200
+ "num_warmup_steps": 1000,
201
+ "num_decay_steps": 30000,
202
+ "peak_lr": 0.0001,
203
+ "decay_lr": 2.5e-06
204
+ },
205
+ "eval": {
206
+ "n_episodes": 50,
207
+ "batch_size": 50,
208
+ "use_async_envs": false
209
+ },
210
+ "log_with": "wandb",
211
+ "wandb": {
212
+ "enable": false,
213
+ "disable_artifact": false,
214
+ "project": "lerobot",
215
+ "entity": null,
216
+ "notes": null,
217
+ "run_id": "lqud1j22",
218
+ "mode": null
219
+ },
220
+ "gradient_accumulation_steps": 1,
221
+ "use_peft": false,
222
+ "autocast_adapter_dtype": true,
223
+ "peft": {
224
+ "target_modules": null,
225
+ "modules_to_save": null,
226
+ "method_type": "LORA",
227
+ "init_type": null,
228
+ "r": 64,
229
+ "lora_alpha": 128,
230
+ "fullfinetune_vlm_patch_embeddings": false,
231
+ "fullfinetune_vlm_vision_model": false
232
+ }
233
+ }