Instructions to use wzn12/critic_warmup_smolvla_ring with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use wzn12/critic_warmup_smolvla_ring 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=wzn12/critic_warmup_smolvla_ring \ --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=wzn12/critic_warmup_smolvla_ring - Notebooks
- Google Colab
- Kaggle
| { | |
| "job_name": "critic_warmup_smolvla_ring", | |
| "output_dir": "outputs/train/critic_warmup_smolvla_ring", | |
| "seed": 42, | |
| "dataset_repo_id": "wzn12/teleop_ring_labeled", | |
| "max_samples": 4000, | |
| "train_test_split": 0.8, | |
| "batch_size": 48, | |
| "epochs": 20, | |
| "num_workers": 4, | |
| "learning_rate": 0.0003, | |
| "weight_decay": 0.0001, | |
| "grad_clip_norm": 1.0, | |
| "scheduler_step_size": 2, | |
| "scheduler_gamma": 0.9, | |
| "log_freq": 10, | |
| "save_freq": 1, | |
| "eval_freq": 2, | |
| "wandb_enable": true, | |
| "wandb_project": "lerobot_critic_warmup", | |
| "wandb_entity": null, | |
| "wandb_notes": "Critic offline warmup training for SmolVLA-SAC policy", | |
| "wandb_tags": [ | |
| "critic", | |
| "warmup", | |
| "smolvla", | |
| "ring" | |
| ], | |
| "push_to_hub": true, | |
| "repo_id": "wzn12/critic_warmup_smolvla_ring" | |
| } |