Instructions to use TomasAnderegg/pill_sorting_post_trained with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use TomasAnderegg/pill_sorting_post_trained 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=TomasAnderegg/pill_sorting_post_trained \ --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=TomasAnderegg/pill_sorting_post_trained - Notebooks
- Google Colab
- Kaggle
checkpoint 000050
Browse files- checkpoints/000050/pretrained_model/adapter_model.safetensors +1 -1
- checkpoints/000050/pretrained_model/train_config.json +3 -3
- checkpoints/000050/training_state/optimizer_state.safetensors +1 -1
- checkpoints/000050/training_state/scaler_state.json +7 -0
- checkpoints/000050/training_state/training_step.json +1 -1
checkpoints/000050/pretrained_model/adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 11893824
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4b51a06f644df69a35a3503f69b35a2bbcb51b884e0dbeab47ef3f1cf860c81
|
| 3 |
size 11893824
|
checkpoints/000050/pretrained_model/train_config.json
CHANGED
|
@@ -173,12 +173,12 @@
|
|
| 173 |
"compile_mode": "max-autotune"
|
| 174 |
},
|
| 175 |
"reward_model": null,
|
| 176 |
-
"output_dir": "outputs/train/2026-10-06/20-
|
| 177 |
"job_name": "smolvla",
|
| 178 |
"resume": false,
|
| 179 |
"seed": 1000,
|
| 180 |
"cudnn_deterministic": false,
|
| 181 |
-
"num_workers":
|
| 182 |
"batch_size": 32,
|
| 183 |
"prefetch_factor": 4,
|
| 184 |
"persistent_workers": true,
|
|
@@ -221,7 +221,7 @@
|
|
| 221 |
"cfg_parallel": 1
|
| 222 |
},
|
| 223 |
"accelerator": {
|
| 224 |
-
"mixed_precision": "
|
| 225 |
"gradient_accumulation": {
|
| 226 |
"steps": 1
|
| 227 |
},
|
|
|
|
| 173 |
"compile_mode": "max-autotune"
|
| 174 |
},
|
| 175 |
"reward_model": null,
|
| 176 |
+
"output_dir": "outputs/train/2026-10-06/20-44-21_smolvla",
|
| 177 |
"job_name": "smolvla",
|
| 178 |
"resume": false,
|
| 179 |
"seed": 1000,
|
| 180 |
"cudnn_deterministic": false,
|
| 181 |
+
"num_workers": 2,
|
| 182 |
"batch_size": 32,
|
| 183 |
"prefetch_factor": 4,
|
| 184 |
"persistent_workers": true,
|
|
|
|
| 221 |
"cfg_parallel": 1
|
| 222 |
},
|
| 223 |
"accelerator": {
|
| 224 |
+
"mixed_precision": "fp16",
|
| 225 |
"gradient_accumulation": {
|
| 226 |
"steps": 1
|
| 227 |
},
|
checkpoints/000050/training_state/optimizer_state.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 23784192
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b98d5dc335da8d6898a2309b097c9043e0ce5854e2a0514b6f5b8656fc809d9a
|
| 3 |
size 23784192
|
checkpoints/000050/training_state/scaler_state.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"scale": 65536.0,
|
| 3 |
+
"growth_factor": 2.0,
|
| 4 |
+
"backoff_factor": 0.5,
|
| 5 |
+
"growth_interval": 2000,
|
| 6 |
+
"_growth_tracker": 50
|
| 7 |
+
}
|
checkpoints/000050/training_state/training_step.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"dp_world_size": 1,
|
| 4 |
"batch_size": 32,
|
| 5 |
"grad_accum_steps": 1,
|
| 6 |
-
"mixed_precision": "
|
| 7 |
"parallelism": {
|
| 8 |
"dp_replicate": 1,
|
| 9 |
"dp_shard": 1,
|
|
|
|
| 3 |
"dp_world_size": 1,
|
| 4 |
"batch_size": 32,
|
| 5 |
"grad_accum_steps": 1,
|
| 6 |
+
"mixed_precision": "fp16",
|
| 7 |
"parallelism": {
|
| 8 |
"dp_replicate": 1,
|
| 9 |
"dp_shard": 1,
|