Robotics
LeRobot
Safetensors
vla_jepa
deksprime commited on
Commit
0214859
·
verified ·
1 Parent(s): a7dc802

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +119 -0
  3. model.safetensors +3 -0
  4. train_config.json +257 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: DAVIAN-Robotics/robocasa-MG_300
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: vla_jepa
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - robotics
9
+ - vla_jepa
10
+ - lerobot
11
+ ---
12
+
13
+ # Model Card for vla_jepa
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ _Model type not recognized — please update this template._
19
+
20
+
21
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
22
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
23
+
24
+ ---
25
+
26
+ ## How to Get Started with the Model
27
+
28
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
29
+ Below is the short version on how to train and run inference/eval:
30
+
31
+ ### Train from scratch
32
+
33
+ ```bash
34
+ lerobot-train \
35
+ --dataset.repo_id=${HF_USER}/<dataset> \
36
+ --policy.type=act \
37
+ --output_dir=outputs/train/<desired_policy_repo_id> \
38
+ --job_name=lerobot_training \
39
+ --policy.device=cuda \
40
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
41
+ --wandb.enable=true
42
+ ```
43
+
44
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
45
+
46
+ ### Evaluate the policy/run inference
47
+
48
+ ```bash
49
+ lerobot-record \
50
+ --robot.type=so100_follower \
51
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
52
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
53
+ --episodes=10
54
+ ```
55
+
56
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
57
+
58
+ ---
59
+
60
+ ## Model Details
61
+
62
+ - **License:** apache-2.0
config.json ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "vla_jepa",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 16
9
+ ]
10
+ },
11
+ "observation.images.robot0_agentview_left_image": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 128,
16
+ 128
17
+ ]
18
+ },
19
+ "observation.images.robot0_agentview_right_image": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 128,
24
+ 128
25
+ ]
26
+ },
27
+ "observation.images.robot0_eye_in_hand_image": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 128,
32
+ 128
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 12
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "use_peft": false,
47
+ "push_to_hub": true,
48
+ "repo_id": "deksprime/vla-jepa-robocasa-ri",
49
+ "private": null,
50
+ "tags": null,
51
+ "license": null,
52
+ "pretrained_path": "/__modal/volumes/vo-MzoUtjIoo7jtxnPqAorQDI/base/lerobot__VLA-JEPA-Pretrain",
53
+ "chunk_size": 7,
54
+ "n_action_steps": 7,
55
+ "normalization_mapping": {
56
+ "VISUAL": "IDENTITY",
57
+ "STATE": "MEAN_STD",
58
+ "ACTION": "MIN_MAX"
59
+ },
60
+ "qwen_model_name": "Qwen/Qwen3-VL-2B-Instruct",
61
+ "jepa_encoder_name": "facebook/vjepa2-vitl-fpc64-256",
62
+ "freeze_qwen": true,
63
+ "enable_world_model": false,
64
+ "reinit_modules": [
65
+ "model.action_model.action_encoder",
66
+ "model.action_model.action_decoder",
67
+ "model.action_model.state_encoder"
68
+ ],
69
+ "tokenizer_padding_side": "left",
70
+ "prompt_template": "Your task is {instruction}. Infer the temporal dynamics from frames {actions} and produce the corresponding policy actions {e_actions}.",
71
+ "special_action_token": "<|action_{}|>",
72
+ "embodied_action_token": "<|embodied_action|>",
73
+ "action_dim": 12,
74
+ "state_dim": 16,
75
+ "num_action_tokens_per_timestep": 8,
76
+ "num_embodied_action_tokens_per_instruction": 32,
77
+ "num_inference_timesteps": 4,
78
+ "action_hidden_size": 1024,
79
+ "action_model_type": "DiT-B",
80
+ "action_num_layers": 16,
81
+ "action_num_heads": 12,
82
+ "action_attention_head_dim": 64,
83
+ "action_dropout": 0.2,
84
+ "action_num_timestep_buckets": 1000,
85
+ "action_noise_beta_alpha": 1.5,
86
+ "action_noise_beta_beta": 1.0,
87
+ "action_noise_s": 0.999,
88
+ "num_target_vision_tokens": 32,
89
+ "action_max_seq_len": 1024,
90
+ "num_video_frames": 8,
91
+ "predictor_depth": 12,
92
+ "predictor_num_heads": 8,
93
+ "predictor_mlp_ratio": 4.0,
94
+ "predictor_dropout": 0.0,
95
+ "world_model_loss_weight": 0.1,
96
+ "jepa_tubelet_size": 2,
97
+ "repeated_diffusion_steps": 8,
98
+ "resize_images_to": [
99
+ 224,
100
+ 224
101
+ ],
102
+ "binarize_gripper_action": true,
103
+ "pre_snap_gripper_action": true,
104
+ "clip_normalized_actions": true,
105
+ "gripper_dim": 6,
106
+ "gripper_threshold": 0.5,
107
+ "torch_dtype": "bfloat16",
108
+ "optimizer_lr": 0.0001,
109
+ "optimizer_betas": [
110
+ 0.9,
111
+ 0.95
112
+ ],
113
+ "optimizer_eps": 1e-08,
114
+ "optimizer_weight_decay": 1e-08,
115
+ "optimizer_grad_clip_norm": 1.0,
116
+ "scheduler_warmup_steps": 5000,
117
+ "scheduler_decay_steps": 30000,
118
+ "scheduler_decay_lr": 1e-06
119
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9be0a41eda387e92065a7a70ad08a72ac4b9342fd60b105136d363324b29c3b
3
+ size 4875982288
train_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "DAVIAN-Robotics/robocasa-MG_300",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
8
+ "max_num_transforms": 3,
9
+ "random_order": false,
10
+ "tfs": {
11
+ "brightness": {
12
+ "weight": 1.0,
13
+ "type": "ColorJitter",
14
+ "kwargs": {
15
+ "brightness": [
16
+ 0.8,
17
+ 1.2
18
+ ]
19
+ }
20
+ },
21
+ "contrast": {
22
+ "weight": 1.0,
23
+ "type": "ColorJitter",
24
+ "kwargs": {
25
+ "contrast": [
26
+ 0.8,
27
+ 1.2
28
+ ]
29
+ }
30
+ },
31
+ "saturation": {
32
+ "weight": 1.0,
33
+ "type": "ColorJitter",
34
+ "kwargs": {
35
+ "saturation": [
36
+ 0.5,
37
+ 1.5
38
+ ]
39
+ }
40
+ },
41
+ "hue": {
42
+ "weight": 1.0,
43
+ "type": "ColorJitter",
44
+ "kwargs": {
45
+ "hue": [
46
+ -0.05,
47
+ 0.05
48
+ ]
49
+ }
50
+ },
51
+ "sharpness": {
52
+ "weight": 1.0,
53
+ "type": "SharpnessJitter",
54
+ "kwargs": {
55
+ "sharpness": [
56
+ 0.5,
57
+ 1.5
58
+ ]
59
+ }
60
+ },
61
+ "affine": {
62
+ "weight": 1.0,
63
+ "type": "RandomAffine",
64
+ "kwargs": {
65
+ "degrees": [
66
+ -5.0,
67
+ 5.0
68
+ ],
69
+ "translate": [
70
+ 0.05,
71
+ 0.05
72
+ ]
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "revision": "v3.0",
78
+ "use_imagenet_stats": true,
79
+ "video_backend": "pyav",
80
+ "return_uint8": false,
81
+ "streaming": false
82
+ },
83
+ "env": null,
84
+ "policy": {
85
+ "type": "vla_jepa",
86
+ "n_obs_steps": 1,
87
+ "input_features": {
88
+ "observation.state": {
89
+ "type": "STATE",
90
+ "shape": [
91
+ 16
92
+ ]
93
+ },
94
+ "observation.images.robot0_agentview_left_image": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 3,
98
+ 128,
99
+ 128
100
+ ]
101
+ },
102
+ "observation.images.robot0_agentview_right_image": {
103
+ "type": "VISUAL",
104
+ "shape": [
105
+ 3,
106
+ 128,
107
+ 128
108
+ ]
109
+ },
110
+ "observation.images.robot0_eye_in_hand_image": {
111
+ "type": "VISUAL",
112
+ "shape": [
113
+ 3,
114
+ 128,
115
+ 128
116
+ ]
117
+ }
118
+ },
119
+ "output_features": {
120
+ "action": {
121
+ "type": "ACTION",
122
+ "shape": [
123
+ 12
124
+ ]
125
+ }
126
+ },
127
+ "device": "cuda",
128
+ "use_amp": false,
129
+ "use_peft": false,
130
+ "push_to_hub": true,
131
+ "repo_id": "deksprime/vla-jepa-robocasa-ri",
132
+ "private": null,
133
+ "tags": null,
134
+ "license": null,
135
+ "pretrained_path": "/__modal/volumes/vo-MzoUtjIoo7jtxnPqAorQDI/base/lerobot__VLA-JEPA-Pretrain",
136
+ "chunk_size": 7,
137
+ "n_action_steps": 7,
138
+ "normalization_mapping": {
139
+ "VISUAL": "IDENTITY",
140
+ "STATE": "MEAN_STD",
141
+ "ACTION": "MIN_MAX"
142
+ },
143
+ "qwen_model_name": "Qwen/Qwen3-VL-2B-Instruct",
144
+ "jepa_encoder_name": "facebook/vjepa2-vitl-fpc64-256",
145
+ "freeze_qwen": true,
146
+ "enable_world_model": false,
147
+ "reinit_modules": [
148
+ "model.action_model.action_encoder",
149
+ "model.action_model.action_decoder",
150
+ "model.action_model.state_encoder"
151
+ ],
152
+ "tokenizer_padding_side": "left",
153
+ "prompt_template": "Your task is {instruction}. Infer the temporal dynamics from frames {actions} and produce the corresponding policy actions {e_actions}.",
154
+ "special_action_token": "<|action_{}|>",
155
+ "embodied_action_token": "<|embodied_action|>",
156
+ "action_dim": 12,
157
+ "state_dim": 16,
158
+ "num_action_tokens_per_timestep": 8,
159
+ "num_embodied_action_tokens_per_instruction": 32,
160
+ "num_inference_timesteps": 4,
161
+ "action_hidden_size": 1024,
162
+ "action_model_type": "DiT-B",
163
+ "action_num_layers": 16,
164
+ "action_num_heads": 12,
165
+ "action_attention_head_dim": 64,
166
+ "action_dropout": 0.2,
167
+ "action_num_timestep_buckets": 1000,
168
+ "action_noise_beta_alpha": 1.5,
169
+ "action_noise_beta_beta": 1.0,
170
+ "action_noise_s": 0.999,
171
+ "num_target_vision_tokens": 32,
172
+ "action_max_seq_len": 1024,
173
+ "num_video_frames": 8,
174
+ "predictor_depth": 12,
175
+ "predictor_num_heads": 8,
176
+ "predictor_mlp_ratio": 4.0,
177
+ "predictor_dropout": 0.0,
178
+ "world_model_loss_weight": 0.1,
179
+ "jepa_tubelet_size": 2,
180
+ "repeated_diffusion_steps": 8,
181
+ "resize_images_to": [
182
+ 224,
183
+ 224
184
+ ],
185
+ "binarize_gripper_action": true,
186
+ "pre_snap_gripper_action": true,
187
+ "clip_normalized_actions": true,
188
+ "gripper_dim": 6,
189
+ "gripper_threshold": 0.5,
190
+ "torch_dtype": "bfloat16",
191
+ "optimizer_lr": 0.0001,
192
+ "optimizer_betas": [
193
+ 0.9,
194
+ 0.95
195
+ ],
196
+ "optimizer_eps": 1e-08,
197
+ "optimizer_weight_decay": 1e-08,
198
+ "optimizer_grad_clip_norm": 1.0,
199
+ "scheduler_warmup_steps": 5000,
200
+ "scheduler_decay_steps": 30000,
201
+ "scheduler_decay_lr": 1e-06
202
+ },
203
+ "reward_model": null,
204
+ "output_dir": "/vol/outputs/vla_jepa_robocasa",
205
+ "job_name": "vla_jepa_robocasa",
206
+ "resume": false,
207
+ "seed": 1000,
208
+ "cudnn_deterministic": false,
209
+ "num_workers": 16,
210
+ "batch_size": 32,
211
+ "prefetch_factor": 4,
212
+ "persistent_workers": true,
213
+ "steps": 30000,
214
+ "eval_freq": 20000,
215
+ "log_freq": 200,
216
+ "tolerance_s": 0.0001,
217
+ "save_checkpoint": true,
218
+ "save_freq": 5000,
219
+ "use_policy_training_preset": true,
220
+ "optimizer": {
221
+ "type": "adamw",
222
+ "lr": 0.0001,
223
+ "weight_decay": 1e-08,
224
+ "grad_clip_norm": 1.0,
225
+ "betas": [
226
+ 0.9,
227
+ 0.95
228
+ ],
229
+ "eps": 1e-08
230
+ },
231
+ "scheduler": {
232
+ "type": "cosine_decay_with_warmup",
233
+ "num_warmup_steps": 5000,
234
+ "num_decay_steps": 30000,
235
+ "peak_lr": 0.0001,
236
+ "decay_lr": 1e-06
237
+ },
238
+ "eval": {
239
+ "n_episodes": 50,
240
+ "batch_size": 11,
241
+ "use_async_envs": true
242
+ },
243
+ "wandb": {
244
+ "enable": false,
245
+ "disable_artifact": false,
246
+ "project": "lerobot",
247
+ "entity": null,
248
+ "notes": null,
249
+ "run_id": null,
250
+ "mode": null,
251
+ "add_tags": true
252
+ },
253
+ "peft": null,
254
+ "sample_weighting": null,
255
+ "rename_map": {},
256
+ "checkpoint_path": null
257
+ }