Robotics
LeRobot
Safetensors
smolvla
godnpeter commited on
Commit
fdbc8ce
·
verified ·
1 Parent(s): 111b1f3

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +92 -0
  3. model.safetensors +3 -0
  4. train_config.json +224 -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,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "push_to_hub": true,
44
+ "repo_id": "smolvla_libero_combined_chunk8_first9_fullfinetune_0926",
45
+ "private": null,
46
+ "tags": null,
47
+ "license": null,
48
+ "use_proprio": true,
49
+ "chunk_size": 8,
50
+ "n_action_steps": 8,
51
+ "normalize_visual": "identity",
52
+ "normalize_state": "mean_std",
53
+ "normalize_action": "mean_std",
54
+ "max_state_dim": 32,
55
+ "max_action_dim": 32,
56
+ "resize_imgs_with_padding": [
57
+ 512,
58
+ 512
59
+ ],
60
+ "empty_cameras": 0,
61
+ "adapt_to_pi_aloha": false,
62
+ "use_delta_joint_actions_aloha": false,
63
+ "tokenizer_max_length": 48,
64
+ "num_steps": 10,
65
+ "use_cache": true,
66
+ "freeze_vision_encoder": false,
67
+ "train_expert_only": false,
68
+ "train_state_proj": true,
69
+ "optimizer_lr": 0.0001,
70
+ "optimizer_betas": [
71
+ 0.9,
72
+ 0.95
73
+ ],
74
+ "optimizer_eps": 1e-08,
75
+ "optimizer_weight_decay": 1e-10,
76
+ "optimizer_grad_clip_norm": 10,
77
+ "scheduler_warmup_steps": 1000,
78
+ "scheduler_decay_steps": 30000,
79
+ "scheduler_decay_lr": 2.5e-06,
80
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
81
+ "load_vlm_weights": true,
82
+ "add_image_special_tokens": false,
83
+ "attention_mode": "cross_attn",
84
+ "prefix_length": -1,
85
+ "pad_language_to": "longest",
86
+ "num_expert_layers": -1,
87
+ "num_vlm_layers": 16,
88
+ "self_attn_every_n_layers": 2,
89
+ "expert_width_multiplier": 0.75,
90
+ "min_period": 0.004,
91
+ "max_period": 4.0
92
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b3d68d7d977a97389db7f6c1339ce2610fd4d81cde172e951568f37cde2ade5
3
+ size 906713328
train_config.json ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": [
77
+ "open the middle drawer of the cabinet",
78
+ "pick up the book and place it in the back compartment of the caddy",
79
+ "pick up the chocolate pudding and place it in the basket",
80
+ "pick up the black bowl on the wooden cabinet and place it on the plate"
81
+ ],
82
+ "report_task_stats": true
83
+ },
84
+ "env": null,
85
+ "policy": {
86
+ "type": "smolvla",
87
+ "n_obs_steps": 1,
88
+ "normalization_mapping": {
89
+ "VISUAL": "IDENTITY",
90
+ "STATE": "MEAN_STD",
91
+ "ACTION": "MEAN_STD"
92
+ },
93
+ "input_features": {
94
+ "observation.images.wrist_image": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 256,
98
+ 256,
99
+ 3
100
+ ]
101
+ },
102
+ "observation.images.image": {
103
+ "type": "VISUAL",
104
+ "shape": [
105
+ 256,
106
+ 256,
107
+ 3
108
+ ]
109
+ },
110
+ "observation.state": {
111
+ "type": "STATE",
112
+ "shape": [
113
+ 8
114
+ ]
115
+ }
116
+ },
117
+ "output_features": {
118
+ "action": {
119
+ "type": "ACTION",
120
+ "shape": [
121
+ 7
122
+ ]
123
+ }
124
+ },
125
+ "device": "cuda",
126
+ "use_amp": false,
127
+ "push_to_hub": true,
128
+ "repo_id": "smolvla_libero_combined_chunk8_first9_fullfinetune_0926",
129
+ "private": null,
130
+ "tags": null,
131
+ "license": null,
132
+ "use_proprio": true,
133
+ "chunk_size": 8,
134
+ "n_action_steps": 8,
135
+ "normalize_visual": "identity",
136
+ "normalize_state": "mean_std",
137
+ "normalize_action": "mean_std",
138
+ "max_state_dim": 32,
139
+ "max_action_dim": 32,
140
+ "resize_imgs_with_padding": [
141
+ 512,
142
+ 512
143
+ ],
144
+ "empty_cameras": 0,
145
+ "adapt_to_pi_aloha": false,
146
+ "use_delta_joint_actions_aloha": false,
147
+ "tokenizer_max_length": 48,
148
+ "num_steps": 10,
149
+ "use_cache": true,
150
+ "freeze_vision_encoder": false,
151
+ "train_expert_only": false,
152
+ "train_state_proj": true,
153
+ "optimizer_lr": 0.0001,
154
+ "optimizer_betas": [
155
+ 0.9,
156
+ 0.95
157
+ ],
158
+ "optimizer_eps": 1e-08,
159
+ "optimizer_weight_decay": 1e-10,
160
+ "optimizer_grad_clip_norm": 10,
161
+ "scheduler_warmup_steps": 1000,
162
+ "scheduler_decay_steps": 30000,
163
+ "scheduler_decay_lr": 2.5e-06,
164
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
165
+ "load_vlm_weights": true,
166
+ "add_image_special_tokens": false,
167
+ "attention_mode": "cross_attn",
168
+ "prefix_length": -1,
169
+ "pad_language_to": "longest",
170
+ "num_expert_layers": -1,
171
+ "num_vlm_layers": 16,
172
+ "self_attn_every_n_layers": 2,
173
+ "expert_width_multiplier": 0.75,
174
+ "min_period": 0.004,
175
+ "max_period": 4.0
176
+ },
177
+ "output_dir": "outputs/scratch_libero_first9_v2/libero_combined_chunk8_first9_fullfinetune/2025-09-27/08-04-44",
178
+ "exp_name": "libero_combined_chunk8_first9_fullfinetune/2025-09-27/08-04-44",
179
+ "group_name": "scratch_libero_first9_v2",
180
+ "resume": false,
181
+ "seed": 1000,
182
+ "num_workers": 8,
183
+ "batch_size": 64,
184
+ "update_steps": 100000,
185
+ "eval_freq": 20000,
186
+ "log_freq": 200,
187
+ "save_checkpoint": true,
188
+ "save_freq": 20000,
189
+ "use_policy_training_preset": true,
190
+ "optimizer": {
191
+ "type": "adamw",
192
+ "lr": 0.0001,
193
+ "weight_decay": 1e-10,
194
+ "grad_clip_norm": 10,
195
+ "betas": [
196
+ 0.9,
197
+ 0.95
198
+ ],
199
+ "eps": 1e-08
200
+ },
201
+ "scheduler": {
202
+ "type": "cosine_decay_with_warmup",
203
+ "num_warmup_steps": 1000,
204
+ "num_decay_steps": 30000,
205
+ "peak_lr": 0.0001,
206
+ "decay_lr": 2.5e-06
207
+ },
208
+ "eval": {
209
+ "n_episodes": 50,
210
+ "batch_size": 50,
211
+ "use_async_envs": false
212
+ },
213
+ "log_with": "wandb",
214
+ "wandb": {
215
+ "enable": false,
216
+ "disable_artifact": false,
217
+ "project": "lerobot",
218
+ "entity": null,
219
+ "notes": null,
220
+ "run_id": "p7yylv19",
221
+ "mode": null
222
+ },
223
+ "gradient_accumulation_steps": 1
224
+ }