Instructions to use yossi1212/so101-peg-insertion-smolvla with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use yossi1212/so101-peg-insertion-smolvla 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=yossi1212/so101-peg-insertion-smolvla \ --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=yossi1212/so101-peg-insertion-smolvla - Notebooks
- Google Colab
- Kaggle
SmolVLA fine-tuned for SO-101 peg-in-hole insertion (simulation)
Fine-tuned from lerobot/smolvla_base @ d9f33c94a60fb382c90dea2164c96845bd955e28 with LeRobot 0.6.1 on
1,076 domain-randomized MuJoCo demonstrations (173,683 frames). Vision encoder and language model frozen;
action expert and state/action projections trained (20k steps, batch 16, peak 4.62 GiB under a 7 GiB cap).
Inputs: observation.state (5 joints in degrees + gripper 0-100), observation.images.wrist / overhead
(480x640 RGB; renamed to camera2 / camera1 by the saved preprocessor), task "Insert the peg into the hole."
Output: absolute joint targets in the same units. Trained on rendered images only.
Code, evaluation and report: the accompanying repository (policy.py, evaluate.py).
Model tree for yossi1212/so101-peg-insertion-smolvla
Base model
HuggingFaceTB/SmolLM2-360M