Robotics
LeRobot
Safetensors
vla_jepa
Grigorij commited on
Commit
ab7c9f2
·
verified ·
1 Parent(s): 1deb332

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +163 -0
  2. config.json +105 -0
  3. model.safetensors +3 -0
  4. train_config.json +260 -0
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: Grigorij/PaP_objects_sum
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: vla_jepa
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - vla_jepa
9
+ - robotics
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
+ [VLA-JEPA](https://arxiv.org/abs/2602.10098) is a Vision-Language-Action model that combines a Qwen3-VL language backbone with a self-supervised video world model (V-JEPA2) and a flow-matching DiT action head.
19
+
20
+
21
+
22
+
23
+ <!-- A short demo is worth more than any description! Record a GIF/video of the policy
24
+ running on your robot, upload it to this repo, and embed it here:
25
+ <p align="center">
26
+ <img src="https://huggingface.co/<hf_user>/<policy_repo_id>/resolve/main/demo.gif" width="60%"/>
27
+ </p>
28
+ -->
29
+
30
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
31
+
32
+ Learn how to train and run it in the [LeRobot vla_jepa guide](https://huggingface.co/docs/lerobot/main/en/vla_jepa), or browse the [full documentation](https://huggingface.co/docs/lerobot/index).
33
+
34
+
35
+ ---
36
+
37
+ ## Model Details
38
+
39
+ - **License:** apache-2.0
40
+ - **Robot type:** `so_follower`
41
+ - **Cameras:** `front`, `arm`
42
+
43
+
44
+ ## Inputs & Outputs
45
+
46
+ The policy consumes these observation features and produces these action features.
47
+
48
+ **Inputs**
49
+
50
+ | Feature | Type | Shape |
51
+ | --- | --- | --- |
52
+ | `observation.state` | STATE | `(6,)` |
53
+ | `observation.images.front` | VISUAL | `(3, 480, 640)` |
54
+ | `observation.images.arm` | VISUAL | `(3, 480, 640)` |
55
+
56
+ **Outputs**
57
+
58
+ | Feature | Type | Shape |
59
+ | --- | --- | --- |
60
+ | `action` | ACTION | `(6,)` |
61
+
62
+
63
+ ## Training Dataset
64
+
65
+ - **Repository:** [Grigorij/PaP_objects_sum](https://huggingface.co/datasets/Grigorij/PaP_objects_sum)
66
+ - **Episodes:** 77
67
+ - **Frames:** 46122
68
+ - **Frame rate:** 30 FPS
69
+ - **Task(s):** "Put cream to the bowl", "Put yellow duck to the bowl", "Put screwdriver to the bowl"
70
+
71
+ <a class="flex" href="https://huggingface.co/spaces/lerobot/visualize_dataset?path=Grigorij/PaP_objects_sum">
72
+ <img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl.svg"/>
73
+ <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl-dark.svg"/>
74
+ </a>
75
+
76
+
77
+ ## Training Configuration
78
+
79
+ | Setting | Value |
80
+ | --- | --- |
81
+ | Training steps | 80000 |
82
+ | Batch size | 8 |
83
+ | Optimizer | adamw |
84
+ | Learning rate | 0.0001 |
85
+ | Seed | 1000 |
86
+ | LeRobot version | 0.6.1 |
87
+
88
+ ---
89
+
90
+ ## How to Get Started with the Model
91
+
92
+ New to LeRobot? These guides cover the full workflow:
93
+
94
+ - **[Install LeRobot](https://huggingface.co/docs/lerobot/main/en/installation)** — set up the `lerobot` package.
95
+ - **[Hardware setup](https://huggingface.co/docs/lerobot/main/en/hardware_guide)** — assemble, wire, and calibrate your robot and cameras.
96
+ - **[Record data & train a policy](https://huggingface.co/docs/lerobot/en/il_robots)** — the end-to-end imitation-learning walkthrough.
97
+ - **[CLI cheat-sheet](https://huggingface.co/docs/lerobot/main/en/cheat-sheet)** — quick reference for the `lerobot-*` commands.
98
+
99
+ The short version to run and train this policy:
100
+
101
+ ### Run the policy on your robot
102
+
103
+ ```bash
104
+ lerobot-rollout \
105
+ --strategy.type=base \
106
+ --robot.type=so_follower \
107
+ --robot.port=<your_robot_port> \
108
+ --robot.cameras="{ <camera_1>: {type: opencv, index_or_path: <index_or_path>, width: 640, height: 480, fps: 30}, <camera_2>: {type: opencv, index_or_path: <index_or_path>, width: 640, height: 480, fps: 30}}" \
109
+ --policy.path=Grigorij/PaP_objects_sum_vla_jepa \
110
+ --task="Put cream to the bowl" \
111
+ --duration=60
112
+ ```
113
+
114
+ Replace the remaining `<...>` placeholders with your own values: `--robot.port` and the camera names/indices are specific to your machine, and the camera names must match the observation keys this policy was trained on.
115
+
116
+ When `--strategy.type=base` is used the script doesn't record the episodes. Skipping duration will make the policy run indefinitely. For more information look at [rollout documentation](https://huggingface.co/docs/lerobot/main/en/inference).
117
+
118
+ ### Train your own policy
119
+
120
+ ```bash
121
+ lerobot-train \
122
+ --dataset.repo_id=${HF_USER}/<dataset> \
123
+ --policy.type=vla_jepa \
124
+ --output_dir=outputs/train/<policy_repo_id> \
125
+ --job_name=lerobot_training \
126
+ --policy.device=cuda \
127
+ --policy.repo_id=${HF_USER}/<policy_repo_id> \
128
+ --wandb.enable=true
129
+ ```
130
+
131
+ _Writes checkpoints to `outputs/train/<policy_repo_id>/checkpoints/`._
132
+
133
+ ---
134
+
135
+ ## Evaluation
136
+
137
+ <!-- Report real-robot results here: run the policy several times per task and count the
138
+ successes. Delete the "No evaluation results" line and fill in this table instead:
139
+
140
+ | Task | Trials | Successes | Success rate |
141
+ | ---- | ------ | --------- | ------------ |
142
+ | pick the lego brick | 10 | 8 | 80% |
143
+
144
+ Also worth noting: anything that affects difficulty (new object positions, lighting,
145
+ distractors, a different robot of the same type, ...).
146
+ -->
147
+
148
+ _No evaluation results have been provided for this policy yet._
149
+
150
+ ---
151
+
152
+ ## Citation
153
+
154
+ If you use this policy, please cite the method linked in the description above, along with LeRobot:
155
+
156
+ ```bibtex
157
+ @misc{cadene2024lerobot,
158
+ author = {Cadene, Remi and Alibert, Simon and Soare, Alexander and Gallouedec, Quentin and Zouitine, Adil and Palma, Steven and Kooijmans, Pepijn and Aractingi, Michel and Shukor, Mustafa and Aubakirova, Dana and Russi, Martino and Capuano, Francesco and Pascal, Caroline and Choghari, Jade and Moss, Jess and Wolf, Thomas},
159
+ title = {LeRobot: State-of-the-art Machine Learning for Real-World Robotics in Pytorch},
160
+ howpublished = "\url{https://github.com/huggingface/lerobot}",
161
+ year = {2024}
162
+ }
163
+ ```
config.json ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "vla_jepa",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 6
9
+ ]
10
+ },
11
+ "observation.images.front": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.arm": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 6
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": true,
40
+ "repo_id": "Grigorij/PaP_objects_sum_vla_jepa",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": "outputs/train/2026-08-18/17-37-52_vla_jepa/checkpoints/last/pretrained_model",
45
+ "pretrained_revision": null,
46
+ "chunk_size": 7,
47
+ "n_action_steps": 7,
48
+ "normalization_mapping": {
49
+ "VISUAL": "IDENTITY",
50
+ "STATE": "MEAN_STD",
51
+ "ACTION": "MIN_MAX"
52
+ },
53
+ "qwen_model_name": "Qwen/Qwen3-VL-2B-Instruct",
54
+ "jepa_encoder_name": "facebook/vjepa2-vitl-fpc64-256",
55
+ "freeze_qwen": false,
56
+ "enable_world_model": true,
57
+ "reinit_modules": null,
58
+ "tokenizer_padding_side": "left",
59
+ "prompt_template": "Your task is {instruction}. Infer the temporal dynamics from frames {actions} and produce the corresponding policy actions {e_actions}.",
60
+ "special_action_token": "<|action_{}|>",
61
+ "embodied_action_token": "<|embodied_action|>",
62
+ "action_dim": 6,
63
+ "state_dim": 6,
64
+ "num_action_tokens_per_timestep": 8,
65
+ "num_embodied_action_tokens_per_instruction": 32,
66
+ "num_inference_timesteps": 4,
67
+ "action_hidden_size": 1024,
68
+ "action_model_type": "DiT-B",
69
+ "action_num_layers": 16,
70
+ "action_num_heads": null,
71
+ "action_attention_head_dim": null,
72
+ "action_dropout": 0.2,
73
+ "action_num_timestep_buckets": 1000,
74
+ "action_noise_beta_alpha": 1.5,
75
+ "action_noise_beta_beta": 1.0,
76
+ "action_noise_s": 0.999,
77
+ "num_target_vision_tokens": 32,
78
+ "action_max_seq_len": 1024,
79
+ "num_video_frames": 8,
80
+ "predictor_depth": 12,
81
+ "predictor_num_heads": 8,
82
+ "predictor_mlp_ratio": 4.0,
83
+ "predictor_dropout": 0.0,
84
+ "world_model_loss_weight": 0.1,
85
+ "jepa_tubelet_size": 2,
86
+ "repeated_diffusion_steps": 8,
87
+ "resize_images_to": null,
88
+ "binarize_gripper_action": true,
89
+ "pre_snap_gripper_action": true,
90
+ "clip_normalized_actions": true,
91
+ "gripper_dim": 6,
92
+ "gripper_threshold": 0.5,
93
+ "torch_dtype": "bfloat16",
94
+ "optimizer_lr": 0.0001,
95
+ "optimizer_betas": [
96
+ 0.9,
97
+ 0.95
98
+ ],
99
+ "optimizer_eps": 1e-08,
100
+ "optimizer_weight_decay": 1e-10,
101
+ "optimizer_grad_clip_norm": 10.0,
102
+ "scheduler_warmup_steps": 1000,
103
+ "scheduler_decay_steps": 30000,
104
+ "scheduler_decay_lr": 2.5e-06
105
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38b839f61ff95edc95ee0f446c249dafce3e7e96c11ed4e1e57457cffea27e92
3
+ size 6174526720
train_config.json ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Grigorij/PaP_objects_sum",
4
+ "repo_type": "dataset",
5
+ "root": null,
6
+ "episodes": null,
7
+ "image_transforms": {
8
+ "enable": false,
9
+ "max_num_transforms": 3,
10
+ "random_order": false,
11
+ "tfs": {
12
+ "brightness": {
13
+ "weight": 1.0,
14
+ "type": "ColorJitter",
15
+ "kwargs": {
16
+ "brightness": [
17
+ 0.8,
18
+ 1.2
19
+ ]
20
+ }
21
+ },
22
+ "contrast": {
23
+ "weight": 1.0,
24
+ "type": "ColorJitter",
25
+ "kwargs": {
26
+ "contrast": [
27
+ 0.8,
28
+ 1.2
29
+ ]
30
+ }
31
+ },
32
+ "saturation": {
33
+ "weight": 1.0,
34
+ "type": "ColorJitter",
35
+ "kwargs": {
36
+ "saturation": [
37
+ 0.5,
38
+ 1.5
39
+ ]
40
+ }
41
+ },
42
+ "hue": {
43
+ "weight": 1.0,
44
+ "type": "ColorJitter",
45
+ "kwargs": {
46
+ "hue": [
47
+ -0.05,
48
+ 0.05
49
+ ]
50
+ }
51
+ },
52
+ "sharpness": {
53
+ "weight": 1.0,
54
+ "type": "SharpnessJitter",
55
+ "kwargs": {
56
+ "sharpness": [
57
+ 0.5,
58
+ 1.5
59
+ ]
60
+ }
61
+ },
62
+ "affine": {
63
+ "weight": 1.0,
64
+ "type": "RandomAffine",
65
+ "kwargs": {
66
+ "degrees": [
67
+ -5.0,
68
+ 5.0
69
+ ],
70
+ "translate": [
71
+ 0.05,
72
+ 0.05
73
+ ]
74
+ }
75
+ }
76
+ }
77
+ },
78
+ "revision": null,
79
+ "use_imagenet_stats": true,
80
+ "video_backend": "torchcodec",
81
+ "return_uint8": false,
82
+ "depth_output_unit": "mm",
83
+ "streaming": false,
84
+ "eval_split": 0.0
85
+ },
86
+ "env": null,
87
+ "policy": {
88
+ "type": "vla_jepa",
89
+ "n_obs_steps": 1,
90
+ "input_features": {
91
+ "observation.state": {
92
+ "type": "STATE",
93
+ "shape": [
94
+ 6
95
+ ]
96
+ },
97
+ "observation.images.front": {
98
+ "type": "VISUAL",
99
+ "shape": [
100
+ 3,
101
+ 480,
102
+ 640
103
+ ]
104
+ },
105
+ "observation.images.arm": {
106
+ "type": "VISUAL",
107
+ "shape": [
108
+ 3,
109
+ 480,
110
+ 640
111
+ ]
112
+ }
113
+ },
114
+ "output_features": {
115
+ "action": {
116
+ "type": "ACTION",
117
+ "shape": [
118
+ 6
119
+ ]
120
+ }
121
+ },
122
+ "device": "cuda",
123
+ "use_amp": false,
124
+ "use_peft": false,
125
+ "push_to_hub": true,
126
+ "repo_id": "Grigorij/PaP_objects_sum_vla_jepa",
127
+ "private": null,
128
+ "tags": null,
129
+ "license": null,
130
+ "pretrained_path": "outputs/train/2026-08-18/17-37-52_vla_jepa/checkpoints/last/pretrained_model",
131
+ "pretrained_revision": null,
132
+ "chunk_size": 7,
133
+ "n_action_steps": 7,
134
+ "normalization_mapping": {
135
+ "VISUAL": "IDENTITY",
136
+ "STATE": "MEAN_STD",
137
+ "ACTION": "MIN_MAX"
138
+ },
139
+ "qwen_model_name": "Qwen/Qwen3-VL-2B-Instruct",
140
+ "jepa_encoder_name": "facebook/vjepa2-vitl-fpc64-256",
141
+ "freeze_qwen": false,
142
+ "enable_world_model": true,
143
+ "reinit_modules": null,
144
+ "tokenizer_padding_side": "left",
145
+ "prompt_template": "Your task is {instruction}. Infer the temporal dynamics from frames {actions} and produce the corresponding policy actions {e_actions}.",
146
+ "special_action_token": "<|action_{}|>",
147
+ "embodied_action_token": "<|embodied_action|>",
148
+ "action_dim": 6,
149
+ "state_dim": 6,
150
+ "num_action_tokens_per_timestep": 8,
151
+ "num_embodied_action_tokens_per_instruction": 32,
152
+ "num_inference_timesteps": 4,
153
+ "action_hidden_size": 1024,
154
+ "action_model_type": "DiT-B",
155
+ "action_num_layers": 16,
156
+ "action_num_heads": null,
157
+ "action_attention_head_dim": null,
158
+ "action_dropout": 0.2,
159
+ "action_num_timestep_buckets": 1000,
160
+ "action_noise_beta_alpha": 1.5,
161
+ "action_noise_beta_beta": 1.0,
162
+ "action_noise_s": 0.999,
163
+ "num_target_vision_tokens": 32,
164
+ "action_max_seq_len": 1024,
165
+ "num_video_frames": 8,
166
+ "predictor_depth": 12,
167
+ "predictor_num_heads": 8,
168
+ "predictor_mlp_ratio": 4.0,
169
+ "predictor_dropout": 0.0,
170
+ "world_model_loss_weight": 0.1,
171
+ "jepa_tubelet_size": 2,
172
+ "repeated_diffusion_steps": 8,
173
+ "resize_images_to": null,
174
+ "binarize_gripper_action": true,
175
+ "pre_snap_gripper_action": true,
176
+ "clip_normalized_actions": true,
177
+ "gripper_dim": 6,
178
+ "gripper_threshold": 0.5,
179
+ "torch_dtype": "bfloat16",
180
+ "optimizer_lr": 0.0001,
181
+ "optimizer_betas": [
182
+ 0.9,
183
+ 0.95
184
+ ],
185
+ "optimizer_eps": 1e-08,
186
+ "optimizer_weight_decay": 1e-10,
187
+ "optimizer_grad_clip_norm": 10.0,
188
+ "scheduler_warmup_steps": 1000,
189
+ "scheduler_decay_steps": 30000,
190
+ "scheduler_decay_lr": 2.5e-06
191
+ },
192
+ "reward_model": null,
193
+ "output_dir": "outputs/train/2026-08-18/17-37-52_vla_jepa",
194
+ "job_name": "vla_jepa",
195
+ "resume": true,
196
+ "seed": 1000,
197
+ "cudnn_deterministic": false,
198
+ "num_workers": 4,
199
+ "batch_size": 8,
200
+ "prefetch_factor": 4,
201
+ "persistent_workers": true,
202
+ "dataloader_multiprocessing_context": "spawn",
203
+ "steps": 80000,
204
+ "env_eval_freq": 20000,
205
+ "log_freq": 200,
206
+ "eval_steps": 0,
207
+ "max_eval_samples": 0,
208
+ "tolerance_s": 0.0001,
209
+ "save_checkpoint": true,
210
+ "save_freq": 20000,
211
+ "use_policy_training_preset": true,
212
+ "optimizer": {
213
+ "type": "adamw",
214
+ "lr": 0.0001,
215
+ "weight_decay": 1e-10,
216
+ "grad_clip_norm": 10.0,
217
+ "betas": [
218
+ 0.9,
219
+ 0.95
220
+ ],
221
+ "eps": 1e-08
222
+ },
223
+ "scheduler": {
224
+ "type": "cosine_decay_with_warmup",
225
+ "num_warmup_steps": 1000,
226
+ "num_decay_steps": 30000,
227
+ "peak_lr": 0.0001,
228
+ "decay_lr": 2.5e-06
229
+ },
230
+ "eval": {
231
+ "n_episodes": 50,
232
+ "batch_size": 50,
233
+ "use_async_envs": true,
234
+ "recording": false,
235
+ "recording_repo_id": null,
236
+ "recording_private": false
237
+ },
238
+ "wandb": {
239
+ "enable": true,
240
+ "disable_artifact": false,
241
+ "project": "lerobot",
242
+ "entity": null,
243
+ "notes": null,
244
+ "run_id": "xfzwejvs",
245
+ "mode": null,
246
+ "add_tags": true
247
+ },
248
+ "peft": null,
249
+ "job": {
250
+ "target": null,
251
+ "image": "huggingface/lerobot-gpu:latest",
252
+ "timeout": "2d",
253
+ "detach": false,
254
+ "tags": []
255
+ },
256
+ "save_checkpoint_to_hub": true,
257
+ "sample_weighting": null,
258
+ "rename_map": {},
259
+ "checkpoint_path": "outputs/train/2026-08-18/17-37-52_vla_jepa/checkpoints/last"
260
+ }