drwahl commited on
Commit
b5f0ce3
·
verified ·
1 Parent(s): 3185029

the adapter trained on the v2 collection

Browse files
README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: lerobot/pi05_base
4
+ pipeline_tag: robotics
5
+ tags:
6
+ - LeRobot
7
+ - so101
8
+ - pi0.5
9
+ - lora
10
+ ---
11
+
12
+ # pi05_so101_block_stack_sim
13
+
14
+ pi0.5 fine-tuned to stack one 30 mm block on another with an [SO-101](https://github.com/TheRobotStudio/SO-ARM100), in simulation. Trained by `train/pi05_so101_lora_backbone.yaml` in [vla-test](https://github.com/danwahl/vla-test) on revision `v2` of [drwahl/so101_block_stack_sim](https://huggingface.co/drwahl/so101_block_stack_sim/tree/v2).
15
+
16
+ LoRA on `lerobot/pi05_base`'s gemma_2b language backbone, with the action expert and the projection heads dense and SigLIP frozen. `adapter/` holds the adapter and the normalization processors; `train/merge.py` folds it into the base weights for a checkpoint that loads without one.
17
+
18
+ ```bash
19
+ hf download drwahl/pi05_so101_block_stack_sim --local-dir pi05_so101_block_stack_sim
20
+ uv run python train/merge.py pi05_so101_block_stack_sim/adapter pi05_so101_block_stack_sim/merged
21
+ uv run python sim/scripts/eval.py pi05_so101_block_stack_sim/merged
22
+ ```
23
+
24
+ The eval rolls the checkpoint out on the 150 held-out layouts and scores it by the gates that screened the oracle. Chunks are stitched with [Real-Time Chunking](https://www.physicalintelligence.company/research/real_time_chunking) and read back off a shape-preserving cubic before they are executed.
25
+
26
+ [drwahl/pi05_so101_block_stack](https://huggingface.co/drwahl/pi05_so101_block_stack) is the same recipe trained on sim and hardware episodes together, and is the one that runs on the arm.
adapter/README.md DELETED
@@ -1,204 +0,0 @@
1
- ---
2
- library_name: peft
3
- tags:
4
- - base_model:adapter:lerobot/pi05_base
5
- - lora
6
- ---
7
-
8
- # Model Card for Model ID
9
-
10
- <!-- Provide a quick summary of what the model is/does. -->
11
-
12
-
13
-
14
- ## Model Details
15
-
16
- ### Model Description
17
-
18
- <!-- Provide a longer summary of what this model is. -->
19
-
20
-
21
-
22
- - **Developed by:** [More Information Needed]
23
- - **Funded by [optional]:** [More Information Needed]
24
- - **Shared by [optional]:** [More Information Needed]
25
- - **Model type:** [More Information Needed]
26
- - **Language(s) (NLP):** [More Information Needed]
27
- - **License:** [More Information Needed]
28
- - **Finetuned from model [optional]:** [More Information Needed]
29
-
30
- ### Model Sources [optional]
31
-
32
- <!-- Provide the basic links for the model. -->
33
-
34
- - **Repository:** [More Information Needed]
35
- - **Paper [optional]:** [More Information Needed]
36
- - **Demo [optional]:** [More Information Needed]
37
-
38
- ## Uses
39
-
40
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
41
-
42
- ### Direct Use
43
-
44
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
45
-
46
- [More Information Needed]
47
-
48
- ### Downstream Use [optional]
49
-
50
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
51
-
52
- [More Information Needed]
53
-
54
- ### Out-of-Scope Use
55
-
56
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
57
-
58
- [More Information Needed]
59
-
60
- ## Bias, Risks, and Limitations
61
-
62
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
63
-
64
- [More Information Needed]
65
-
66
- ### Recommendations
67
-
68
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
69
-
70
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
71
-
72
- ## How to Get Started with the Model
73
-
74
- Use the code below to get started with the model.
75
-
76
- [More Information Needed]
77
-
78
- ## Training Details
79
-
80
- ### Training Data
81
-
82
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
83
-
84
- [More Information Needed]
85
-
86
- ### Training Procedure
87
-
88
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
89
-
90
- #### Preprocessing [optional]
91
-
92
- [More Information Needed]
93
-
94
-
95
- #### Training Hyperparameters
96
-
97
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
98
-
99
- #### Speeds, Sizes, Times [optional]
100
-
101
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
102
-
103
- [More Information Needed]
104
-
105
- ## Evaluation
106
-
107
- <!-- This section describes the evaluation protocols and provides the results. -->
108
-
109
- ### Testing Data, Factors & Metrics
110
-
111
- #### Testing Data
112
-
113
- <!-- This should link to a Dataset Card if possible. -->
114
-
115
- [More Information Needed]
116
-
117
- #### Factors
118
-
119
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
120
-
121
- [More Information Needed]
122
-
123
- #### Metrics
124
-
125
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
126
-
127
- [More Information Needed]
128
-
129
- ### Results
130
-
131
- [More Information Needed]
132
-
133
- #### Summary
134
-
135
-
136
-
137
- ## Model Examination [optional]
138
-
139
- <!-- Relevant interpretability work for the model goes here -->
140
-
141
- [More Information Needed]
142
-
143
- ## Environmental Impact
144
-
145
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
146
-
147
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
148
-
149
- - **Hardware Type:** [More Information Needed]
150
- - **Hours used:** [More Information Needed]
151
- - **Cloud Provider:** [More Information Needed]
152
- - **Compute Region:** [More Information Needed]
153
- - **Carbon Emitted:** [More Information Needed]
154
-
155
- ## Technical Specifications [optional]
156
-
157
- ### Model Architecture and Objective
158
-
159
- [More Information Needed]
160
-
161
- ### Compute Infrastructure
162
-
163
- [More Information Needed]
164
-
165
- #### Hardware
166
-
167
- [More Information Needed]
168
-
169
- #### Software
170
-
171
- [More Information Needed]
172
-
173
- ## Citation [optional]
174
-
175
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
176
-
177
- **BibTeX:**
178
-
179
- [More Information Needed]
180
-
181
- **APA:**
182
-
183
- [More Information Needed]
184
-
185
- ## Glossary [optional]
186
-
187
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
188
-
189
- [More Information Needed]
190
-
191
- ## More Information [optional]
192
-
193
- [More Information Needed]
194
-
195
- ## Model Card Authors [optional]
196
-
197
- [More Information Needed]
198
-
199
- ## Model Card Contact
200
-
201
- [More Information Needed]
202
- ### Framework versions
203
-
204
- - PEFT 0.20.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
adapter/adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:70a04ef175003a9c0698bd3ff42699f95f42aed8af0ffda169bf2aa0b5a849f6
3
  size 1254516032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78273f55acfe1608bab80a39c89dfaeefac53b383c5ce587df2944a357e361ed
3
  size 1254516032
adapter/policy_postprocessor_step_0_unnormalizer_processor.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7d306acf13e3ec8934c1af3c9c2f2f26685e883299906ef13fcc94db308aa0ae
3
  size 7536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bac1fdd1c752e66bc9c81fe560603726902969587e4ea9d5d9c17f1848fa6a17
3
  size 7536
adapter/policy_preprocessor_step_3_normalizer_processor.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7d306acf13e3ec8934c1af3c9c2f2f26685e883299906ef13fcc94db308aa0ae
3
  size 7536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bac1fdd1c752e66bc9c81fe560603726902969587e4ea9d5d9c17f1848fa6a17
3
  size 7536
adapter/train_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "dataset": {
3
  "repo_id": "vla-test/so101_block_stack_sim",
4
- "root": "/data/datasets/so101_block_stack_sim",
5
  "episodes": null,
6
  "image_transforms": {
7
  "enable": false,
@@ -192,8 +192,8 @@
192
  "scheduler_decay_lr": 2.5e-06
193
  },
194
  "reward_model": null,
195
- "output_dir": "/data/checkpoints/pi05_so101_block_stack_sim",
196
- "job_name": "pi05_so101_block_stack_sim",
197
  "resume": false,
198
  "seed": 1000,
199
  "cudnn_deterministic": false,
@@ -242,7 +242,7 @@
242
  "project": "vla-test",
243
  "entity": null,
244
  "notes": null,
245
- "run_id": "pi05_so101_block_stack_sim",
246
  "mode": null,
247
  "add_tags": true
248
  },
 
1
  {
2
  "dataset": {
3
  "repo_id": "vla-test/so101_block_stack_sim",
4
+ "root": "/data/datasets/so101_block_stack_sim_v2",
5
  "episodes": null,
6
  "image_transforms": {
7
  "enable": false,
 
192
  "scheduler_decay_lr": 2.5e-06
193
  },
194
  "reward_model": null,
195
+ "output_dir": "/data/checkpoints/pi05_so101_block_stack_sim_v2",
196
+ "job_name": "pi05_so101_block_stack_sim_v2",
197
  "resume": false,
198
  "seed": 1000,
199
  "cudnn_deterministic": false,
 
242
  "project": "vla-test",
243
  "entity": null,
244
  "notes": null,
245
+ "run_id": "bwqsdzte",
246
  "mode": null,
247
  "add_tags": true
248
  },
openpi/model-embed_tokens.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:28b9d0bbef9ef36b0ad44e9399c75627be718b635b8ed26b4aa9889faa87fdf4
3
- size 1053294752
 
 
 
 
openpi/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0efbc2c84f6f081633659c4742719638458095bc8f11d4cd4aa276723daef371
3
- size 8300751128
 
 
 
 
openpi/vla-test/so101_block_stack_sim/norm_stats.json DELETED
@@ -1 +0,0 @@
1
- {"norm_stats": {"state": {"mean": [-0.06961233168840408, -0.01445415522903204, -0.014523693360388279, 1.4462238550186157, -0.18237902224063873, 0.38151106238365173], "std": [0.36984488368034363, 0.24787864089012146, 0.4862450957298279, 0.1724892109632492, 0.4507194757461548, 0.23262791335582733], "q01": [-0.41983288526535034, -0.30963191390037537, -1.124752163887024, 1.0706549882888794, -0.48258498311042786, 0.11421234905719757], "q99": [0.2730618417263031, 0.36454471945762634, 0.5804714560508728, 1.638345718383789, 0.15110167860984802, 0.6000078320503235]}, "actions": {"mean": [-0.07215557992458344, -0.01886635273694992, -0.0034942342899739742, 1.4417580366134644, -0.195360004901886, 0.37069740891456604], "std": [0.3716256022453308, 0.24667887389659882, 0.47631120681762695, 0.1717519611120224, 0.455324649810791, 0.2460695505142212], "q01": [-0.41813188791275024, -0.3110213577747345, -1.1105995178222656, 1.0733906030654907, -0.4807278513908386, 0.09000000357627869], "q99": [0.26532840728759766, 0.35765767097473145, 0.5796554684638977, 1.6365506649017334, 0.13303221762180328, 0.5999979972839355]}}}