Instructions to use Mehul2112/smolvla_black_cube_expert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Mehul2112/smolvla_black_cube_expert 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=Mehul2112/smolvla_black_cube_expert \ --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=Mehul2112/smolvla_black_cube_expert - Notebooks
- Google Colab
- Kaggle
SmolVLA — so100_black_cube (expert-only fine-tune)
Fine-tuned lerobot/smolvla_base on
Mehul2112/so100_black_cube_merged
(SO-100, single front camera, 130 episodes).
Recipe
- Mode: expert-only — VLM backbone frozen, action expert trained (
train_expert_only=true,freeze_vision_encoder=true). - Learnable params: ~100M of ~450M (action expert only).
- Batch size: 64 · AMP: bf16 · Optimizer LR: ~1e-4.
- Hardware: single RTX 4090 (24 GB).
Checkpoint
This repo holds the step-6000 checkpoint.
| Step | Train loss | Eval loss (15% held-out) |
|---|---|---|
| 2000 | 0.179 | 0.319 ← eval minimum |
| 4000 | 0.121 | 0.348 |
| 6000 | 0.090 | 0.418 |
Note: Eval loss reached its minimum at step 2000 and rose afterward (overfitting on a small 110-episode training split). The step-6000 checkpoint here has the lowest training loss but is past the generalization optimum; for best real-robot generalization, the step-2000 checkpoint is preferable.
Usage
from lerobot.policies.smolvla.modeling_smolvla import SmolVLAPolicy
policy = SmolVLAPolicy.from_pretrained("Mehul2112/smolvla_black_cube_expert")
- Downloads last month
- -
Model tree for Mehul2112/smolvla_black_cube_expert
Base model
lerobot/smolvla_base