Instructions to use bdhillon/PIv1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use bdhillon/PIv1 with LeRobot:
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
datasets: bdhillon/PI-0.5-11.19.2025-v3
|
| 3 |
library_name: lerobot
|
| 4 |
license: apache-2.0
|
| 5 |
model_name: pi05
|
|
@@ -10,33 +10,53 @@ tags:
|
|
| 10 |
- pi05
|
| 11 |
---
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
**Οβ.β
(Pi05) Policy**
|
| 19 |
|
| 20 |
Οβ.β
is a Vision-Language-Action model with open-world generalization, from Physical Intelligence. The LeRobot implementation is adapted from their open source OpenPI repository.
|
| 21 |
|
| 22 |
-
**Model Overview**
|
| 23 |
-
|
| 24 |
-
Οβ.β
represents a significant evolution from Οβ, developed by Physical Intelligence to address a big challenge in robotics: open-world generalization. While robots can perform impressive tasks in controlled environments, Οβ.β
is designed to generalize to entirely new environments and situations that were never seen during training.
|
| 25 |
-
|
| 26 |
For more details, see the [Physical Intelligence Οβ.β
blog post](https://www.physicalintelligence.company/blog/pi05).
|
| 27 |
|
| 28 |
-
|
| 29 |
-
This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
|
| 30 |
-
See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
|
| 31 |
-
|
| 32 |
---
|
| 33 |
|
| 34 |
-
## How to Get Started with the Model
|
| 35 |
-
|
| 36 |
-
For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
|
| 37 |
-
Below is the short version on how to train and run inference/eval:
|
| 38 |
|
| 39 |
-
### Train
|
| 40 |
|
| 41 |
```bash
|
| 42 |
lerobot-train \
|
|
@@ -51,7 +71,7 @@ lerobot-train \
|
|
| 51 |
|
| 52 |
_Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
|
| 53 |
|
| 54 |
-
### Evaluate
|
| 55 |
|
| 56 |
```bash
|
| 57 |
lerobot-record \
|
|
@@ -64,7 +84,3 @@ lerobot-record \
|
|
| 64 |
Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
|
| 65 |
|
| 66 |
---
|
| 67 |
-
|
| 68 |
-
## Model Details
|
| 69 |
-
|
| 70 |
-
- **License:** apache-2.0
|
|
|
|
| 1 |
---
|
| 2 |
+
datasets: bdhillon/PI-0.5-11.19.2025-v3-quantiles
|
| 3 |
library_name: lerobot
|
| 4 |
license: apache-2.0
|
| 5 |
model_name: pi05
|
|
|
|
| 10 |
- pi05
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Training Config:
|
| 14 |
+
|
| 15 |
+
```python
|
| 16 |
+
CONFIG = {
|
| 17 |
+
# Dataset (pre-converted v3.0 format)
|
| 18 |
+
"dataset_repo_id": "bdhillon/PI-0.5-11.19.2025-v3-quantiles",
|
| 19 |
+
"dataset_root": os.path.expanduser("~/lerobot-training/dataset/PI-0.5-11.19.2025-v3-quantiles"),
|
| 20 |
+
|
| 21 |
+
# Model
|
| 22 |
+
"policy_type": "pi05",
|
| 23 |
+
"pretrained_path": "lerobot/pi05_base",
|
| 24 |
+
|
| 25 |
+
# HuggingFace upload settings
|
| 26 |
+
"repo_id": "bdhillon/PIv1",
|
| 27 |
+
"push_to_hub": True,
|
| 28 |
+
|
| 29 |
+
# Training hyperparameters
|
| 30 |
+
"batch_size": 4,
|
| 31 |
+
"policy.dtype": "bfloat16",
|
| 32 |
+
"policy.use_amp": True,
|
| 33 |
+
"steps": 1500, # ~3-4 epochs for 11 episodes with 6953 frames
|
| 34 |
+
"eval_freq": 250, # Evaluate every 250 steps
|
| 35 |
+
"log_freq": 50, # Log to WandB every 50 steps
|
| 36 |
+
"save_freq": 250, # Save checkpoint every 250 steps
|
| 37 |
+
|
| 38 |
+
# Evaluation settings
|
| 39 |
+
"eval_n_episodes": 5,
|
| 40 |
+
"eval_batch_size": 5, # Must be <= eval_n_episodes
|
| 41 |
+
|
| 42 |
+
# Output
|
| 43 |
+
"output_dir": "./PIv1",
|
| 44 |
+
|
| 45 |
+
# Logging
|
| 46 |
+
"wandb_enable": True,
|
| 47 |
+
}
|
| 48 |
+
```
|
| 49 |
|
| 50 |
**Οβ.β
(Pi05) Policy**
|
| 51 |
|
| 52 |
Οβ.β
is a Vision-Language-Action model with open-world generalization, from Physical Intelligence. The LeRobot implementation is adapted from their open source OpenPI repository.
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
For more details, see the [Physical Intelligence Οβ.β
blog post](https://www.physicalintelligence.company/blog/pi05).
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
---
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
+
### Train From Scratch
|
| 60 |
|
| 61 |
```bash
|
| 62 |
lerobot-train \
|
|
|
|
| 71 |
|
| 72 |
_Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
|
| 73 |
|
| 74 |
+
### Evaluate / Run inference
|
| 75 |
|
| 76 |
```bash
|
| 77 |
lerobot-record \
|
|
|
|
| 84 |
Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
|
| 85 |
|
| 86 |
---
|
|
|
|
|
|
|
|
|
|
|
|