Instructions to use JerryCherryUryXey/lerobot_svla_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use JerryCherryUryXey/lerobot_svla_model 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=JerryCherryUryXey/lerobot_svla_model \ --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=JerryCherryUryXey/lerobot_svla_model - Notebooks
- Google Colab
- Kaggle
Upload policy weights, train config and readme
Browse files- README.md +1 -1
- config.json +1 -1
- model.safetensors +2 -2
- train_config.json +1 -1
README.md
CHANGED
|
@@ -6,8 +6,8 @@ license: apache-2.0
|
|
| 6 |
model_name: smolvla
|
| 7 |
pipeline_tag: robotics
|
| 8 |
tags:
|
| 9 |
-
- lerobot
|
| 10 |
- smolvla
|
|
|
|
| 11 |
- robotics
|
| 12 |
---
|
| 13 |
|
|
|
|
| 6 |
model_name: smolvla
|
| 7 |
pipeline_tag: robotics
|
| 8 |
tags:
|
|
|
|
| 9 |
- smolvla
|
| 10 |
+
- lerobot
|
| 11 |
- robotics
|
| 12 |
---
|
| 13 |
|
config.json
CHANGED
|
@@ -74,7 +74,7 @@
|
|
| 74 |
"scheduler_decay_steps": 30000,
|
| 75 |
"scheduler_decay_lr": 2.5e-06,
|
| 76 |
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 77 |
-
"load_vlm_weights":
|
| 78 |
"add_image_special_tokens": false,
|
| 79 |
"attention_mode": "cross_attn",
|
| 80 |
"prefix_length": 0,
|
|
|
|
| 74 |
"scheduler_decay_steps": 30000,
|
| 75 |
"scheduler_decay_lr": 2.5e-06,
|
| 76 |
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 77 |
+
"load_vlm_weights": false,
|
| 78 |
"add_image_special_tokens": false,
|
| 79 |
"attention_mode": "cross_attn",
|
| 80 |
"prefix_length": 0,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8b468cd08484fa96817476eb3232cf45ceca80c9fa0150bc5d4a5aab603b2b0
|
| 3 |
+
size 1197790016
|
train_config.json
CHANGED
|
@@ -141,7 +141,7 @@
|
|
| 141 |
"scheduler_decay_steps": 30000,
|
| 142 |
"scheduler_decay_lr": 2.5e-06,
|
| 143 |
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 144 |
-
"load_vlm_weights":
|
| 145 |
"add_image_special_tokens": false,
|
| 146 |
"attention_mode": "cross_attn",
|
| 147 |
"prefix_length": 0,
|
|
|
|
| 141 |
"scheduler_decay_steps": 30000,
|
| 142 |
"scheduler_decay_lr": 2.5e-06,
|
| 143 |
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 144 |
+
"load_vlm_weights": false,
|
| 145 |
"add_image_special_tokens": false,
|
| 146 |
"attention_mode": "cross_attn",
|
| 147 |
"prefix_length": 0,
|