Robotics
LeRobot
Safetensors
smolvla
joadv commited on
Commit
2490a87
·
verified ·
1 Parent(s): 581a5dc

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +5 -4
  2. config.json +43 -24
  3. model.safetensors +2 -2
  4. train_config.json +57 -32
README.md CHANGED
@@ -1,21 +1,22 @@
1
  ---
 
2
  datasets: joadv/so101-test
3
  library_name: lerobot
4
  license: apache-2.0
5
- model_name: act
6
  pipeline_tag: robotics
7
  tags:
8
  - lerobot
9
- - act
10
  - robotics
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: joadv/so101-test
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).
config.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "type": "act",
3
  "n_obs_steps": 1,
4
  "normalization_mapping": {
5
- "VISUAL": "MEAN_STD",
6
  "STATE": "MEAN_STD",
7
  "ACTION": "MEAN_STD"
8
  },
@@ -42,28 +42,47 @@
42
  "use_amp": false,
43
  "push_to_hub": true,
44
  "repo_id": "joadv/my_policy",
45
- "private": null,
46
  "tags": null,
47
  "license": null,
48
- "chunk_size": 100,
49
- "n_action_steps": 100,
50
- "vision_backbone": "resnet18",
51
- "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
52
- "replace_final_stride_with_dilation": false,
53
- "pre_norm": false,
54
- "dim_model": 512,
55
- "n_heads": 8,
56
- "dim_feedforward": 3200,
57
- "feedforward_activation": "relu",
58
- "n_encoder_layers": 4,
59
- "n_decoder_layers": 1,
60
- "use_vae": true,
61
- "latent_dim": 32,
62
- "n_vae_encoder_layers": 4,
63
- "temporal_ensemble_coeff": null,
64
- "dropout": 0.1,
65
- "kl_weight": 10.0,
66
- "optimizer_lr": 1e-05,
67
- "optimizer_weight_decay": 0.0001,
68
- "optimizer_lr_backbone": 1e-05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  }
 
1
  {
2
+ "type": "smolvla",
3
  "n_obs_steps": 1,
4
  "normalization_mapping": {
5
+ "VISUAL": "IDENTITY",
6
  "STATE": "MEAN_STD",
7
  "ACTION": "MEAN_STD"
8
  },
 
42
  "use_amp": false,
43
  "push_to_hub": true,
44
  "repo_id": "joadv/my_policy",
45
+ "private": true,
46
  "tags": null,
47
  "license": null,
48
+ "chunk_size": 50,
49
+ "n_action_steps": 50,
50
+ "max_state_dim": 32,
51
+ "max_action_dim": 32,
52
+ "resize_imgs_with_padding": [
53
+ 512,
54
+ 512
55
+ ],
56
+ "empty_cameras": 0,
57
+ "adapt_to_pi_aloha": false,
58
+ "use_delta_joint_actions_aloha": false,
59
+ "tokenizer_max_length": 48,
60
+ "num_steps": 10,
61
+ "use_cache": true,
62
+ "freeze_vision_encoder": true,
63
+ "train_expert_only": true,
64
+ "train_state_proj": true,
65
+ "optimizer_lr": 0.0001,
66
+ "optimizer_betas": [
67
+ 0.9,
68
+ 0.95
69
+ ],
70
+ "optimizer_eps": 1e-08,
71
+ "optimizer_weight_decay": 1e-10,
72
+ "optimizer_grad_clip_norm": 10.0,
73
+ "scheduler_warmup_steps": 1000,
74
+ "scheduler_decay_steps": 30000,
75
+ "scheduler_decay_lr": 2.5e-06,
76
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
77
+ "load_vlm_weights": true,
78
+ "add_image_special_tokens": false,
79
+ "attention_mode": "cross_attn",
80
+ "prefix_length": 0,
81
+ "pad_language_to": "max_length",
82
+ "num_expert_layers": 0,
83
+ "num_vlm_layers": 16,
84
+ "self_attn_every_n_layers": 2,
85
+ "expert_width_multiplier": 0.75,
86
+ "min_period": 0.004,
87
+ "max_period": 4.0
88
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ac271324e90c4994bb10902e114cb74f6dac08775ceb2078d67c2b60cff537c2
3
- size 206701064
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db24e18f5ae0097c54195de6717f1a94f55e6dae657e682cb6b9dee3a89ddd38
3
+ size 906713296
train_config.json CHANGED
@@ -66,10 +66,10 @@
66
  },
67
  "env": null,
