File size: 3,705 Bytes
d1e49fe 438b6cb d1e49fe | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | ---
license: cc-by-nc-4.0
library_name: pytorch
pipeline_tag: robotics
datasets:
- Sharpa-Robotics/SharpaDex-v1.0
tags:
- robotics
- imitation-learning
- dexterous-manipulation
- force
- tactile
---
# Force-aware manipulation policy on SharpaDex
Checkpoints of a small chunked policy for two five-finger hands. It reads three cameras (frozen DINOv2 ViT-S/14
features), joint state, fingertip force and joint torque, and predicts the next 16 joint targets (58 joints, 0.53 s at
30 Hz) together with the fingertip force it expects. Trained on three tasks of the public
[SharpaDex](https://huggingface.co/datasets/Sharpa-Robotics/SharpaDex-v1.0) dataset (`clean_plate_with_eraser`,
`insert_plug_into_socket`, `remove_block_from_box`): 1,032 training episodes (4.31 h); 115 held-out episodes are never
trained on.
Code, results and the commands that reproduce every number: https://github.com/josyulakp/sharpadex-force-policy
(results page: `RESULTS.md`).
## Held-out results (mean absolute joint error, mean of 3 seeds, 50,000 training steps)
| Model | Folder | Joint error (mrad) | In contact | Free motion | Force forecast (N) |
|---|---|---|---|---|---|
| Four experts, with force (released model) | `runs/headline/full` | 13.95 | 13.52 | 14.46 | 0.21 |
| Four plain experts, without force | `runs/headline/no_force` | 14.91 | 14.57 | 15.32 | none |
| Two experts, with force | `runs/headline/two_experts` | 14.34 | 13.57 | 15.27 | 0.20 |
| Two plain experts, without force | `runs/headline/no_force_two_experts` | 14.97 | 14.65 | 15.35 | none |
Reference: holding the current joint state gives 46.72 mrad; "force stays as it is" gives 0.24 N.
These are offline errors against the operator's commands on recorded frames. No policy was run on a robot.
## Files
| Path | What |
|---|---|
| `runs/headline/<variant>/seed{0,1,2}/ckpt.pt` | Policies trained for 50,000 steps, three seeds each, with the run config and the held-out summary |
| `runs/three_tasks/{full,no_force}/seed0/ckpt.pt` | Two-expert policies trained for 8,000 steps (used in the first video world-model rollouts) |
| `runs/<group>/<variant>/seed*/eval_*.npz` | Per-frame held-out evaluation files behind the tables and the report (`scripts/aggregate.py`, `scripts/make_report.py`) |
| `checkpoints/tacforesight/sharpa_eraser/` | TacForeSight tactile world model trained on the eraser task; the four-expert policy reads its latents |
| `checkpoints/primesim/sharpa_three_tasks/step-6000.safetensors` | PrimeSim (Wan 2.2 TI2V 5B) fine-tuned weights, three tasks, commands as input |
| `checkpoints/primesim/sharpa_eraser/step-6000.safetensors` | The same, eraser task only |
| `checkpoints/primesim/kinematics*.pt` | Small networks that map joint commands to the hand poses PrimeSim takes as input |
## Use
The files sit at the paths the code expects. From a clone of the code repository:
```bash
hf download josyula/sharpadex-force-policy --local-dir .
python scripts/evaluate.py runs/headline/full/seed0 # 13.87 mrad for seed 0
```
`evaluate.py` also fetches a missing `ckpt.pt` from this repository by itself. The policy checkpoints are PyTorch pickles
(`torch.load(..., weights_only=False)`) holding the weights, the full config, the normalisation statistics and the
vocabulary; load them only from a source you trust.
## Licence and attribution
Trained on SharpaDex v1.0 (Sharpa Robotics), released under CC BY-NC 4.0; these weights are shared under the same
terms, for non-commercial use. The PrimeSim weights are a fine-tune of [PrimeSim](https://github.com/PrimebotTech/PrimeSim)
(Apache 2.0) and the tactile world model is trained with [TacForeSight](https://github.com/TacForeSight/TacForeSight).
|