Safetensors
akolobov commited on
Commit
a4dfce3
·
verified ·
1 Parent(s): f36896b

Upload folder using huggingface_hub

Browse files
CODE_OF_CONDUCT.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Microsoft Open Source Code of Conduct
2
+
3
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4
+
5
+ Resources:
6
+
7
+ - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8
+ - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9
+ - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
10
+ - Employees can reach out at [aka.ms/opensource/moderation-support](https://aka.ms/opensource/moderation-support)
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
SECURITY.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- BEGIN MICROSOFT SECURITY.MD V1.0.0 BLOCK -->
2
+
3
+ ## Security
4
+
5
+ Microsoft takes the security of our software products and services seriously, which
6
+ includes all source code repositories in our GitHub organizations.
7
+
8
+ **Please do not report security vulnerabilities through public GitHub issues.**
9
+
10
+ For security reporting information, locations, contact information, and policies,
11
+ please review the latest guidance for Microsoft repositories at
12
+ [https://aka.ms/SECURITY.md](https://aka.ms/SECURITY.md).
13
+
14
+ <!-- END MICROSOFT SECURITY.MD BLOCK -->
data_config.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "batch_size": 64,
3
+ "num_workers": 4,
4
+ "shuffle_buffer_size": 1000,
5
+ "normalization_mapping": {
6
+ "ACTION": "MEAN_STD",
7
+ "ENV": "MEAN_STD",
8
+ "STATE": "MEAN_STD",
9
+ "VISUAL": "IDENTITY"
10
+ },
11
+ "features": {
12
+ "action": {
13
+ "type": "ACTION",
14
+ "shape": "(20,)"
15
+ },
16
+ "observation.image.0": {
17
+ "type": "VISUAL",
18
+ "shape": "(3, 224, 224)"
19
+ },
20
+ "observation.image.1": {
21
+ "type": "VISUAL",
22
+ "shape": "(3, 224, 224)"
23
+ },
24
+ "observation.image.2": {
25
+ "type": "VISUAL",
26
+ "shape": "(3, 224, 224)"
27
+ },
28
+ "observation.state": {
29
+ "type": "STATE",
30
+ "shape": "(20,)"
31
+ }
32
+ },
33
+ "clip_values": null,
34
+ "chunk_size": null,
35
+ "action_time_horizon_s": null,
36
+ "min_action_chunk_size": 8,
37
+ "actionchunk_actions_are_absolute": false,
38
+ "observation_mapping": {
39
+ "action.ee_6d_pos": "action",
40
+ "observation.ee_6d_pos": "observation.state",
41
+ "observation.images.head": "observation.image.0",
42
+ "observation.images.left_wrist": "observation.image.1",
43
+ "observation.images.right_wrist": "observation.image.2"
44
+ },
45
+ "observation_whitelist": null,
46
+ "observation_blacklist": null,
47
+ "transform_mapping": {
48
+ "observation.image.0": [
49
+ {
50
+ "type": "color_jitter",
51
+ "brightness": 0.2,
52
+ "contrast": [
53
+ 0.8,
54
+ 1.2
55
+ ],
56
+ "saturation": [
57
+ 0.8,
58
+ 1.2
59
+ ],
60
+ "hue": 0.05,
61
+ "input_type": "Tensor"
62
+ }
63
+ ],
64
+ "observation.image.1": [
65
+ {
66
+ "type": "resize_with_padding",
67
+ "height": 224,
68
+ "width": 224,
69
+ "mode": "bilinear",
70
+ "align_corners": false,
71
+ "input_type": "Tensor"
72
+ },
73
+ {
74
+ "type": "color_jitter",
75
+ "brightness": 0.2,
76
+ "contrast": [
77
+ 0.8,
78
+ 1.2
79
+ ],
80
+ "saturation": [
81
+ 0.8,
82
+ 1.2
83
+ ],
84
+ "hue": 0.05,
85
+ "input_type": "Tensor"
86
+ }
87
+ ],
88
+ "observation.image.2": [
89
+ {
90
+ "type": "resize_with_padding",
91
+ "height": 224,
92
+ "width": 224,
93
+ "mode": "bilinear",
94
+ "align_corners": false,
95
+ "input_type": "Tensor"
96
+ },
97
+ {
98
+ "type": "color_jitter",
99
+ "brightness": 0.2,
100
+ "contrast": [
101
+ 0.8,
102
+ 1.2
103
+ ],
104
+ "saturation": [
105
+ 0.8,
106
+ 1.2
107
+ ],
108
+ "hue": 0.05,
109
+ "input_type": "Tensor"
110
+ }
111
+ ]
112
+ },
113
+ "language_instruction": null,
114
+ "training_mode": "ROBOT_FLOWMATCH",
115
+ "action_type": "EE_6D_POS",
116
+ "serialize_stats": true,
117
+ "video_decoder_cache_size": null,
118
+ "repo_id": "roboeval_lift_pot",
119
+ "video_root_dir": null,
120
+ "streaming": false,
121
+ "tolerance_s": 0.1,
122
+ "use_imagenet_stats": false,
123
+ "split_name": "train",
124
+ "prefetch_factor": 2,
125
+ "max_episodes": null
126
+ }
features.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action": {
3
+ "type": "ACTION",
4
+ "shape": [
5
+ 20
6
+ ]
7
+ },
8
+ "observation.image.0": {
9
+ "type": "VISUAL",
10
+ "shape": [
11
+ 3,
12
+ 224,
13
+ 224
14
+ ]
15
+ },
16
+ "observation.image.1": {
17
+ "type": "VISUAL",
18
+ "shape": [
19
+ 3,
20
+ 224,
21
+ 224
22
+ ]
23
+ },
24
+ "observation.image.2": {
25
+ "type": "VISUAL",
26
+ "shape": [
27
+ 3,
28
+ 224,
29
+ 224
30
+ ]
31
+ },
32
+ "observation.state": {
33
+ "type": "STATE",
34
+ "shape": [
35
+ 20
36
+ ]
37
+ }
38
+ }
manifest.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "rho",
3
+ "version": 1,
4
+ "step": 40000,
5
+ "weights": {
6
+ "format": "safetensors",
7
+ "max_shard_size": "5GB"
8
+ },
9
+ "artifacts": {
10
+ "policy": "policy.json",
11
+ "features": "features.json",
12
+ "data_config": "data_config.json",
13
+ "stats": "stats.json",
14
+ "training_state": null
15
+ },
16
+ "save_timings_seconds": {
17
+ "model_weights": 2.3483103970065713,
18
+ "metadata": 0.0007453779689967632,
19
+ "training_state": null,
20
+ "total_before_publish": 2.349059999920428
21
+ }
22
+ }
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b029b91f578c683860e749b49d757e5fffc58da3e45dc8c08fa7cd3650345be5
3
+ size 4995666736
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56439164b27749bea62e2c38772da53edca54ad396f4680780a4d84d476f633e
3
+ size 4985052104
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c392f853cd72cc26b948605a21042b2de4595a10e0766bb96cb4c662a51af0a
3
+ size 520742056
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
policy.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "rho",
3
+ "name": "rho",
4
+ "device": "cuda",
5
+ "dtype": "bfloat16",
6
+ "lr_scheduler": {
7
+ "type": "cosine_decay_with_warmup",
8
+ "num_warmup_steps": 2500,
9
+ "num_decay_steps": 40000,
10
+ "peak_lr": 0.0001,
11
+ "decay_lr": 5e-06,
12
+ "decay_start_step": null
13
+ },
14
+ "optimizer": {
15
+ "type": "adamw",
16
+ "lr": 0.0001,
17
+ "weight_decay": 1e-10,
18
+ "grad_clip_norm": 10.0,
19
+ "betas": [
20
+ 0.9,
21
+ 0.95
22
+ ],
23
+ "eps": 1e-08
24
+ },
25
+ "pretrained_repo_id": "microsoft/rho-base",
26
+ "resize_imgs_with_padding": null,
27
+ "embed_dim": 2048,
28
+ "num_heads": 16,
29
+ "ff_dim": 4096,
30
+ "norm": "adaptive",
31
+ "hidden_state_idx": 14,
32
+ "num_blocks": 12,
33
+ "max_seq_len": 6144,
34
+ "n_obs_steps": 1,
35
+ "chunk_size": 32,
36
+ "n_action_steps": 16,
37
+ "max_state_dim": 32,
38
+ "max_action_dim": 32,
39
+ "num_steps": 10,
40
+ "num_flow_samples": 8,
41
+ "attention_implementation": "flash_attention_2",
42
+ "attention_type": "cross",
43
+ "adaln_mode": "shared",
44
+ "adaln_lora_rank": 256,
45
+ "gqa_groups": 4,
46
+ "cross_attention_dim": null,
47
+ "vlm_layer_select": "last",
48
+ "shared_vlm_projection": false,
49
+ "kv_pos_encoding": true,
50
+ "freeze_vlm_backbone": false,
51
+ "freeze_vision_encoder": false,
52
+ "freeze_language_model": false,
53
+ "train_expert_only": false,
54
+ "enable_gradient_checkpointing": true,
55
+ "optimizer_lr": 0.0001,
56
+ "optimizer_lr_action_expert": null,
57
+ "optimizer_betas": [
58
+ 0.9,
59
+ 0.95
60
+ ],
61
+ "optimizer_eps": 1e-08,
62
+ "optimizer_weight_decay": 1e-10,
63
+ "scheduler_warmup_steps": 2500,
64
+ "scheduler_decay_steps": 40000,
65
+ "scheduler_decay_lr": 5e-06,
66
+ "time_sampling_strategy": "beta",
67
+ "dropout_p": 0.02,
68
+ "pos_emb_method": "sinusoidal",
69
+ "log_hidden_state_stats": true
70
+ }
stats.json ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "observation.state": {
3
+ "count": [
4
+ 89765
5
+ ],
6
+ "mean": [
7
+ 0.5293809127536702,
8
+ 0.2627866928420584,
9
+ 1.156219117300016,
10
+ -0.2501533516064693,
11
+ -0.7922693930504021,
12
+ 0.002407810841769617,
13
+ -0.7878290330575962,
14
+ 0.24960088868063152,
15
+ 0.017399433636570413,
16
+ 0.8666317623531308,
17
+ 0.5206127761795163,
18
+ -0.2454724714044231,
19
+ 1.1453954884237432,
20
+ 0.32935486055917407,
21
+ -0.727918402136843,
22
+ -0.007428805679513485,
23
+ -0.7141843504608205,
24
+ -0.31612760258845746,
25
+ -0.026885137609882186,
26
+ 0.8062796035988486
27
+ ],
28
+ "std": [
29
+ 0.06900000865277751,
30
+ 0.09820670309006083,
31
+ 0.0754242158998013,
32
+ 0.412610790497765,
33
+ 0.3494451649612785,
34
+ 0.1317844857910884,
35
+ 0.3482520823254311,
36
+ 0.41284173764496795,
37
+ 0.1581271521289176,
38
+ 0.23970028000971133,
39
+ 0.07009679330902137,
40
+ 0.12426160674568501,
41
+ 0.08395593211468136,
42
+ 0.42340656120890957,
43
+ 0.39431879159028677,
44
+ 0.1638431363971245,
45
+ 0.39540584392769235,
46
+ 0.43700626296059053,
47
+ 0.2048436519976902,
48
+ 0.2634424061439203
49
+ ],
50
+ "q01": [
51
+ 0.2390124398469925,
52
+ 0.01408062096685171,
53
+ 0.9091854691505432,
54
+ -0.9955504846572876,
55
+ -1.0,
56
+ -0.5887388038635254,
57
+ -0.9999860525131226,
58
+ -0.8283770751953125,
59
+ -0.6476995849609375,
60
+ 0.20000000298023224,
61
+ 0.26505234360694885,
62
+ -0.5182637977600097,
63
+ 0.9002066040039063,
64
+ -0.47794005155563357,
65
+ -1.0,
66
+ -0.5753558778762817,
67
+ -0.9999860525131226,
68
+ -0.9987567973136902,
69
+ -0.8615837097167969,
70
+ 0.20000000298023224
71
+ ],
72
+ "q99": [
73
+ 0.6578747272491455,
74
+ 0.4988223683834076,
75
+ 1.2695699405670167,
76
+ 0.8258561539649963,
77
+ 0.4312620639801026,
78
+ 0.383721753358841,
79
+ 0.4201215469837191,
80
+ 0.9979598426818848,
81
+ 0.37774613738060014,
82
+ 1.0,
83
+ 0.6601186418533326,
84
+ 0.04605709150433547,
85
+ 1.2852722215652466,
86
+ 0.996353235244751,
87
+ 0.5514891600608827,
88
+ 0.639940929412842,
89
+ 0.5513690042495729,
90
+ 0.613748517036438,
91
+ 0.26767089486122136,
92
+ 1.0
93
+ ],
94
+ "min": [
95
+ 0.010109763592481613,
96
+ -0.16182726621627808,
97
+ 0.8476034998893738,
98
+ -0.9999780058860779,
99
+ -1.0,
100
+ -0.9316805601119995,
101
+ -0.9999998807907104,
102
+ -0.9999987483024597,
103
+ -0.9730242490768433,
104
+ 0.0,
105
+ 0.06868629157543182,
106
+ -0.8015121817588806,
107
+ 0.8525729179382324,
108
+ -0.9986637830734253,
109
+ -1.0,
110
+ -0.9973359704017639,
111
+ -0.9999992251396179,
112
+ -0.999999463558197,
113
+ -0.9968705773353577,
114
+ 0.0
115
+ ],
116
+ "max": [
117
+ 0.7641072273254395,
118
+ 0.6347136497497559,
119
+ 1.3864517211914062,
120
+ 0.9999618530273438,
121
+ 0.8677036166191101,
122
+ 0.9922470450401306,
123
+ 0.855798065662384,
124
+ 0.999997615814209,
125
+ 0.9988034963607788,
126
+ 1.0,
127
+ 0.759455144405365,
128
+ 0.19557322561740875,
129
+ 1.3848758935928345,
130
+ 0.9999994039535522,
131
+ 0.8536168932914734,
132
+ 0.905597984790802,
133
+ 0.8588182330131531,
134
+ 0.9999569058418274,
135
+ 0.6386616826057434,
136
+ 1.0
137
+ ]
138
+ },
139
+ "action": {
140
+ "count": [
141
+ 89765
142
+ ],
143
+ "mean": [
144
+ 0.5248510939792186,
145
+ 0.2600836889651375,
146
+ 1.1614547591179398,
147
+ -0.25028593193831344,
148
+ -0.7720755815697247,
149
+ 0.00040487110375946647,
150
+ -0.7679067604097466,
151
+ 0.2483618044884168,
152
+ 0.01228621455471748,
153
+ 0.21150782645343805,
154
+ 0.5152199292803106,
155
+ -0.2405377636156791,
156
+ 1.151586178807517,
157
+ 0.3475838719412531,
158
+ -0.7088806435232061,
159
+ -0.005109936232931805,
160
+ -0.6947059811640383,
161
+ -0.33290549503759015,
162
+ -0.02752852806273979,
163
+ 0.34643792221961245
164
+ ],
165
+ "std": [
166
+ 0.07503207929501166,
167
+ 0.0986141571597952,
168
+ 0.07884391624239655,
169
+ 0.4253481712684017,
170
+ 0.38224128871083735,
171
+ 0.11927540895673527,
172
+ 0.3812809930597356,
173
+ 0.42478564775575517,
174
+ 0.15055438059373727,
175
+ 0.4083776021103068,
176
+ 0.07636863381187244,
177
+ 0.12355231001619076,
178
+ 0.08641948882061339,
179
+ 0.42801572309776753,
180
+ 0.4117193382521665,
181
+ 0.15471686202973897,
182
+ 0.4138290936909236,
183
+ 0.44240253575983035,
184
+ 0.1970410974464946,
185
+ 0.4758347273558985
186
+ ],
187
+ "q01": [
188
+ 0.2132716941833496,
189
+ 0.00785973623394966,
190
+ 0.9078288793563842,
191
+ -0.9960039234161377,
192
+ -1.0,
193
+ -0.5483308172225952,
194
+ -1.0,
195
+ -0.9209717965126037,
196
+ -0.6598111772537232,
197
+ 0.0,
198
+ 0.23656493842601775,
199
+ -0.5077324771881103,
200
+ 0.8942831945419312,
201
+ -0.4884572744369507,
202
+ -1.0,
203
+ -0.5853375220298768,
204
+ -1.0,
205
+ -0.9990345597267151,
206
+ -0.8691465497016907,
207
+ 0.0
208
+ ],
209
+ "q99": [
210
+ 0.6615056276321412,
211
+ 0.49242273926734925,
212
+ 1.2847841548919678,
213
+ 0.9280990147590638,
214
+ 0.6320586061477661,
215
+ 0.3458389604091645,
216
+ 0.6311157941818238,
217
+ 0.9984024596214295,
218
+ 0.37135050177574164,
219
+ 1.0,
220
+ 0.6656420254707337,
221
+ 0.051387793570756984,
222
+ 1.3018819522857665,
223
+ 0.9968025660514832,
224
+ 0.6524759483337402,
225
+ 0.6296358871459962,
226
+ 0.6490285110473634,
227
+ 0.6349749422073365,
228
+ 0.25897281646728526,
229
+ 1.0
230
+ ],
231
+ "min": [
232
+ -0.5465061664581299,
233
+ -0.16892658174037933,
234
+ 0.7501072883605957,
235
+ -0.9999815225601196,
236
+ -1.0,
237
+ -0.894160807132721,
238
+ -1.0,
239
+ -0.9999992251396179,
240
+ -0.9745527505874634,
241
+ 0.0,
242
+ 0.0027400727849453688,
243
+ -0.8170419335365295,
244
+ 0.7342168092727661,
245
+ -0.9992672801017761,
246
+ -1.0,
247
+ -0.9954373240470886,
248
+ -1.0,
249
+ -0.9999984502792358,
250
+ -0.999457836151123,
251
+ 0.0
252
+ ],
253
+ "max": [
254
+ 0.8064820170402527,
255
+ 0.6574683785438538,
256
+ 1.4446115493774414,
257
+ 0.999930202960968,
258
+ 0.9996628165245056,
259
+ 0.9705906510353088,
260
+ 0.999600350856781,
261
+ 0.9999998211860657,
262
+ 0.9933497905731201,
263
+ 1.0,
264
+ 0.7735665440559387,
265
+ 0.19856058061122894,
266
+ 1.467031478881836,
267
+ 0.9999945759773254,
268
+ 0.9999203085899353,
269
+ 0.8953855633735657,
270
+ 0.9770298004150391,
271
+ 0.9999893307685852,
272
+ 0.6863917112350464,
273
+ 1.0
274
+ ]
275
+ }
276
+ }