Instructions to use denys1912/smolvla_cube_in_box_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use denys1912/smolvla_cube_in_box_v2 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=denys1912/smolvla_cube_in_box_v2 \ --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=denys1912/smolvla_cube_in_box_v2 - Notebooks
- Google Colab
- Kaggle
smolvla_cube_in_box_v2 โ current model
SmolVLA for the SO-101 arm, task "put the cube in the box". The root of this
repository holds run4's weights (object positions 1 and 2),
so that --policy.path=denys1912/smolvla_cube_in_box_v2 keeps working unchanged.
Each experiment lives in its own repository: LeRobot loads config.json from the
repo root only and cannot read subfolders, so filing the runs into folders inside
one repository would make them unloadable.
| run | data | best checkpoint | val loss |
|---|---|---|---|
| run5 | 166 episodes, four positions, stratified split | step 1500 | 0.17636 |
| run4 โ the weights in root | 86 episodes, positions 1โ2, stratified split | step 1250 | 0.16032 |
| run2 | 47 episodes, position 1 only | step 750 | 0.15922 |
The val losses are not comparable across runs: each holds out a different set of episodes (7 at one position, 13 across two, 25 across four). A higher number for a later run reflects a broader validation set, not a worse model.
Training code:
github.com/denysk19/vla_training โ a
custom loop over LeRobot components with the held-out validation that
lerobot-train does not have at all.
- Downloads last month
- 25
Model tree for denys1912/smolvla_cube_in_box_v2
Base model
lerobot/smolvla_base