Instructions to use Dimios45/smolvla1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Dimios45/smolvla1 with LeRobot:
# See https://github.com/huggingface/lerobot?tab=readme-ov-file#installation for more details git clone https://github.com/huggingface/lerobot.git cd lerobot pip install -e .[smolvla]
# Launch finetuning on your dataset python lerobot/scripts/train.py \ --policy.path=Dimios45/smolvla1 \ --dataset.repo_id=lerobot/svla_so101_pickplace \ --batch_size=64 \ --steps=20000 \ --output_dir=outputs/train/my_smolvla \ --job_name=my_smolvla_training \ --policy.device=cuda \ --wandb.enable=true
# Run the policy using the record function python -m lerobot.record \ --robot.type=so101_follower \ --robot.port=/dev/ttyACM0 \ # <- Use your port --robot.id=my_blue_follower_arm \ # <- Use your robot id --robot.cameras="{ front: {type: opencv, index_or_path: 8, width: 640, height: 480, fps: 30}}" \ # <- Use your cameras --dataset.single_task="Grasp a lego block and put it in the bin." \ # <- Use the same task description you used in your dataset recording --dataset.repo_id=HF_USER/dataset_name \ # <- This will be the dataset name on HF Hub --dataset.episode_time_s=50 \ --dataset.num_episodes=10 \ --policy.path=Dimios45/smolvla1 - Notebooks
- Google Colab
- Kaggle
Upload policy weights, train config and readme
Browse files- README.md +1 -1
- config.json +2 -2
- model.safetensors +1 -1
- train_config.json +5 -5
README.md
CHANGED
|
@@ -6,9 +6,9 @@ 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
|
|
|
|
| 6 |
model_name: smolvla
|
| 7 |
pipeline_tag: robotics
|
| 8 |
tags:
|
|
|
|
| 9 |
- smolvla
|
| 10 |
- robotics
|
| 11 |
+
- lerobot
|
| 12 |
---
|
| 13 |
|
| 14 |
# Model Card for smolvla
|
config.json
CHANGED
|
@@ -32,7 +32,7 @@
|
|
| 32 |
"private": null,
|
| 33 |
"tags": null,
|
| 34 |
"license": null,
|
| 35 |
-
"pretrained_path":
|
| 36 |
"chunk_size": 50,
|
| 37 |
"n_action_steps": 50,
|
| 38 |
"normalization_mapping": {
|
|
@@ -62,7 +62,7 @@
|
|
| 62 |
],
|
| 63 |
"optimizer_eps": 1e-08,
|
| 64 |
"optimizer_weight_decay": 1e-10,
|
| 65 |
-
"optimizer_grad_clip_norm": 10,
|
| 66 |
"scheduler_warmup_steps": 1000,
|
| 67 |
"scheduler_decay_steps": 30000,
|
| 68 |
"scheduler_decay_lr": 2.5e-06,
|
|
|
|
| 32 |
"private": null,
|
| 33 |
"tags": null,
|
| 34 |
"license": null,
|
| 35 |
+
"pretrained_path": "outputs/train/smolvla1/checkpoints/last/pretrained_model",
|
| 36 |
"chunk_size": 50,
|
| 37 |
"n_action_steps": 50,
|
| 38 |
"normalization_mapping": {
|
|
|
|
| 62 |
],
|
| 63 |
"optimizer_eps": 1e-08,
|
| 64 |
"optimizer_weight_decay": 1e-10,
|
| 65 |
+
"optimizer_grad_clip_norm": 10.0,
|
| 66 |
"scheduler_warmup_steps": 1000,
|
| 67 |
"scheduler_decay_steps": 30000,
|
| 68 |
"scheduler_decay_lr": 2.5e-06,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1197789224
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32579685d79e6272fb6e65e4a5f28a70cc4a74fd215448b9972d8d19c7d9373e
|
| 3 |
size 1197789224
|
train_config.json
CHANGED
|
@@ -114,7 +114,7 @@
|
|
| 114 |
"private": null,
|
| 115 |
"tags": null,
|
| 116 |
"license": null,
|
| 117 |
-
"pretrained_path":
|
| 118 |
"chunk_size": 50,
|
| 119 |
"n_action_steps": 50,
|
| 120 |
"normalization_mapping": {
|
|
@@ -144,7 +144,7 @@
|
|
| 144 |
],
|
| 145 |
"optimizer_eps": 1e-08,
|
| 146 |
"optimizer_weight_decay": 1e-10,
|
| 147 |
-
"optimizer_grad_clip_norm": 10,
|
| 148 |
"scheduler_warmup_steps": 1000,
|
| 149 |
"scheduler_decay_steps": 30000,
|
| 150 |
"scheduler_decay_lr": 2.5e-06,
|
|
@@ -163,7 +163,7 @@
|
|
| 163 |
},
|
| 164 |
"output_dir": "outputs/train/smolvla1",
|
| 165 |
"job_name": "smolvla_santra",
|
| 166 |
-
"resume":
|
| 167 |
"seed": 1000,
|
| 168 |
"num_workers": 4,
|
| 169 |
"batch_size": 8,
|
|
@@ -177,7 +177,7 @@
|
|
| 177 |
"type": "adamw",
|
| 178 |
"lr": 0.0001,
|
| 179 |
"weight_decay": 1e-10,
|
| 180 |
-
"grad_clip_norm": 10,
|
| 181 |
"betas": [
|
| 182 |
0.9,
|
| 183 |
0.95
|
|
@@ -205,6 +205,6 @@
|
|
| 205 |
"run_id": "ba762whj",
|
| 206 |
"mode": null
|
| 207 |
},
|
| 208 |
-
"checkpoint_path":
|
| 209 |
"rename_map": {}
|
| 210 |
}
|
|
|
|
| 114 |
"private": null,
|
| 115 |
"tags": null,
|
| 116 |
"license": null,
|
| 117 |
+
"pretrained_path": "outputs/train/smolvla1/checkpoints/last/pretrained_model",
|
| 118 |
"chunk_size": 50,
|
| 119 |
"n_action_steps": 50,
|
| 120 |
"normalization_mapping": {
|
|
|
|
| 144 |
],
|
| 145 |
"optimizer_eps": 1e-08,
|
| 146 |
"optimizer_weight_decay": 1e-10,
|
| 147 |
+
"optimizer_grad_clip_norm": 10.0,
|
| 148 |
"scheduler_warmup_steps": 1000,
|
| 149 |
"scheduler_decay_steps": 30000,
|
| 150 |
"scheduler_decay_lr": 2.5e-06,
|
|
|
|
| 163 |
},
|
| 164 |
"output_dir": "outputs/train/smolvla1",
|
| 165 |
"job_name": "smolvla_santra",
|
| 166 |
+
"resume": true,
|
| 167 |
"seed": 1000,
|
| 168 |
"num_workers": 4,
|
| 169 |
"batch_size": 8,
|
|
|
|
| 177 |
"type": "adamw",
|
| 178 |
"lr": 0.0001,
|
| 179 |
"weight_decay": 1e-10,
|
| 180 |
+
"grad_clip_norm": 10.0,
|
| 181 |
"betas": [
|
| 182 |
0.9,
|
| 183 |
0.95
|
|
|
|
| 205 |
"run_id": "ba762whj",
|
| 206 |
"mode": null
|
| 207 |
},
|
| 208 |
+
"checkpoint_path": "outputs/train/smolvla1/checkpoints/last",
|
| 209 |
"rename_map": {}
|
| 210 |
}
|