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
Document LeLab training and the patches it required
Browse files41 unmodified lines42434445454647484748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919241 unmodified lineslanguage weights come from the pretrained base rather than being randomlyinitialised.
## Camera key mapping## Trained with LeLab — and what had to be patched
The base checkpoint expects `camera1`/`camera2`/`camera3`, while the datasetrecords `top`/`wrist`. Training used:Training ran through [LeLab](https://github.com/huggingface/leLab)'s web UI, notthe LeRobot CLI. Out of the box that does **not** produce a fine-tune of`smolvla_base`, so the vendored LeLab used here carries three changes.
**1. Pass a base checkpoint.** LeLab builds its training command with`--policy.type` only. That is correct for ACT, which has no pretrained base, butfor SmolVLA it means LeRobot constructs the architecture with randomlyinitialised vision and language weights and trains only the action expert.Nothing looks wrong while it happens — the loss falls, checkpoints are written,inference runs — and LeRobot only warns about it on the PEFT path. The mismatchshows up solely as `policy.pretrained_path: null` in `train_config.json`.The patch adds a per-policy default and emits `--policy.path` instead.
**2. Use `=` form for policy arguments.** LeRobot's parser reads`--policy.path` only as `--policy.path=<value>` (`parse_arg` matches on the`--<name>=` prefix). Once a policy path is present, `get_cli_overrides("policy")`also strips every `--policy.*` argument, so a space-separated`--policy.device cuda` leaves a bare `cuda` behind and argparse rejects it. All`--policy.*` arguments are emitted as `--policy.x=y`.
**3. Resolve the base to a local path, and align camera keys.** Two more thingsbreak before training starts:
- On Windows, LeRobot turns `policy_path` into a `Path`, so the hub id `lerobot/smolvla_base` becomes `lerobot\smolvla_base` and the hub lookup fails. LeLab now resolves the base with `snapshot_download` and passes the local snapshot directory.- `smolvla_base` declares `camera1`/`camera2`/`camera3` as its image inputs, while this dataset records `top`/`wrist`, which fails feature validation. LeLab now reads the expected keys from the base `config.json`, reads the dataset keys from `meta/info.json`, and generates a `--rename_map`.
For this run that produced:
```observation.images.top -> observation.images.camera1observation.images.wrist -> observation.images.camera2```
Selecting **SmolVLA** in the LeLab training screen is enough; the basecheckpoint and the rename map are filled in by the backend. To train without apretrained base, pass an empty `policy_path`.
## Task string
The same sentence is stored in the dataset and must be supplied at inference:README.md+38-3