Robotics
LeRobot
Safetensors
smolvla
hrl7 commited on
Commit
fa4bb91
·
verified ·
1 Parent(s): 3143763

Upload policy weights, train config and readme

Browse files
Files changed (5) hide show
  1. README.md +6 -5
  2. adapter_config.json +41 -0
  3. adapter_model.safetensors +3 -0
  4. config.json +47 -25
  5. train_config.json +72 -38
README.md CHANGED
@@ -1,21 +1,22 @@
1
  ---
 
2
  datasets: hrl7/so101-move
3
  library_name: lerobot
4
  license: apache-2.0
5
- model_name: act
6
  pipeline_tag: robotics
7
  tags:
8
- - act
9
- - robotics
10
  - lerobot
 
 
11
  ---
12
 
13
- # Model Card for act
14
 
15
  <!-- Provide a quick summary of what the model is/does. -->
16
 
17
 
18
- [Action Chunking with Transformers (ACT)](https://huggingface.co/papers/2304.13705) is an imitation-learning method that predicts short action chunks instead of single steps. It learns from teleoperated data and often achieves high success rates.
19
 
20
 
21
  This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
 
1
  ---
2
+ base_model: lerobot/smolvla_base
3
  datasets: hrl7/so101-move
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).
adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "SmolVLAPolicy",
7
+ "parent_library": "lerobot.policies.smolvla.modeling_smolvla"
8
+ },
9
+ "base_model_name_or_path": "lerobot/smolvla_base",
10
+ "bias": "none",
11
+ "corda_config": null,
12
+ "ensure_weight_tying": false,
13
+ "eva_config": null,
14
+ "exclude_modules": null,
15
+ "fan_in_fan_out": false,
16
+ "inference_mode": true,
17
+ "init_lora_weights": true,
18
+ "layer_replication": null,
19
+ "layers_pattern": null,
20
+ "layers_to_transform": null,
21
+ "loftq_config": {},
22
+ "lora_alpha": 8,
23
+ "lora_bias": false,
24
+ "lora_dropout": 0.0,
25
+ "megatron_config": null,
26
+ "megatron_core": "megatron.core",
27
+ "modules_to_save": [],
28
+ "peft_type": "LORA",
29
+ "peft_version": "0.18.1",
30
+ "qalora_group_size": 16,
31
+ "r": 16,
32
+ "rank_pattern": {},
33
+ "revision": null,
34
+ "target_modules": "(model\\.vlm_with_expert\\.lm_expert\\..*\\.(q|v)_proj|model\\.(state_proj|action_in_proj|action_out_proj|action_time_mlp_in|action_time_mlp_out))",
35
+ "target_parameters": null,
36
+ "task_type": null,
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc22401f46708353c158e6d9731a9300d9e011668fe8cadf4c52333c6bb2a1c7
3
+ size 2981888
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "type": "act",
3
  "n_obs_steps": 1,
4
  "input_features": {
5
  "observation.state": {
@@ -43,37 +43,59 @@
43
  },
44
  "device": "cuda",
45
  "use_amp": false,
46
- "use_peft": false,
47
  "push_to_hub": true,
48
  "repo_id": "hrl7/so101-move",
49
  "private": null,
50
  "tags": null,
51
  "license": null,
52
- "pretrained_path": null,
53
- "chunk_size": 100,
54
- "n_action_steps": 100,
55
  "normalization_mapping": {
56
- "VISUAL": "MEAN_STD",
57
  "STATE": "MEAN_STD",
58
  "ACTION": "MEAN_STD"
59
  },
60
- "vision_backbone": "resnet18",
61
- "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
62
- "replace_final_stride_with_dilation": false,
63
- "pre_norm": false,
64
- "dim_model": 512,
65
- "n_heads": 8,
66
- "dim_feedforward": 3200,
67
- "feedforward_activation": "relu",
68
- "n_encoder_layers": 4,
69
- "n_decoder_layers": 1,
70
- "use_vae": true,
71
- "latent_dim": 32,
72
- "n_vae_encoder_layers": 4,
73
- "temporal_ensemble_coeff": null,
74
- "dropout": 0.1,
75
- "kl_weight": 10.0,
76
- "optimizer_lr": 1e-05,
77
- "optimizer_weight_decay": 0.0001,
78
- "optimizer_lr_backbone": 1e-05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  }
 
