Instructions to use anikitakis/smolvla_task_a_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use anikitakis/smolvla_task_a_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=anikitakis/smolvla_task_a_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=anikitakis/smolvla_task_a_model - Notebooks
- Google Colab
- Kaggle
Upload policy weights, train config and readme
Browse files- config.json +2 -2
- model.safetensors +1 -1
- train_config.json +4 -4
config.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
"private": null,
|
| 66 |
"tags": null,
|
| 67 |
"license": null,
|
| 68 |
-
"pretrained_path": "
|
| 69 |
"chunk_size": 50,
|
| 70 |
"n_action_steps": 50,
|
| 71 |
"normalization_mapping": {
|
|
@@ -79,7 +79,7 @@
|
|
| 79 |
512,
|
| 80 |
512
|
| 81 |
],
|
| 82 |
-
"empty_cameras":
|
| 83 |
"adapt_to_pi_aloha": false,
|
| 84 |
"use_delta_joint_actions_aloha": false,
|
| 85 |
"tokenizer_max_length": 48,
|
|
|
|
| 65 |
"private": null,
|
| 66 |
"tags": null,
|
| 67 |
"license": null,
|
| 68 |
+
"pretrained_path": "outputs/train/smolvla_task_a_resume/checkpoints/002000/pretrained_model",
|
| 69 |
"chunk_size": 50,
|
| 70 |
"n_action_steps": 50,
|
| 71 |
"normalization_mapping": {
|
|
|
|
| 79 |
512,
|
| 80 |
512
|
| 81 |
],
|
| 82 |
+
"empty_cameras": 0,
|
| 83 |
"adapt_to_pi_aloha": false,
|
| 84 |
"use_delta_joint_actions_aloha": false,
|
| 85 |
"tokenizer_max_length": 48,
|
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:22b122ee39b8f6bf434a543197923c8d004e41ddc090a7e24f789c0f0be9a583
|
| 3 |
size 906712520
|
train_config.json
CHANGED
|
@@ -147,7 +147,7 @@
|
|
| 147 |
"private": null,
|
| 148 |
"tags": null,
|
| 149 |
"license": null,
|
| 150 |
-
"pretrained_path": "
|
| 151 |
"chunk_size": 50,
|
| 152 |
"n_action_steps": 50,
|
| 153 |
"normalization_mapping": {
|
|
@@ -161,7 +161,7 @@
|
|
| 161 |
512,
|
| 162 |
512
|
| 163 |
],
|
| 164 |
-
"empty_cameras":
|
| 165 |
"adapt_to_pi_aloha": false,
|
| 166 |
"use_delta_joint_actions_aloha": false,
|
| 167 |
"tokenizer_max_length": 48,
|
|
@@ -198,13 +198,13 @@
|
|
| 198 |
"compile_mode": "max-autotune"
|
| 199 |
},
|
| 200 |
"output_dir": "outputs/train/smolvla_task_a_resume2",
|
| 201 |
-
"job_name": "
|
| 202 |
"resume": false,
|
| 203 |
"seed": 1000,
|
| 204 |
"cudnn_deterministic": false,
|
| 205 |
"num_workers": 4,
|
| 206 |
"batch_size": 32,
|
| 207 |
-
"steps":
|
| 208 |
"eval_freq": 20000,
|
| 209 |
"log_freq": 100,
|
| 210 |
"tolerance_s": 0.0001,
|
|
|
|
| 147 |
"private": null,
|
| 148 |
"tags": null,
|
| 149 |
"license": null,
|
| 150 |
+
"pretrained_path": "outputs/train/smolvla_task_a_resume/checkpoints/002000/pretrained_model",
|
| 151 |
"chunk_size": 50,
|
| 152 |
"n_action_steps": 50,
|
| 153 |
"normalization_mapping": {
|
|
|
|
| 161 |
512,
|
| 162 |
512
|
| 163 |
],
|
| 164 |
+
"empty_cameras": 0,
|
| 165 |
"adapt_to_pi_aloha": false,
|
| 166 |
"use_delta_joint_actions_aloha": false,
|
| 167 |
"tokenizer_max_length": 48,
|
|
|
|
| 198 |
"compile_mode": "max-autotune"
|
| 199 |
},
|
| 200 |
"output_dir": "outputs/train/smolvla_task_a_resume2",
|
| 201 |
+
"job_name": "smolvla_task_a",
|
| 202 |
"resume": false,
|
| 203 |
"seed": 1000,
|
| 204 |
"cudnn_deterministic": false,
|
| 205 |
"num_workers": 4,
|
| 206 |
"batch_size": 32,
|
| 207 |
+
"steps": 1000,
|
| 208 |
"eval_freq": 20000,
|
| 209 |
"log_freq": 100,
|
| 210 |
"tolerance_s": 0.0001,
|