Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,53 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: robotics
|
| 3 |
+
tags:
|
| 4 |
+
- lerobot
|
| 5 |
+
library_name: lerobot
|
| 6 |
+
datasets:
|
| 7 |
+
- TekbotRobotics/svla_so101_pickplace_flags_sorting
|
| 8 |
+
---
|
| 9 |
+
## SmolVLA: A vision-language-action model for affordable and efficient robotics
|
| 10 |
+
|
| 11 |
+
Resources and technical documentation:
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
[Train using Google Colab Notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/lerobot/training-smolvla.ipynb#scrollTo=ZO52lcQtxseE)
|
| 15 |
+
|
| 16 |
+
[SmolVLA HF Documentation](https://huggingface.co/docs/lerobot/smolvla)
|
| 17 |
+
|
| 18 |
+
Designed by Tekbot Robotics and Inspired from Hugging Face.
|
| 19 |
+
|
| 20 |
+
This model was finetuned on [hugging Face base model](https://huggingface.co/lerobot/smolvla_base/).
|
| 21 |
+
|
| 22 |
+
Before proceeding to the next steps, you need to properly install the environment by following [Installation Guide](https://huggingface.co/docs/lerobot/installation) on the docs.
|
| 23 |
+
|
| 24 |
+
Install smolvla extra dependencies:
|
| 25 |
+
```bash
|
| 26 |
+
pip install -e ".[smolvla]"
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
Example of finetuning the smolvla pretrained model (`smolvla_base`):
|
| 30 |
+
```bash
|
| 31 |
+
python lerobot/scripts/train.py \
|
| 32 |
+
--policy.path=lerobot/smolvla_base \
|
| 33 |
+
--dataset.repo_id=lerobot/svla_so101_pickplace \
|
| 34 |
+
--batch_size=64 \
|
| 35 |
+
--steps=20000 \
|
| 36 |
+
--output_dir=outputs/train/my_smolvla \
|
| 37 |
+
--job_name=my_smolvla_training \
|
| 38 |
+
--policy.device=cuda \
|
| 39 |
+
--wandb.enable=true
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
Example of finetuning the smolvla neural network with pretrained VLM and action expert
|
| 43 |
+
intialized from scratch:
|
| 44 |
+
```bash
|
| 45 |
+
python lerobot/scripts/train.py \
|
| 46 |
+
--dataset.repo_id=TekbotRobotics/svla_so101_pickplace_flags_sorting \
|
| 47 |
+
--batch_size=64 \
|
| 48 |
+
--steps=200000 \
|
| 49 |
+
--output_dir=outputs/train/my_smolvla \
|
| 50 |
+
--job_name=my_smolvla_training \
|
| 51 |
+
--policy.device=cuda \
|
| 52 |
+
--wandb.enable=true
|
| 53 |
+
```
|