Run this model with HF Jobs

Run arkojit1/dp_mjstackroy_lr2e-4_bs128_100k_100k on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/arkojit1/dp_mjstackroy_lr2e-4_bs128_100k_100k. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/arkojit1/dp_mjstackroy_lr2e-4_bs128_100k_100k on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Diffusion Policy trained on arkojit1/mj_stack_red_on_yellow — LR 2e-4, batch 128, step 100k of 100k

LeRobot's Diffusion Policy (--policy.type=diffusion), trained from scratch (ResNet18 backbones from ImageNet) with LeRobot 0.7.0 on arkojit1/mj_stack_red_on_yellow (revision 6dbd628): 200 MuJoCo Franka (panda) episodes at 50 Hz of stacking the red block on the yellow block, 4 language tasks (phrasings of "red on yellow").

One ResNet18 per camera (ImageNet weights, spatial-softmax pooling) conditions a 1D convolutional U-Net (down dims 512/1024/2048) that denoises the action chunk with DDPM (100 train timesteps, epsilon prediction). The policy does not read the task string; with a single stacking direction in the data that loses nothing.

  • observation.state (4-D): end-effector x, y, z + gripper
  • action (4-D): [dx, dy, dz, gripper], the cartesian_pos scheme: the dataset's action.ee.delta_xyz followed by action.gripper.target. No rotation is commanded.
  • 1 observation frame (the current frame only), horizon 56 (actions predicted per forward pass, 1.12 s at 50 Hz), 32 executed per inference (0.64 s).

Cameras. The policy's image inputs are the dataset's own keys: observation.image.front, observation.image.wrist, observation.image.side, all 224×224, no crop. Pass all three under their dataset names.

This is the final checkpoint, step 100,000 (149.5 epochs) of a 100,000-step run; it ties the run's lowest eval loss (0.0014, first reached at step 87,000). Eval was still flat-to-falling at the end (mean 0.00147 over the last 10,000 steps), with no overfitting rise.

Trainable 287M parameters, all trainable
Hardware / batch 8 × MI300X (16 per GPU), global batch 128
Steps 100,000 planned (668.7 steps per epoch = 149.5 epochs)
Optimiser Adam, LR 2e-4 peak, betas (0.95, 0.999), weight decay 1e-6
Schedule cosine over 100,000 steps with 500 linear warmup steps, decaying to 0; fp32
Normalisation MIN_MAX for state and action, MEAN_STD for images
Augmentation LeRobot image transforms on training frames
Eval split last 10% of each of the 4 tasks' episodes (20 of 200) held out; trained on the other 180
Eval loss 0.0014 at this step (diffusion ε-MSE on held-out episodes)
Train loss 0.001

Eval loss is the diffusion training objective (MSE on predicted noise at random timesteps) on 20 held-out episodes, not a task success rate; point-to-point scatter is about ±0.0003 late in the run.

LeRobot version. Trained and saved with LeRobot 0.7.0 (diffusers 0.39). Load it with LeRobot 0.7.

from lerobot.policies.diffusion.modeling_diffusion import DiffusionPolicy
policy = DiffusionPolicy.from_pretrained("arkojit1/dp_mjstackroy_lr2e-4_bs128_100k_100k")
Downloads last month
19
Safetensors
Model size
0.3B params
Tensor type
F32
·
Video Preview
loading

Dataset used to train arkojit1/dp_mjstackroy_lr2e-4_bs128_100k_100k