CarolinePascal HF Staff maximellerbach commited on
Commit
73e0be2
·
1 Parent(s): 179e8c0

Add model card from LeRobot template (#1)

Browse files

- Add model card from LeRobot template (5991bf37e3d378ffeb4f166b7607382cfa9ce8b5)


Co-authored-by: Maxime Ellerbach <maximellerbach@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +135 -0
README.md ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: lerobot
3
+ license: apache-2.0
4
+ model_name: lingbot_va
5
+ pipeline_tag: robotics
6
+ tags:
7
+ - lerobot
8
+ - lingbot_va
9
+ - robotics
10
+ ---
11
+
12
+ # Model Card for lingbot_va
13
+
14
+ <!-- Provide a quick summary of what the model is/does. -->
15
+
16
+
17
+ [LingBot-VA](https://github.com/Robbyant/lingbot-va) is an autoregressive video-action world-model policy built on the Wan2.2 video-diffusion stack. It interleaves the prediction of future video latents and robot actions in a single autoregressive sequence, feeding observed keyframes back into its KV cache for closed-loop world modeling.
18
+
19
+
20
+
21
+
22
+ <!-- A short demo is worth more than any description! Record a GIF/video of the policy
23
+ running on your robot, upload it to this repo, and embed it here:
24
+ <p align="center">
25
+ <img src="https://huggingface.co/<hf_user>/<policy_repo_id>/resolve/main/demo.gif" width="60%"/>
26
+ </p>
27
+ -->
28
+
29
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
30
+
31
+ Learn how to train and run it in the [LeRobot lingbot_va guide](https://huggingface.co/docs/lerobot/main/en/lingbot_va), or browse the [full documentation](https://huggingface.co/docs/lerobot/index).
32
+
33
+
34
+ ---
35
+
36
+ ## Model Details
37
+
38
+ - **License:** apache-2.0
39
+
40
+
41
+ ## Inputs & Outputs
42
+
43
+ The policy consumes these observation features and produces these action features.
44
+
45
+ **Inputs**
46
+
47
+ | Feature | Type | Shape |
48
+ | --- | --- | --- |
49
+ | `observation.images.image` | VISUAL | `(3, 256, 256)` |
50
+ | `observation.images.image2` | VISUAL | `(3, 256, 256)` |
51
+
52
+ **Outputs**
53
+
54
+ | Feature | Type | Shape |
55
+ | --- | --- | --- |
56
+ | `action` | ACTION | `(7,)` |
57
+
58
+
59
+
60
+ ---
61
+
62
+ ## How to Get Started with the Model
63
+
64
+ New to LeRobot? These guides cover the full workflow:
65
+
66
+ - **[Install LeRobot](https://huggingface.co/docs/lerobot/main/en/installation)** — set up the `lerobot` package.
67
+ - **[Hardware setup](https://huggingface.co/docs/lerobot/main/en/hardware_guide)** — assemble, wire, and calibrate your robot and cameras.
68
+ - **[Record data & train a policy](https://huggingface.co/docs/lerobot/en/il_robots)** — the end-to-end imitation-learning walkthrough.
69
+ - **[CLI cheat-sheet](https://huggingface.co/docs/lerobot/main/en/cheat-sheet)** — quick reference for the `lerobot-*` commands.
70
+
71
+ The short version to run and train this policy:
72
+
73
+ ### Run the policy on your robot
74
+
75
+ ```bash
76
+ lerobot-rollout \
77
+ --strategy.type=base \
78
+ --robot.type=<your_robot_type> \
79
+ --robot.port=<your_robot_port> \
80
+ --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}}" \
81
+ --policy.path=lerobot/lingbot_va_libero_long \
82
+ --task="<your_task_description>" \
83
+ --duration=60
84
+ ```
85
+
86
+ 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.
87
+
88
+ 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).
89
+
90
+ ### Train your own policy
91
+
92
+ ```bash
93
+ lerobot-train \
94
+ --dataset.repo_id=${HF_USER}/<dataset> \
95
+ --policy.type=lingbot_va \
96
+ --output_dir=outputs/train/<policy_repo_id> \
97
+ --job_name=lerobot_training \
98
+ --policy.device=cuda \
99
+ --policy.repo_id=${HF_USER}/<policy_repo_id> \
100
+ --wandb.enable=true
101
+ ```
102
+
103
+ _Writes checkpoints to `outputs/train/<policy_repo_id>/checkpoints/`._
104
+
105
+ ---
106
+
107
+ ## Evaluation
108
+
109
+ <!-- Report real-robot results here: run the policy several times per task and count the
110
+ successes. Delete the "No evaluation results" line and fill in this table instead:
111
+
112
+ | Task | Trials | Successes | Success rate |
113
+ | ---- | ------ | --------- | ------------ |
114
+ | pick the lego brick | 10 | 8 | 80% |
115
+
116
+ Also worth noting: anything that affects difficulty (new object positions, lighting,
117
+ distractors, a different robot of the same type, ...).
118
+ -->
119
+
120
+ _No evaluation results have been provided for this policy yet._
121
+
122
+ ---
123
+
124
+ ## Citation
125
+
126
+ If you use this policy, please cite the method linked in the description above, along with LeRobot:
127
+
128
+ ```bibtex
129
+ @misc{cadene2024lerobot,
130
+ 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},
131
+ title = {LeRobot: State-of-the-art Machine Learning for Real-World Robotics in Pytorch},
132
+ howpublished = "\url{https://github.com/huggingface/lerobot}",
133
+ year = {2024}
134
+ }
135
+ ```