Run this model with HF Jobs
Run THU98/smolvla_franka_5task_80k_gpu2 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/THU98/smolvla_franka_5task_80k_gpu2. 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/THU98/smolvla_franka_5task_80k_gpu2 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 THU98/smolvla_franka_5task_80k_gpu2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use THU98/smolvla_franka_5task_80k_gpu2 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=THU98/smolvla_franka_5task_80k_gpu2 \ --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=THU98/smolvla_franka_5task_80k_gpu2 - Notebooks
- Google Colab
- Kaggle
Upload SmolVLA Franka 5-task 80K checkpoint
Browse filesFiles changed (8)
- README.mdAdded+114
- config.jsonAdded+102
- model.safetensorsAdded+3
- policy_postprocessor.jsonAdded+32
- policy_postprocessor_step_0_unnormalizer_processor.safetensorsAdded+3
- policy_preprocessor.jsonAdded+91
- policy_preprocessor_step_5_normalizer_processor.safetensorsAdded+3
- train_config.jsonAdded+260
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114---library_name: lerobotlicense: apache-2.0base_model: lerobot/smolvla_basepipeline_tag: roboticslanguage: - enmodel_name: smolvlainference: falsetags: - lerobot - smolvla - robotics - vision-language-action - franka - imitation-learning---
# SmolVLA Franka 5-Task 80K
This is a task-specific SmolVLA policy fine-tuned from[`lerobot/smolvla_base`](https://huggingface.co/lerobot/smolvla_base) for fivelanguage-conditioned bimanual Franka manipulation tasks.
## Model details
- Architecture: SmolVLA (approximately 450M parameters)- Fine-tuned components: action expert and state projection (approximately 100M trainable parameters)- Observation: three RGB views, a language instruction, and a 16-dimensional robot state- Output: a 50-step action chunk with 16 action dimensions per step- Base vision-language model: `HuggingFaceTB/SmolVLM2-500M-Video-Instruct`- Framework: LeRobot
The three camera streams used during training were mapped as follows:
| Source field | Policy field || --- | --- || `observation.images.cam_high` | `observation.images.camera1` || `observation.images.cam_left_wrist` | `observation.images.camera2` || `observation.images.cam_right_wrist` | `observation.images.camera3` |
## Tasks
The training set contains 50 demonstrations for each task (250 episodes intotal):
1. Place the green bowl on top of the cabinet with the left arm.2. Place the green bowl on the blue plate with the left arm.3. Place the gray bowl on the green plate with the left arm.4. Place the cup on the tray with the left arm.5. Place the tape in the green basket with the left arm.
## Training data
The policy was trained on a local LeRobot v3 dataset identified as`thu98/smolvla_franka_5task_train`.
- Episodes: 250- Frames: 58,142- Frequency: 20 FPS- Independent validation split: none; all 250 episodes were used for training
## Training configuration
| Setting | Value || --- | --- || Training steps | 80,000 || Batch size | 16 || Precision | bfloat16 training autocast || Optimizer | AdamW || Peak learning rate | 1e-4 || Warmup | 1,000 steps || Decay | cosine, 30,000 steps to 2.5e-6 || Weight decay | 1e-10 || Gradient clipping | 10 || Image augmentation | disabled || Checkpoint interval | 1,000 steps || Training GPU | one NVIDIA GPU |
The final logged training loss was approximately 0.031. This is an optimizationmetric and should not be interpreted as task success rate.
## Usage
Install a compatible version of[`lerobot`](https://github.com/huggingface/lerobot), then load the policy with:
```pythonfrom lerobot.policies.smolvla.modeling_smolvla import SmolVLAPolicy
policy = SmolVLAPolicy.from_pretrained( "THU98/smolvla_franka_5task_80k_gpu2")```
At inference time, observations must follow the same camera mapping, robot-stateordering, action ordering, and language-instruction convention used fortraining. The 16 state/action dimensions are ordered as seven left-arm joints,left gripper closedness, seven right-arm joints, and right gripper closedness.
## Evaluation and limitations
This checkpoint has not been evaluated on a held-out validation set or reportedwith real-robot task success rates. It is specialized for the training robot,camera placement, scene layout, objects, and instruction phrasing. Performanceunder distribution shift is unknown. Validate safety constraints and tasksuccess in a controlled environment before real-robot deployment.
## Citation
This checkpoint is derived from SmolVLA. Please refer to the base model card andthe LeRobot project for the appropriate citation and attribution.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102{ "type": "smolvla", "n_obs_steps": 1, "input_features": { "observation.state": { "type": "STATE", "shape": [ 16 ] }, "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": [ 16 ] } }, "device": "cuda", "use_amp": false, "use_peft": false, "push_to_hub": false, "repo_id": null, "private": null, "tags": null, "license": null, "pretrained_path": "/data3/huangziheng/projects/smolvla-workspace/outputs/smolvla_franka_5task_80k_gpu2/checkpoints/029000/pretrained_model", "pretrained_revision": null, "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:d2afa94795c673099b0c5ddafa6353d4162bb2a8d59d86c440fd7af492b49ab6size 9067125201234567891011121314151617181920212223242526272829303132{ "name": "policy_postprocessor", "steps": [ { "registry_name": "unnormalizer_processor", "config": { "eps": 1e-08, "features": { "action": { "type": "ACTION", "shape": [ 16 ] } }, "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:7f4b4169d2c0ed89433e93e029652ae9a46b6398bfae1b21a4b2a355aa6c2f84size 468812345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091{ "name": "policy_preprocessor", "steps": [ { "registry_name": "rename_observations_processor", "config": { "rename_map": { "observation.images.cam_high": "observation.images.camera1", "observation.images.cam_left_wrist": "observation.images.camera2", "observation.images.cam_right_wrist": "observation.images.camera3" } } }, { "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": [ 16 ] }, "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": [ 16 ] } }, "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:7f4b4169d2c0ed89433e93e029652ae9a46b6398bfae1b21a4b2a355aa6c2f84size 4688123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260{ "dataset": { "repo_id": "thu98/smolvla_franka_5task_train", "root": "/data3/huangziheng/projects/smolvla-workspace/data/thu98/smolvla_franka_5task_train", "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, "depth_output_unit": "mm", "streaming": false, "eval_split": 0.0 }, "env": null, "policy": { "type": "smolvla", "n_obs_steps": 1, "input_features": { "observation.state": { "type": "STATE", "shape": [ 16 ] }, "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": [ 16 ] } }, "device": "cuda", "use_amp": false, "use_peft": false, "push_to_hub": false, "repo_id": null, "private": null, "tags": null, "license": null, "pretrained_path": "/data3/huangziheng/projects/smolvla-workspace/outputs/smolvla_franka_5task_80k_gpu2/checkpoints/029000/pretrained_model", "pretrained_revision": null, "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": "/data3/huangziheng/projects/smolvla-workspace/outputs/smolvla_franka_5task_80k_gpu2", "job_name": "smolvla_franka_5task_80k_gpu2", "resume": true, "seed": 1000, "cudnn_deterministic": false, "num_workers": 4, "batch_size": 16, "prefetch_factor": 4, "persistent_workers": false, "dataloader_multiprocessing_context": "spawn", "steps": 80000, "env_eval_freq": 20000, "log_freq": 20, "eval_steps": 0, "max_eval_samples": 0, "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": 50, "batch_size": 50, "use_async_envs": true, "recording": false, "recording_repo_id": null, "recording_private": false }, "wandb": { "enable": true, "disable_artifact": false, "project": "smolvla-franka", "entity": null, "notes": null, "run_id": "zjbui8hi", "mode": "offline", "add_tags": true }, "peft": null, "job": { "target": null, "image": "huggingface/lerobot-gpu:latest", "timeout": "2d", "detach": false, "tags": [] }, "save_checkpoint_to_hub": false, "sample_weighting": null, "rename_map": { "observation.images.cam_high": "observation.images.camera1", "observation.images.cam_left_wrist": "observation.images.camera2", "observation.images.cam_right_wrist": "observation.images.camera3" }, "checkpoint_path": "/data3/huangziheng/projects/smolvla-workspace/outputs/smolvla_franka_5task_80k_gpu2/checkpoints/029000"}README.mdAdded+114
config.jsonAdded+102
model.safetensorsAdded+3
policy_postprocessor.jsonAdded+32
policy_postprocessor_step_0_unnormalizer_processor.safetensorsAdded+3
policy_preprocessor.jsonAdded+91
policy_preprocessor_step_5_normalizer_processor.safetensorsAdded+3
train_config.jsonAdded+260