68
  "policy": {
69
- "type": "act",
70
  "n_obs_steps": 1,
71
  "normalization_mapping": {
72
- "VISUAL": "MEAN_STD",
73
  "STATE": "MEAN_STD",
74
  "ACTION": "MEAN_STD"
75
  },
@@ -109,38 +109,57 @@
109
  "use_amp": false,
110
  "push_to_hub": true,
111
  "repo_id": "joadv/my_policy",
112
- "private": null,
113
  "tags": null,
114
  "license": null,
115
- "chunk_size": 100,
116
- "n_action_steps": 100,
117
- "vision_backbone": "resnet18",
118
- "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
119
- "replace_final_stride_with_dilation": false,
120
- "pre_norm": false,
121
- "dim_model": 512,
122
- "n_heads": 8,
123
- "dim_feedforward": 3200,
124
- "feedforward_activation": "relu",
125
- "n_encoder_layers": 4,
126
- "n_decoder_layers": 1,
127
- "use_vae": true,
128
- "latent_dim": 32,
129
- "n_vae_encoder_layers": 4,
130
- "temporal_ensemble_coeff": null,
131
- "dropout": 0.1,
132
- "kl_weight": 10.0,
133
- "optimizer_lr": 1e-05,
134
- "optimizer_weight_decay": 0.0001,
135
- "optimizer_lr_backbone": 1e-05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  },
137
- "output_dir": "outputs/train/act_so101_test",
138
- "job_name": "act_so101_test",
139
  "resume": false,
140
  "seed": 1000,
141
  "num_workers": 4,
142
- "batch_size": 8,
143
- "steps": 100000,
144
  "eval_freq": 20000,
145
  "log_freq": 200,
146
  "save_checkpoint": true,
@@ -148,16 +167,22 @@
148
  "use_policy_training_preset": true,
149
  "optimizer": {
150
  "type": "adamw",
151
- "lr": 1e-05,
152
- "weight_decay": 0.0001,
153
  "grad_clip_norm": 10.0,
154
  "betas": [
155
  0.9,
156
- 0.999
157
  ],
158
  "eps": 1e-08
159
  },
160
- "scheduler": null,
 
 
 
 
 
 
161
  "eval": {
162
  "n_episodes": 50,
163
  "batch_size": 50,
 
66
  },
67
  "env": null,
68
  "policy": {
69
+ "type": "smolvla",
70
  "n_obs_steps": 1,
71
  "normalization_mapping": {
72
+ "VISUAL": "IDENTITY",
73
  "STATE": "MEAN_STD",
74
  "ACTION": "MEAN_STD"
75
  },
 
109
  "use_amp": false,
110
  "push_to_hub": true,
111
  "repo_id": "joadv/my_policy",
112
+ "private": true,
113
  "tags": null,
114
  "license": null,
115
+ "chunk_size": 50,
116
+ "n_action_steps": 50,
117
+ "max_state_dim": 32,
118
+ "max_action_dim": 32,
119
+ "resize_imgs_with_padding": [
120
+ 512,
121
+ 512
122
+ ],
123
+ "empty_cameras": 0,
124
+ "adapt_to_pi_aloha": false,
125
+ "use_delta_joint_actions_aloha": false,
126
+ "tokenizer_max_length": 48,
127
+ "num_steps": 10,
128
+ "use_cache": true,
129
+ "freeze_vision_encoder": true,
130
+ "train_expert_only": true,
131
+ "train_state_proj": true,
132
+ "optimizer_lr": 0.0001,
133
+ "optimizer_betas": [
134
+ 0.9,
135
+ 0.95
136
+ ],
137
+ "optimizer_eps": 1e-08,
138
+ "optimizer_weight_decay": 1e-10,
139
+ "optimizer_grad_clip_norm": 10.0,
140
+ "scheduler_warmup_steps": 1000,
141
+ "scheduler_decay_steps": 30000,
142
+ "scheduler_decay_lr": 2.5e-06,
143
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
144
+ "load_vlm_weights": true,
145
+ "add_image_special_tokens": false,
146
+ "attention_mode": "cross_attn",
147
+ "prefix_length": 0,
148
+ "pad_language_to": "max_length",
149
+ "num_expert_layers": 0,
150
+ "num_vlm_layers": 16,
151
+ "self_attn_every_n_layers": 2,
152
+ "expert_width_multiplier": 0.75,
153
+ "min_period": 0.004,
154
+ "max_period": 4.0
155
  },
156
+ "output_dir": "outputs/train/my_smolvla",
157
+ "job_name": "my_smolvla_training",
158
  "resume": false,
159
  "seed": 1000,
160
  "num_workers": 4,
161
+ "batch_size": 64,
162
+ "steps": 20000,
163
  "eval_freq": 20000,
164
  "log_freq": 200,
165
  "save_checkpoint": true,
 
167
  "use_policy_training_preset": true,
168
  "optimizer": {
169
  "type": "adamw",
170
+ "lr": 0.0001,
171
+ "weight_decay": 1e-10,
172
  "grad_clip_norm": 10.0,
173
  "betas": [
174
  0.9,
175
+ 0.95
176
  ],
177
  "eps": 1e-08
178
  },
179
+ "scheduler": {
180
+ "type": "cosine_decay_with_warmup",
181
+ "num_warmup_steps": 1000,
182
+ "num_decay_steps": 30000,
183
+ "peak_lr": 0.0001,
184
+ "decay_lr": 2.5e-06
185
+ },
186
  "eval": {
187
  "n_episodes": 50,
188
  "batch_size": 50,