Robotics
LeRobot
Safetensors
smolvla
ludde73865 commited on
Commit
8cecb04
·
verified ·
1 Parent(s): 07d52b8

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 +227 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: lerobot/smolvla_base
3
+ datasets: Calvert0921/SmolVLA_LiftCube_Franka_200
4
+ library_name: lerobot
5
+ license: apache-2.0
6
+ model_name: smolvla
7
+ pipeline_tag: robotics
8
+ tags:
9
+ - lerobot
10
+ - smolvla
11
+ - robotics
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,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "smolvla",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.up": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 256,
10
+ 256
11
+ ]
12
+ },
13
+ "observation.images.wrist": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 3,
17
+ 256,
18
+ 256
19
+ ]
20
+ },
21
+ "observation.state": {
22
+ "type": "STATE",
23
+ "shape": [
24
+ 9
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": "ludde73865/POTATOES-8dfe212b",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": "qualia-robotics/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
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:816b5138c70ede922d12bb75ea1467cab35b9be0a970a4e7e108599319d82228
3
+ size 1197789224
train_config.json ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Calvert0921/SmolVLA_LiftCube_Franka_200",
4
+ "root": "./dataset/Calvert0921/SmolVLA_LiftCube_Franka_200",
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": "torchcodec",
80
+ "streaming": false
81
+ },
82
+ "env": null,
83
+ "policy": {
84
+ "type": "smolvla",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.images.up": {
88
+ "type": "VISUAL",
89
+ "shape": [
90
+ 3,
91
+ 256,
92
+ 256
93
+ ]
94
+ },
95
+ "observation.images.wrist": {
96
+ "type": "VISUAL",
97
+ "shape": [
98
+ 3,
99
+ 256,
100
+ 256
101
+ ]
102
+ },
103
+ "observation.state": {
104
+ "type": "STATE",
105
+ "shape": [
106
+ 9
107
+ ]
108
+ }
109
+ },
110
+ "output_features": {
111
+ "action": {
112
+ "type": "ACTION",
113
+ "shape": [
114
+ 8
115
+ ]
116
+ }
117
+ },
118
+ "device": "cuda",
119
+ "use_amp": false,
120
+ "use_peft": false,
121
+ "push_to_hub": true,
122
+ "repo_id": "ludde73865/POTATOES-8dfe212b",
123
+ "private": null,
124
+ "tags": null,
125
+ "license": null,
126
+ "pretrained_path": "qualia-robotics/smolvla_base",
127
+ "chunk_size": 50,
128
+ "n_action_steps": 50,
129
+ "normalization_mapping": {
130
+ "VISUAL": "IDENTITY",
131
+ "STATE": "MEAN_STD",
132
+ "ACTION": "MEAN_STD"
133
+ },
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": false,
162
+ "add_image_special_tokens": false,
163
+ "attention_mode": "cross_attn",
164
+ "prefix_length": -1,
165
+ "pad_language_to": "longest",
166
+ "num_expert_layers": -1,
167
+ "num_vlm_layers": 16,
168
+ "self_attn_every_n_layers": 2,
169
+ "expert_width_multiplier": 0.75,
170
+ "min_period": 0.004,
171
+ "max_period": 4.0,
172
+ "rtc_config": null
173
+ },
174
+ "output_dir": "/tmp/output/run1",
175
+ "job_name": "73b650d5-1fc0-4186-9308-918c8dfe212b",
176
+ "resume": false,
177
+ "seed": 1000,
178
+ "num_workers": 4,
179
+ "batch_size": 32,
180
+ "steps": 10000000,
181
+ "eval_freq": 20000,
182
+ "log_freq": 10,
183
+ "tolerance_s": 0.0001,
184
+ "save_checkpoint": true,
185
+ "save_freq": 20000,
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
+ "wandb": {
211
+ "enable": false,
212
+ "disable_artifact": false,
213
+ "project": "lerobot",
214
+ "entity": null,
215
+ "notes": null,
216
+ "run_id": null,
217
+ "mode": null
218
+ },
219
+ "peft": null,
220
+ "use_rabc": false,
221
+ "rabc_progress_path": null,
222
+ "rabc_kappa": 0.01,
223
+ "rabc_epsilon": 1e-06,
224
+ "rabc_head_mode": "sparse",
225
+ "rename_map": {},
226
+ "checkpoint_path": null
227
+ }