hungho77/so101-multitask
SO-101 • Updated • 143 episodes • 159
How to use quangnd58/smolvla-so101-multitask 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=quangnd58/smolvla-so101-multitask \ --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=quangnd58/smolvla-so101-multitasklerobot/smolvla_base finetuned on hungho77/so101-multitask (SO-101 arm, 3 tasks).
lerobot/smolvla_basehungho77/so101-multitask (LeRobot v3.0, used as-is)v0.6.1 (lerobot-train, docs/source/smolvla.mdx)| Cameras | observation.images.top → camera1, observation.images.wrist → camera2 (rename map stored in the preprocessor) |
| State / action | 6-D joint positions (shoulder_pan … gripper), LeRobot .pos units |
| Chunk size | 50 |
Name the robot cameras top and wrist, as in the recording setup.
Tasks (use these prompts verbatim):
Pick up the banana and place it in the bot, then close the lidPick blue cube and place on red cubePick all cubes and place into cupfrom lerobot.policies.smolvla.modeling_smolvla import SmolVLAPolicy
policy = SmolVLAPolicy.from_pretrained("quangnd58/smolvla-so101-multitask")
On the robot, pass --policy.path=quangnd58/smolvla-so101-multitask to lerobot-record.
Base model
HuggingFaceTB/SmolLM2-360M