Run this model with HF Jobs
Run makepluscode/pick_red_30k 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/makepluscode/pick_red_30k. 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/makepluscode/pick_red_30k 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 makepluscode/pick_red_30k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use makepluscode/pick_red_30k 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=makepluscode/pick_red_30k \ --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=makepluscode/pick_red_30k - Notebooks
- Google Colab
- Kaggle
Add SmolVLA fine-tuned from smolvla_base, 30k steps on pick_red
Browse filesFiles changed (8)
- README.mdAdded+68
- config.jsonAdded+101
- model.safetensorsAdded+3
- policy_postprocessor.jsonAdded+32
- policy_postprocessor_step_0_unnormalizer_processor.safetensorsAdded+3
- policy_preprocessor.jsonAdded+90
- policy_preprocessor_step_5_normalizer_processor.safetensorsAdded+3
- train_config.jsonAdded+242
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768---license: apache-2.0base_model: lerobot/smolvla_basedatasets: - makepluscode/pick_redlibrary_name: lerobotpipeline_tag: roboticstags: - robotics - lerobot - smolvla - so101 - pick-and-place---
# pick_red_30k
SmolVLA fine-tuned from `lerobot/smolvla_base` on[`makepluscode/pick_red`](https://huggingface.co/datasets/makepluscode/pick_red)for the SO-ARM 101 red-block pick-and-place task. Trained through LeLab.
Companion checkpoint for Part 4 of the book *VLA 로보틱스 입문서*.
## Training
| | ||---|---|| Base checkpoint | `lerobot/smolvla_base` || Dataset | `makepluscode/pick_red` — 50 episodes, 27,346 frames || Steps | 30,000 || Batch size | 8 || Optimizer | AdamW, lr 1e-4, cosine decay with warmup || Start loss | 0.450 (step 250) || Final loss | 0.065 || Loss plateau | from ~25,000 steps || Hardware | RTX 3060 12GB, CUDA 12.6 || Wall time | ~3 h 35 min || LeRobot | 0.5.2 (`82dffde`) |
`train_config.json` records `policy.pretrained_path` pointing at the`lerobot/smolvla_base` snapshot, and `load_vlm_weights: true` — the vision andlanguage weights come from the pretrained base rather than being randomlyinitialised.
## Camera key mapping
The base checkpoint expects `camera1`/`camera2`/`camera3`, while the datasetrecords `top`/`wrist`. Training used:
```observation.images.top -> observation.images.camera1observation.images.wrist -> observation.images.camera2```
## Task string
The same sentence is stored in the dataset and must be supplied at inference:
```빨간 블록을 집어서 노란색 매트에 놓는다.```
## Evaluation
Evaluated on the real SO-ARM 101 with the block placed at a single fixed startposition — the same condition the demonstrations were collected under. Resultsare in-distribution and should not be read as evidence of visual or positionalgeneralisation.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101{
"type": "smolvla",
"n_obs_steps": 1,
"input_features": {
"observation.state": {
"type": "STATE",
"shape": [
6
]
},
"observation.images.camera1": {
"type": "VISUAL",
"shape": [
3,
256,
256
]
},
"observation.images.camera2": {
"type": "VISUAL",
"shape": [
3,
256,
256
]
},
"observation.images.camera3": {
"type": "VISUAL",
"shape": [
3,
256,
256
]
}
},
"output_features": {
"action": {
"type": "ACTION",
"shape": [
6
]
}
},
"device": "cuda",
"use_amp": false,
"use_peft": false,
"push_to_hub": false,
"repo_id": null,
"private": null,
"tags": null,
"license": null,
"pretrained_path": "C:\\Users\\bginess\\.cache\\huggingface\\hub\\models--lerobot--smolvla_base\\snapshots\\c83c3163b8ca9b7e67c509fffd9121e66cb96205",
"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": 1000,
"scheduler_decay_steps": 30000,
"scheduler_decay_lr": 2.5e-06,
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
"load_vlm_weights": true,
"add_image_special_tokens": false,
"attention_mode": "cross_attn",
"prefix_length": 0,
"pad_language_to": "max_length",
"num_expert_layers": 0,
"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:d6841a78f1c1cafce3f1a6261b03133d155a20e00354ac090ccc3580717e8f7fsize 9067125201234567891011121314151617181920212223242526272829303132{
"name": "policy_postprocessor",
"steps": [
{
"registry_name": "unnormalizer_processor",
"config": {
"eps": 1e-08,
"features": {
"action": {
"type": "ACTION",
"shape": [
6
]
}
},
"norm_map": {
"VISUAL": "IDENTITY",
"STATE": "MEAN_STD",
"ACTION": "MEAN_STD"
}
},
"state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
},
{
"registry_name": "device_processor",
"config": {
"device": "cpu",
"float_dtype": null
}
}
]
}123version https://git-lfs.github.com/spec/v1oid sha256:c8aebdabe6593e25d0b8961bebaf6505ad435d099a8f0a90bf4fe798b114668asize 7536123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990{
"name": "policy_preprocessor",
"steps": [
{
"registry_name": "rename_observations_processor",
"config": {
"rename_map": {
"observation.images.top": "observation.images.camera1",
"observation.images.wrist": "observation.images.camera2"
}
}
},
{
"registry_name": "to_batch_processor",
"config": {}
},
{
"registry_name": "smolvla_new_line_processor",
"config": {}
},
{
"registry_name": "tokenizer_processor",
"config": {
"max_length": 48,
"task_key": "task",
"padding_side": "right",
"padding": "max_length",
"truncation": true,
"tokenizer_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct"
}
},
{
"registry_name": "device_processor",
"config": {
"device": "cuda",
"float_dtype": null
}
},
{
"registry_name": "normalizer_processor",
"config": {
"eps": 1e-08,
"features": {
"observation.state": {
"type": "STATE",
"shape": [
6
]
},
"observation.images.camera1": {
"type": "VISUAL",
"shape": [
3,
256,
256
]
},
"observation.images.camera2": {
"type": "VISUAL",
"shape": [
3,
256,
256
]
},
"observation.images.camera3": {
"type": "VISUAL",
"shape": [
3,
256,
256
]
},
"action": {
"type": "ACTION",
"shape": [
6
]
}
},
"norm_map": {
"VISUAL": "IDENTITY",
"STATE": "MEAN_STD",
"ACTION": "MEAN_STD"
}
},
"state_file": "policy_preprocessor_step_5_normalizer_processor.safetensors"
}
]
}123version https://git-lfs.github.com/spec/v1oid sha256:c8aebdabe6593e25d0b8961bebaf6505ad435d099a8f0a90bf4fe798b114668asize 7536123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242{
"dataset": {
"repo_id": "makepluscode/pick_red",
"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": "pyav",
"return_uint8": false,
"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,
256,
256
]
},
"observation.images.camera2": {
"type": "VISUAL",
"shape": [
3,
256,
256
]
},
"observation.images.camera3": {
"type": "VISUAL",
"shape": [
3,
256,
256
]
}
},
"output_features": {
"action": {
"type": "ACTION",
"shape": [
6
]
}
},
"device": "cuda",
"use_amp": false,
"use_peft": false,
"push_to_hub": false,
"repo_id": null,
"private": null,
"tags": null,
"license": null,
"pretrained_path": "C:\\Users\\bginess\\.cache\\huggingface\\hub\\models--lerobot--smolvla_base\\snapshots\\c83c3163b8ca9b7e67c509fffd9121e66cb96205",
"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": 1000,
"scheduler_decay_steps": 30000,
"scheduler_decay_lr": 2.5e-06,
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
"load_vlm_weights": true,
"add_image_special_tokens": false,
"attention_mode": "cross_attn",
"prefix_length": 0,
"pad_language_to": "max_length",
"num_expert_layers": 0,
"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"
},
"reward_model": null,
"output_dir": "E:\\LeLab\\outputs\\smolvla_makepluscode_pick_red_2026-07-25_23-14-30\\run",
"job_name": "smolvla",
"resume": false,
"seed": 1000,
"cudnn_deterministic": false,
"num_workers": 4,
"batch_size": 8,
"prefetch_factor": 4,
"persistent_workers": true,
"steps": 30000,
"eval_freq": 0,
"log_freq": 250,
"tolerance_s": 0.0001,
"save_checkpoint": true,
"save_freq": 1000,
"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": 1000,
"num_decay_steps": 30000,
"peak_lr": 0.0001,
"decay_lr": 2.5e-06
},
"eval": {
"n_episodes": 10,
"batch_size": 10,
"use_async_envs": false
},
"wandb": {
"enable": false,
"disable_artifact": false,
"project": "lerobot",
"entity": null,
"notes": null,
"run_id": null,
"mode": null,
"add_tags": true
},
"peft": null,
"sample_weighting": null,
"rename_map": {
"observation.images.top": "observation.images.camera1",
"observation.images.wrist": "observation.images.camera2"
},
"checkpoint_path": null
}README.mdAdded+68
config.jsonAdded+101
model.safetensorsAdded+3
policy_postprocessor.jsonAdded+32
policy_postprocessor_step_0_unnormalizer_processor.safetensorsAdded+3
policy_preprocessor.jsonAdded+90
policy_preprocessor_step_5_normalizer_processor.safetensorsAdded+3
train_config.jsonAdded+242