Run this model with HF Jobs
Run Alkatt/SmolVLA_PickStackSort_RedBlueCube on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Alkatt/SmolVLA_PickStackSort_RedBlueCube. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Alkatt/SmolVLA_PickStackSort_RedBlueCube on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Alkatt/SmolVLA_PickStackSort_RedBlueCube with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Alkatt/SmolVLA_PickStackSort_RedBlueCube 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=Alkatt/SmolVLA_PickStackSort_RedBlueCube \ --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=Alkatt/SmolVLA_PickStackSort_RedBlueCube - Notebooks
- Google Colab
- Kaggle
Upload policy weights, train config and readme
Browse filesFiles changed (4)
- README.mdAdded+63
- config.jsonAdded+101
- model.safetensorsAdded+3
- train_config.jsonAdded+239
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263---base_model: lerobot/smolvla_basedatasets: Alkatt/so_101_PickStackSort_RedBlueCubelibrary_name: lerobotlicense: apache-2.0model_name: smolvlapipeline_tag: roboticstags:- lerobot- robotics- smolvla---
# Model Card for smolvla
<!-- Provide a quick summary of what the model is/does. -->
[SmolVLA](https://huggingface.co/papers/2506.01844) is a compact, efficient vision-language-action model that achieves competitive performance at reduced computational costs and can be deployed on consumer-grade hardware.
This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
---
## How to Get Started with the Model
For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).Below is the short version on how to train and run inference/eval:
### Train from scratch
```bashlerobot-train \ --dataset.repo_id=${HF_USER}/<dataset> \ --policy.type=act \ --output_dir=outputs/train/<desired_policy_repo_id> \ --job_name=lerobot_training \ --policy.device=cuda \ --policy.repo_id=${HF_USER}/<desired_policy_repo_id> --wandb.enable=true```
_Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
### Evaluate the policy/run inference
```bashlerobot-record \ --robot.type=so100_follower \ --dataset.repo_id=<hf_user>/eval_<dataset> \ --policy.path=<hf_user>/<desired_policy_repo_id> \ --episodes=10```
Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
---
## Model Details
- **License:** apache-2.0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101{ "type": "smolvla", "n_obs_steps": 1, "input_features": { "observation.state": { "type": "STATE", "shape": [ 6 ] }, "observation.images.camera1": { "type": "VISUAL", "shape": [ 3, 480, 640 ] }, "observation.images.camera2": { "type": "VISUAL", "shape": [ 3, 480, 640 ] }, "observation.images.camera3": { "type": "VISUAL", "shape": [ 3, 480, 640 ] } }, "output_features": { "action": { "type": "ACTION", "shape": [ 6 ] } }, "device": "cuda", "use_amp": false, "use_peft": false, "push_to_hub": true, "repo_id": "Alkatt/SmolVLA_PickStackSort_RedBlueCube", "private": null, "tags": null, "license": null, "pretrained_path": "drive/MyDrive/SmolVLA_Training/SmolVLA_PickStackSort_RedBlueCube/checkpoints/150000/pretrained_model", "chunk_size": 50, "n_action_steps": 50, "normalization_mapping": { "VISUAL": "IDENTITY", "STATE": "MEAN_STD", "ACTION": "MEAN_STD" }, "max_state_dim": 32, "max_action_dim": 32, "resize_imgs_with_padding": [ 512, 512 ], "empty_cameras": 0, "adapt_to_pi_aloha": false, "use_delta_joint_actions_aloha": false, "tokenizer_max_length": 48, "num_steps": 10, "use_cache": true, "freeze_vision_encoder": true, "train_expert_only": true, "train_state_proj": true, "optimizer_lr": 0.0001, "optimizer_betas": [ 0.9, 0.95 ], "optimizer_eps": 1e-08, "optimizer_weight_decay": 1e-10, "optimizer_grad_clip_norm": 10.0, "scheduler_warmup_steps": 6000, "scheduler_decay_steps": 200000, "scheduler_decay_lr": 2.5e-06, "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct", "load_vlm_weights": false, "add_image_special_tokens": false, "attention_mode": "cross_attn", "prefix_length": -1, "pad_language_to": "longest", "num_expert_layers": -1, "num_vlm_layers": 16, "self_attn_every_n_layers": 2, "expert_width_multiplier": 0.75, "min_period": 0.004, "max_period": 4.0, "rtc_config": null, "compile_model": false, "compile_mode": "max-autotune"}123version https://git-lfs.github.com/spec/v1oid sha256:63f7a765cafcd39268d2abc5b8a89a97a76416e4c0781b34e16aae25920d3051size 1197789224123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239{ "dataset": { "repo_id": "Alkatt/so_101_PickStackSort_RedBlueCube", "root": null, "episodes": null, "image_transforms": { "enable": false, "max_num_transforms": 3, "random_order": false, "tfs": { "brightness": { "weight": 1.0, "type": "ColorJitter", "kwargs": { "brightness": [ 0.8, 1.2 ] } }, "contrast": { "weight": 1.0, "type": "ColorJitter", "kwargs": { "contrast": [ 0.8, 1.2 ] } }, "saturation": { "weight": 1.0, "type": "ColorJitter", "kwargs": { "saturation": [ 0.5, 1.5 ] } }, "hue": { "weight": 1.0, "type": "ColorJitter", "kwargs": { "hue": [ -0.05, 0.05 ] } }, "sharpness": { "weight": 1.0, "type": "SharpnessJitter", "kwargs": { "sharpness": [ 0.5, 1.5 ] } }, "affine": { "weight": 1.0, "type": "RandomAffine", "kwargs": { "degrees": [ -5.0, 5.0 ], "translate": [ 0.05, 0.05 ] } } } }, "revision": null, "use_imagenet_stats": true, "video_backend": "torchcodec", "streaming": false }, "env": null, "policy": { "type": "smolvla", "n_obs_steps": 1, "input_features": { "observation.state": { "type": "STATE", "shape": [ 6 ] }, "observation.images.camera1": { "type": "VISUAL", "shape": [ 3, 480, 640 ] }, "observation.images.camera2": { "type": "VISUAL", "shape": [ 3, 480, 640 ] }, "observation.images.camera3": { "type": "VISUAL", "shape": [ 3, 480, 640 ] } }, "output_features": { "action": { "type": "ACTION", "shape": [ 6 ] } }, "device": "cuda", "use_amp": false, "use_peft": false, "push_to_hub": true, "repo_id": "Alkatt/SmolVLA_PickStackSort_RedBlueCube", "private": null, "tags": null, "license": null, "pretrained_path": "drive/MyDrive/SmolVLA_Training/SmolVLA_PickStackSort_RedBlueCube/checkpoints/150000/pretrained_model", "chunk_size": 50, "n_action_steps": 50, "normalization_mapping": { "VISUAL": "IDENTITY", "STATE": "MEAN_STD", "ACTION": "MEAN_STD" }, "max_state_dim": 32, "max_action_dim": 32, "resize_imgs_with_padding": [ 512, 512 ], "empty_cameras": 0, "adapt_to_pi_aloha": false, "use_delta_joint_actions_aloha": false, "tokenizer_max_length": 48, "num_steps": 10, "use_cache": true, "freeze_vision_encoder": true, "train_expert_only": true, "train_state_proj": true, "optimizer_lr": 0.0001, "optimizer_betas": [ 0.9, 0.95 ], "optimizer_eps": 1e-08, "optimizer_weight_decay": 1e-10, "optimizer_grad_clip_norm": 10.0, "scheduler_warmup_steps": 6000, "scheduler_decay_steps": 200000, "scheduler_decay_lr": 2.5e-06, "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct", "load_vlm_weights": false, "add_image_special_tokens": false, "attention_mode": "cross_attn", "prefix_length": -1, "pad_language_to": "longest", "num_expert_layers": -1, "num_vlm_layers": 16, "self_attn_every_n_layers": 2, "expert_width_multiplier": 0.75, "min_period": 0.004, "max_period": 4.0, "rtc_config": null, "compile_model": false, "compile_mode": "max-autotune" }, "output_dir": "drive/MyDrive/SmolVLA_Training/SmolVLA_PickStackSort_RedBlueCube", "job_name": "SmolVLA_PickStackSort_RedBlueCube", "resume": true, "seed": 1000, "cudnn_deterministic": false, "num_workers": 4, "batch_size": 64, "steps": 200000, "eval_freq": 20000, "log_freq": 200, "tolerance_s": 0.0001, "save_checkpoint": true, "save_freq": 25000, "use_policy_training_preset": true, "optimizer": { "type": "adamw", "lr": 0.0001, "weight_decay": 1e-10, "grad_clip_norm": 10.0, "betas": [ 0.9, 0.95 ], "eps": 1e-08 }, "scheduler": { "type": "cosine_decay_with_warmup", "num_warmup_steps": 6000, "num_decay_steps": 200000, "peak_lr": 0.0001, "decay_lr": 2.5e-06 }, "eval": { "n_episodes": 50, "batch_size": 50, "use_async_envs": false }, "wandb": { "enable": true, "disable_artifact": false, "project": "lerobot", "entity": null, "notes": null, "run_id": "6d5594ce", "mode": null, "add_tags": true }, "peft": null, "use_rabc": false, "rabc_progress_path": null, "rabc_kappa": 0.01, "rabc_epsilon": 1e-06, "rabc_head_mode": "sparse", "rename_map": {}, "checkpoint_path": "drive/MyDrive/SmolVLA_Training/SmolVLA_PickStackSort_RedBlueCube/checkpoints/150000"}README.mdAdded+63
config.jsonAdded+101
model.safetensorsAdded+3
train_config.jsonAdded+239