Instructions to use Heimrih/smolvla with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Heimrih/smolvla 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=Heimrih/smolvla \ --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=Heimrih/smolvla - Notebooks
- Google Colab
- Kaggle
Upload policy weights, train config and readme
Browse files- README.md +2 -2
- model.safetensors +1 -1
- train_config.json +2 -2
README.md
CHANGED
|
@@ -6,9 +6,9 @@ license: apache-2.0
|
|
| 6 |
model_name: smolvla
|
| 7 |
pipeline_tag: robotics
|
| 8 |
tags:
|
| 9 |
-
- smolvla
|
| 10 |
-
- lerobot
|
| 11 |
- robotics
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Model Card for smolvla
|
|
|
|
| 6 |
model_name: smolvla
|
| 7 |
pipeline_tag: robotics
|
| 8 |
tags:
|
|
|
|
|
|
|
| 9 |
- robotics
|
| 10 |
+
- lerobot
|
| 11 |
+
- smolvla
|
| 12 |
---
|
| 13 |
|
| 14 |
# Model Card for smolvla
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 906712520
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb9945ea4f2f140964cc2f8e7c966ab475647877696dd9ff8ad5ba875c253c89
|
| 3 |
size 906712520
|
train_config.json
CHANGED
|
@@ -81,7 +81,7 @@
|
|
| 81 |
},
|
| 82 |
"env": {
|
| 83 |
"type": "libero",
|
| 84 |
-
"task": "libero_spatial",
|
| 85 |
"fps": 30,
|
| 86 |
"features": {
|
| 87 |
"action": {
|
|
@@ -220,7 +220,7 @@
|
|
| 220 |
"min_period": 0.004,
|
| 221 |
"max_period": 4.0
|
| 222 |
},
|
| 223 |
-
"output_dir": "/po2/heimrih/new_libero/
|
| 224 |
"job_name": "libero_smolvla",
|
| 225 |
"resume": false,
|
| 226 |
"seed": 1000,
|
|
|
|
| 81 |
},
|
| 82 |
"env": {
|
| 83 |
"type": "libero",
|
| 84 |
+
"task": "libero_spatial,libero_object,libero_goal,libero_10",
|
| 85 |
"fps": 30,
|
| 86 |
"features": {
|
| 87 |
"action": {
|
|
|
|
| 220 |
"min_period": 0.004,
|
| 221 |
"max_period": 4.0
|
| 222 |
},
|
| 223 |
+
"output_dir": "/po2/heimrih/new_libero/smolvla15",
|
| 224 |
"job_name": "libero_smolvla",
|
| 225 |
"resume": false,
|
| 226 |
"seed": 1000,
|