1
  {
2
+ "type": "smolvla",
3
  "n_obs_steps": 1,
4
  "input_features": {
5
  "observation.state": {
 
43
  },
44
  "device": "cuda",
45
  "use_amp": false,
46
+ "use_peft": true,
47
  "push_to_hub": true,
48
  "repo_id": "hrl7/so101-move",
49
  "private": null,
50
  "tags": null,
51
  "license": null,
52
+ "pretrained_path": "lerobot/smolvla_base",
53
+ "chunk_size": 50,
54
+ "n_action_steps": 50,
55
  "normalization_mapping": {
56
+ "VISUAL": "IDENTITY",
57
  "STATE": "MEAN_STD",
58
  "ACTION": "MEAN_STD"
59
  },
60
+ "max_state_dim": 32,
61
+ "max_action_dim": 32,
62
+ "resize_imgs_with_padding": [
63
+ 512,
64
+ 512
65
+ ],
66
+ "empty_cameras": 0,
67
+ "adapt_to_pi_aloha": false,
68
+ "use_delta_joint_actions_aloha": false,
69
+ "tokenizer_max_length": 48,
70
+ "num_steps": 10,
71
+ "use_cache": true,
72
+ "freeze_vision_encoder": true,
73
+ "train_expert_only": true,
74
+ "train_state_proj": true,
75
+ "optimizer_lr": 0.001,
76
+ "optimizer_betas": [
77
+ 0.9,
78
+ 0.95
79
+ ],
80
+ "optimizer_eps": 1e-08,
81
+ "optimizer_weight_decay": 1e-10,
82
+ "optimizer_grad_clip_norm": 10,
83
+ "scheduler_warmup_steps": 1000,
84
+ "scheduler_decay_steps": 30000,
85
+ "scheduler_decay_lr": 0.0001,
86
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
87
+ "load_vlm_weights": false,
88
+ "add_image_special_tokens": false,
89
+ "attention_mode": "cross_attn",
90
+ "prefix_length": -1,
91
+ "pad_language_to": "longest",
92
+ "num_expert_layers": -1,
93
+ "num_vlm_layers": 16,
94
+ "self_attn_every_n_layers": 2,
95
+ "expert_width_multiplier": 0.75,
96
+ "min_period": 0.004,
97
+ "max_period": 4.0,
98
+ "rtc_config": null,
99
+ "compile_model": false,
100
+ "compile_mode": "max-autotune"
101
  }
train_config.json CHANGED
@@ -81,7 +81,7 @@
81
  },
82
  "env": null,
83
  "policy": {
84
- "type": "act",
85
  "n_obs_steps": 1,
86
  "input_features": {
87
  "observation.state": {
@@ -125,82 +125,116 @@
125
  },
126
  "device": "cuda",
127
  "use_amp": false,
128
- "use_peft": false,
129
  "push_to_hub": true,
130
  "repo_id": "hrl7/so101-move",
131
  "private": null,
132
  "tags": null,
133
  "license": null,
134
- "pretrained_path": null,
135
- "chunk_size": 100,
136
- "n_action_steps": 100,
137
  "normalization_mapping": {
138
- "VISUAL": "MEAN_STD",
139
  "STATE": "MEAN_STD",
140
  "ACTION": "MEAN_STD"
141
  },
142
- "vision_backbone": "resnet18",
143
- "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
144
- "replace_final_stride_with_dilation": false,
145
- "pre_norm": false,
146
- "dim_model": 512,
147
- "n_heads": 8,
148
- "dim_feedforward": 3200,
149
- "feedforward_activation": "relu",
150
- "n_encoder_layers": 4,
151
- "n_decoder_layers": 1,
152
- "use_vae": true,
153
- "latent_dim": 32,
154
- "n_vae_encoder_layers": 4,
155
- "temporal_ensemble_coeff": null,
156
- "dropout": 0.1,
157
- "kl_weight": 10.0,
158
- "optimizer_lr": 1e-05,
159
- "optimizer_weight_decay": 0.0001,
160
- "optimizer_lr_backbone": 1e-05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  },
162
- "output_dir": "outputs/train/act_so101_move",
163
- "job_name": "act_so101_move",
164
  "resume": false,
165
  "seed": 1000,
166
  "cudnn_deterministic": false,
167
- "num_workers": 6,
168
  "batch_size": 32,
169
- "steps": 5000,
170
  "eval_freq": 20000,
171
  "log_freq": 200,
172
  "tolerance_s": 0.0001,
173
  "save_checkpoint": true,
174
- "save_freq": 20000,
175
  "use_policy_training_preset": true,
176
  "optimizer": {
177
  "type": "adamw",
178
- "lr": 1e-05,
179
- "weight_decay": 0.0001,
180
- "grad_clip_norm": 10.0,
181
  "betas": [
182
  0.9,
183
- 0.999
184
  ],
185
  "eps": 1e-08
186
  },
187
- "scheduler": null,
 
 
 
 
 
 
188
  "eval": {
189
  "n_episodes": 50,
190
  "batch_size": 50,
191
  "use_async_envs": false
192
  },
193
  "wandb": {
194
- "enable": false,
195
  "disable_artifact": false,
196
  "project": "lerobot",
197
  "entity": null,
198
  "notes": null,
199
- "run_id": null,
200
  "mode": null,
201
  "add_tags": true
202
  },
203
- "peft": null,
 
 
 
 
 
 
204
  "use_rabc": false,
205
  "rabc_progress_path": null,
206
  "rabc_kappa": 0.01,
 
81
  },
