Robotics
LeRobot
Safetensors
smolvla
godnpeter commited on
Commit
923ee37
·
verified ·
1 Parent(s): 5425778

Upload policy weights, train config and readme

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