Robotics
LeRobot
Safetensors
smolvla
crislmfroes commited on
Commit
6b5b8fc
·
verified ·
1 Parent(s): f255c73

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +93 -0
  3. model.safetensors +3 -0
  4. train_config.json +231 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: lerobot/smolvla_base
3
+ datasets: crislmfroes/openarm-lift-fanta-bottle-clean
4
+ library_name: lerobot
5
+ license: apache-2.0
6
+ model_name: smolvla
7
+ pipeline_tag: robotics
8
+ tags:
9
+ - robotics
10
+ - smolvla
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,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "smolvla",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 8
9
+ ]
10
+ },
11
+ "observation.images.cam_chest": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.cam_wrist": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 8
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": true,
40
+ "repo_id": "crislmfroes/smolvla-openarm-lift-fanta-bottle-clean",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": "lerobot/smolvla_base",
45
+ "chunk_size": 50,
46
+ "n_action_steps": 50,
47
+ "normalization_mapping": {
48
+ "VISUAL": "IDENTITY",
49
+ "STATE": "MEAN_STD",
50
+ "ACTION": "MEAN_STD"
51
+ },
52
+ "max_state_dim": 32,
53
+ "max_action_dim": 32,
54
+ "resize_imgs_with_padding": [
55
+ 512,
56
+ 512
57
+ ],
58
+ "empty_cameras": 0,
59
+ "adapt_to_pi_aloha": false,
60
+ "use_delta_joint_actions_aloha": false,
61
+ "tokenizer_max_length": 48,
62
+ "num_steps": 10,
63
+ "use_cache": true,
64
+ "freeze_vision_encoder": true,
65
+ "train_expert_only": true,
66
+ "train_state_proj": true,
67
+ "optimizer_lr": 0.0001,
68
+ "optimizer_betas": [
69
+ 0.9,
70
+ 0.95
71
+ ],
72
+ "optimizer_eps": 1e-08,
73
+ "optimizer_weight_decay": 1e-10,
74
+ "optimizer_grad_clip_norm": 10,
75
+ "scheduler_warmup_steps": 1000,
76
+ "scheduler_decay_steps": 30000,
77
+ "scheduler_decay_lr": 2.5e-06,
78
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
79
+ "load_vlm_weights": false,
80
+ "add_image_special_tokens": false,
81
+ "attention_mode": "cross_attn",
82
+ "prefix_length": -1,
83
+ "pad_language_to": "longest",
84
+ "num_expert_layers": -1,
85
+ "num_vlm_layers": 16,
86
+ "self_attn_every_n_layers": 2,
87
+ "expert_width_multiplier": 0.75,
88
+ "min_period": 0.004,
89
+ "max_period": 4.0,
90
+ "rtc_config": null,
91
+ "compile_model": false,
92
+ "compile_mode": "max-autotune"
93
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:508579ad32fc30e3e79904d9e70ee508ace8b75d456280784e606cf2b625be33
3
+ size 1197789224
train_config.json ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "crislmfroes/openarm-lift-fanta-bottle-clean",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
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": "pyav",
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
+ 8
92
+ ]
93
+ },
94
+ "observation.images.cam_chest": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 3,
98
+ 480,
99
+ 640
100
+ ]
101
+ },
102
+ "observation.images.cam_wrist": {
103
+ "type": "VISUAL",
104
+ "shape": [
105
+ 3,
106
+ 480,
107
+ 640
108
+ ]
109
+ }
110
+ },
111
+ "output_features": {
112
+ "action": {
113
+ "type": "ACTION",
114
+ "shape": [
115
+ 8
116
+ ]
117
+ }
118
+ },
119
+ "device": "cuda",
120
+ "use_amp": false,
121
+ "use_peft": false,
122
+ "push_to_hub": true,
123
+ "repo_id": "crislmfroes/smolvla-openarm-lift-fanta-bottle-clean",
124
+ "private": null,
125
+ "tags": null,
126
+ "license": null,
127
+ "pretrained_path": "lerobot/smolvla_base",
128
+ "chunk_size": 50,
129
+ "n_action_steps": 50,
130
+ "normalization_mapping": {
131
+ "VISUAL": "IDENTITY",
132
+ "STATE": "MEAN_STD",
133
+ "ACTION": "MEAN_STD"
134
+ },
135
+ "max_state_dim": 32,
136
+ "max_action_dim": 32,
137
+ "resize_imgs_with_padding": [
138
+ 512,
139
+ 512
140
+ ],
141
+ "empty_cameras": 0,
142
+ "adapt_to_pi_aloha": false,
143
+ "use_delta_joint_actions_aloha": false,
144
+ "tokenizer_max_length": 48,
145
+ "num_steps": 10,
146
+ "use_cache": true,
147
+ "freeze_vision_encoder": true,
148
+ "train_expert_only": true,
149
+ "train_state_proj": true,
150
+ "optimizer_lr": 0.0001,
151
+ "optimizer_betas": [
152
+ 0.9,
153
+ 0.95
154
+ ],
155
+ "optimizer_eps": 1e-08,
156
+ "optimizer_weight_decay": 1e-10,
157
+ "optimizer_grad_clip_norm": 10,
158
+ "scheduler_warmup_steps": 1000,
159
+ "scheduler_decay_steps": 30000,
160
+ "scheduler_decay_lr": 2.5e-06,
161
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
162
+ "load_vlm_weights": false,
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": 16,
169
+ "self_attn_every_n_layers": 2,
170
+ "expert_width_multiplier": 0.75,
171
+ "min_period": 0.004,
172
+ "max_period": 4.0,
173
+ "rtc_config": null,
174
+ "compile_model": false,
175
+ "compile_mode": "max-autotune"
176
+ },
177
+ "reward_model": null,
178
+ "output_dir": "outputs/train/2026-05-25/11-34-49_smolvla",
179
+ "job_name": "smolvla",
180
+ "resume": false,
181
+ "seed": 1000,
182
+ "cudnn_deterministic": false,
183
+ "num_workers": 4,
184
+ "batch_size": 4,
185
+ "prefetch_factor": 4,
186
+ "persistent_workers": true,
187
+ "steps": 20000,
188
+ "eval_freq": 20000,
189
+ "log_freq": 200,
190
+ "tolerance_s": 0.0001,
191
+ "save_checkpoint": true,
192
+ "save_freq": 20000,
193
+ "use_policy_training_preset": true,
194
+ "optimizer": {
195
+ "type": "adamw",
196
+ "lr": 0.0001,
197
+ "weight_decay": 1e-10,
198
+ "grad_clip_norm": 10,
199
+ "betas": [
200
+ 0.9,
201
+ 0.95
202
+ ],
203
+ "eps": 1e-08
204
+ },
205
+ "scheduler": {
206
+ "type": "cosine_decay_with_warmup",
207
+ "num_warmup_steps": 1000,
208
+ "num_decay_steps": 30000,
209
+ "peak_lr": 0.0001,
210
+ "decay_lr": 2.5e-06
211
+ },
212
+ "eval": {
213
+ "n_episodes": 50,
214
+ "batch_size": 11,
215
+ "use_async_envs": true
216
+ },
217
+ "wandb": {
218
+ "enable": false,
219
+ "disable_artifact": false,
220
+ "project": "lerobot",
221
+ "entity": null,
222
+ "notes": null,
223
+ "run_id": null,
224
+ "mode": null,
225
+ "add_tags": true
226
+ },
227
+ "peft": null,
228
+ "sample_weighting": null,
229
+ "rename_map": {},
230
+ "checkpoint_path": null
231
+ }