82
  "env": null,
83
  "policy": {
84
+ "type": "smolvla",
85
  "n_obs_steps": 1,
86
  "input_features": {
87
  "observation.state": {
 
125
  },
126
  "device": "cuda",
127
  "use_amp": false,
128
+ "use_peft": true,
129
  "push_to_hub": true,
130
  "repo_id": "hrl7/so101-move",
131
  "private": null,
132
  "tags": null,
133
  "license": null,
134
+ "pretrained_path": "lerobot/smolvla_base",
135
+ "chunk_size": 50,
136
+ "n_action_steps": 50,
137
  "normalization_mapping": {
138
+ "VISUAL": "IDENTITY",
139
  "STATE": "MEAN_STD",
140
  "ACTION": "MEAN_STD"
141
  },
142
+ "max_state_dim": 32,
143
+ "max_action_dim": 32,
144
+ "resize_imgs_with_padding": [
145
+ 512,
146
+ 512
147
+ ],
148
+ "empty_cameras": 0,
149
+ "adapt_to_pi_aloha": false,
150
+ "use_delta_joint_actions_aloha": false,
151
+ "tokenizer_max_length": 48,
152
+ "num_steps": 10,
153
+ "use_cache": true,
154
+ "freeze_vision_encoder": true,
155
+ "train_expert_only": true,
156
+ "train_state_proj": true,
157
+ "optimizer_lr": 0.001,
158
+ "optimizer_betas": [
159
+ 0.9,
160
+ 0.95
161
+ ],
162
+ "optimizer_eps": 1e-08,
163
+ "optimizer_weight_decay": 1e-10,
164
+ "optimizer_grad_clip_norm": 10,
165
+ "scheduler_warmup_steps": 1000,
166
+ "scheduler_decay_steps": 30000,
167
+ "scheduler_decay_lr": 0.0001,
168
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
169
+ "load_vlm_weights": false,
170
+ "add_image_special_tokens": false,
171
+ "attention_mode": "cross_attn",
172
+ "prefix_length": -1,
173
+ "pad_language_to": "longest",
174
+ "num_expert_layers": -1,
175
+ "num_vlm_layers": 16,
176
+ "self_attn_every_n_layers": 2,
177
+ "expert_width_multiplier": 0.75,
178
+ "min_period": 0.004,
179
+ "max_period": 4.0,
180
+ "rtc_config": null,
181
+ "compile_model": false,
182
+ "compile_mode": "max-autotune"
183
  },
184
+ "output_dir": "outputs/train/smolvla_so101_move",
185
+ "job_name": "smolvla_so101_move",
186
  "resume": false,
187
  "seed": 1000,
188
  "cudnn_deterministic": false,
189
+ "num_workers": 4,
190
  "batch_size": 32,
191
+ "steps": 20000,
192
  "eval_freq": 20000,
193
  "log_freq": 200,
194
  "tolerance_s": 0.0001,
195
  "save_checkpoint": true,
196
+ "save_freq": 5000,
197
  "use_policy_training_preset": true,
198
  "optimizer": {
199
  "type": "adamw",
200
+ "lr": 0.001,
201
+ "weight_decay": 1e-10,
202
+ "grad_clip_norm": 10,
203
  "betas": [
204
  0.9,
205
+ 0.95
206
  ],
207
  "eps": 1e-08
208
  },
209
+ "scheduler": {
210
+ "type": "cosine_decay_with_warmup",
211
+ "num_warmup_steps": 1000,
212
+ "num_decay_steps": 30000,
213
+ "peak_lr": 0.001,
214
+ "decay_lr": 0.0001
215
+ },
216
  "eval": {
217
  "n_episodes": 50,
218
  "batch_size": 50,
219
  "use_async_envs": false
220
  },
221
  "wandb": {
222
+ "enable": true,
223
  "disable_artifact": false,
224
  "project": "lerobot",
225
  "entity": null,
226
  "notes": null,
227
+ "run_id": "dfe63xp3",
228
  "mode": null,
229
  "add_tags": true
230
  },
231
+ "peft": {
232
+ "target_modules": null,
233
+ "full_training_modules": null,
234
+ "method_type": "LORA",
235
+ "init_type": null,
236
+ "r": 16
237
+ },
238
  "use_rabc": false,
239
  "rabc_progress_path": null,
240
  "rabc_kappa": 0.01,