Instructions to use RonPlusSign/smolvla_multigpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use RonPlusSign/smolvla_multigpu 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=RonPlusSign/smolvla_multigpu \ --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=RonPlusSign/smolvla_multigpu - Notebooks
- Google Colab
- Kaggle
Upload policy weights, train config and readme
Browse files- config.json +1 -1
- model.safetensors +1 -1
- train_config.json +2 -2
config.json
CHANGED
|
@@ -86,7 +86,7 @@
|
|
| 86 |
"optimizer_weight_decay": 1e-10,
|
| 87 |
"optimizer_grad_clip_norm": 10.0,
|
| 88 |
"scheduler_warmup_steps": 1000,
|
| 89 |
-
"scheduler_decay_steps":
|
| 90 |
"scheduler_decay_lr": 2.5e-06,
|
| 91 |
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 92 |
"load_vlm_weights": true,
|
|
|
|
| 86 |
"optimizer_weight_decay": 1e-10,
|
| 87 |
"optimizer_grad_clip_norm": 10.0,
|
| 88 |
"scheduler_warmup_steps": 1000,
|
| 89 |
+
"scheduler_decay_steps": 150000,
|
| 90 |
"scheduler_decay_lr": 2.5e-06,
|
| 91 |
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 92 |
"load_vlm_weights": true,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 906712520
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3daf2baca7e5ec479218b9ce35eab24711ca785892f775a17cbf7ddd998126d
|
| 3 |
size 906712520
|
train_config.json
CHANGED
|
@@ -168,7 +168,7 @@
|
|
| 168 |
"optimizer_weight_decay": 1e-10,
|
| 169 |
"optimizer_grad_clip_norm": 10.0,
|
| 170 |
"scheduler_warmup_steps": 1000,
|
| 171 |
-
"scheduler_decay_steps":
|
| 172 |
"scheduler_decay_lr": 2.5e-06,
|
| 173 |
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 174 |
"load_vlm_weights": true,
|
|
@@ -189,7 +189,7 @@
|
|
| 189 |
"seed": 1000,
|
| 190 |
"num_workers": 4,
|
| 191 |
"batch_size": 32,
|
| 192 |
-
"steps":
|
| 193 |
"eval_freq": 20000,
|
| 194 |
"log_freq": 200,
|
| 195 |
"save_checkpoint": true,
|
|
|
|
| 168 |
"optimizer_weight_decay": 1e-10,
|
| 169 |
"optimizer_grad_clip_norm": 10.0,
|
| 170 |
"scheduler_warmup_steps": 1000,
|
| 171 |
+
"scheduler_decay_steps": 150000,
|
| 172 |
"scheduler_decay_lr": 2.5e-06,
|
| 173 |
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 174 |
"load_vlm_weights": true,
|
|
|
|
| 189 |
"seed": 1000,
|
| 190 |
"num_workers": 4,
|
| 191 |
"batch_size": 32,
|
| 192 |
+
"steps": 150000,
|
| 193 |
"eval_freq": 20000,
|
| 194 |
"log_freq": 200,
|
| 195 |
"save_checkpoint": true,
|