Publish fineart in Lance format
#1
by tsmithv11 - opened
- .gitattributes +6 -0
- README.md +75 -217
- lance/assets.lance/_indices/22b53899-ebaa-4a33-9d6a-d4d5e92a15c5/page_data.lance +3 -0
- lance/assets.lance/_indices/22b53899-ebaa-4a33-9d6a-d4d5e92a15c5/page_lookup.lance +0 -0
- lance/assets.lance/_indices/a3c659e5-24ff-4bc5-8765-734794d46455/page_data.lance +3 -0
- lance/assets.lance/_indices/a3c659e5-24ff-4bc5-8765-734794d46455/page_lookup.lance +0 -0
- lance/assets.lance/_transactions/0-05796d8f-17ae-4929-9d61-09751b9f471b.txn +0 -0
- lance/assets.lance/_transactions/1-cfbd83fa-9e19-48bc-b0db-6f5ce7d1536b.txn +0 -0
- lance/assets.lance/_transactions/2-6582a873-0afb-4b7e-883e-448faee233b0.txn +0 -0
- lance/assets.lance/_versions/18446744073709551612.manifest +0 -0
- lance/assets.lance/_versions/18446744073709551613.manifest +0 -0
- lance/assets.lance/_versions/18446744073709551614.manifest +0 -0
- lance/assets.lance/_versions/latest_version_hint.json +1 -0
- lance/assets.lance/data/1100011000100001000001111c42b343638010e8fa69f054bb.lance +3 -0
- lance/episodes.lance/_indices/2dbf74b5-96bd-49b2-9914-76076569dedd/page_data.lance +3 -0
- lance/episodes.lance/_indices/2dbf74b5-96bd-49b2-9914-76076569dedd/page_lookup.lance +0 -0
- lance/episodes.lance/_indices/36467597-470e-4b6b-8df2-082f04efd8ae/page_data.lance +0 -0
- lance/episodes.lance/_indices/36467597-470e-4b6b-8df2-082f04efd8ae/page_lookup.lance +0 -0
- lance/episodes.lance/_transactions/0-dc2bbfd8-ce19-4799-b032-df28834a0cf2.txn +0 -0
- lance/episodes.lance/_transactions/1-ecaad17f-79bb-486c-9cfc-36506cd224ea.txn +0 -0
- lance/episodes.lance/_transactions/2-a9159611-77cd-43aa-9cb1-6e40ac3c242e.txn +0 -0
- lance/episodes.lance/_versions/18446744073709551612.manifest +0 -0
- lance/episodes.lance/_versions/18446744073709551613.manifest +0 -0
- lance/episodes.lance/_versions/18446744073709551614.manifest +0 -0
- lance/episodes.lance/_versions/latest_version_hint.json +1 -0
- lance/episodes.lance/data/100101001010110110000011e3816b4963a425188da339673c.lance +3 -0
- lance/release.json +86 -0
- lance/tasks.lance/_transactions/0-dcf62ba5-e485-48f6-b2b5-6577bccc4245.txn +0 -0
- lance/tasks.lance/_versions/18446744073709551614.manifest +0 -0
- lance/tasks.lance/_versions/latest_version_hint.json +1 -0
- lance/tasks.lance/data/010001010001010111110000aff552436e8ad2b59f07f8054a.lance +3 -0
- source/README.md +243 -0
- viewer/episodes-train.parquet +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
lance/assets.lance/_indices/22b53899-ebaa-4a33-9d6a-d4d5e92a15c5/page_data.lance filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
lance/assets.lance/_indices/a3c659e5-24ff-4bc5-8765-734794d46455/page_data.lance filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
lance/assets.lance/data/1100011000100001000001111c42b343638010e8fa69f054bb.lance filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
lance/episodes.lance/_indices/2dbf74b5-96bd-49b2-9914-76076569dedd/page_data.lance filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
lance/episodes.lance/data/100101001010110110000011e3816b4963a425188da339673c.lance filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
lance/tasks.lance/data/010001010001010111110000aff552436e8ad2b59f07f8054a.lance filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,243 +1,101 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
|
|
|
|
|
|
|
|
|
| 3 |
task_categories:
|
| 4 |
-
|
| 5 |
tags:
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
size_categories:
|
| 13 |
-
- 10K<n<100K
|
| 14 |
configs:
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
-
# FineART
|
| 20 |
|
| 21 |
-
FineART
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
-
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
|
| 30 |
-
🤖 **Model (FineART-VLA):** <!-- TODO: link -->
|
| 31 |
-
💻 **Code:** [LeRobot](https://github.com/huggingface/lerobot/tree/main/src/lerobot/policies/fineart_vla)
|
| 32 |
|
| 33 |
-
##
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
| | |
|
| 38 |
-
|---|---|
|
| 39 |
-
| Episodes | 40,543 (185.5M frames, 1,718 h, ~152.5 s each) |
|
| 40 |
-
| Tasks | 151: everyday pick-and-place and sorting (~77% of hours) plus a long tail of contact-rich skills (deformable objects, tool use, cable routing, compliant alignment, precision insertion) |
|
| 41 |
-
| Robot | Trossen Stationary AI, ALOHA2 grippers, 14-dim joint + gripper state/action |
|
| 42 |
-
| Cameras | `cam_high` (bird's-eye), `cam_low` (worm's-eye), `cam_left_wrist`, `cam_right_wrist`; 360×640 RGB video |
|
| 43 |
-
| Frame rate | 30 fps in the LeRobot files (`meta/info.json`) |
|
| 44 |
-
| Format | [LeRobot](https://github.com/huggingface/lerobot) dataset **v3.0** |
|
| 45 |
-
| Annotations | Whole-episode text summary with execution-quality / success metadata; contiguous, non-overlapping subtask segments with free-text descriptions |
|
| 46 |
-
|
| 47 |
-
Annotations were written by human annotators (no VLM assistance), separate from the teleoperators, and audited by a third team. They are specific: colors are mentioned in 81% of object mentions, and same-class objects are disambiguated 81% of the time (e.g. "the red cup" vs "the blue cup").
|
| 48 |
-
|
| 49 |
-
## Quick start
|
| 50 |
-
|
| 51 |
-
Install a LeRobot version that supports the language columns (`language_persistent` / `language_events`):
|
| 52 |
|
| 53 |
```bash
|
| 54 |
-
pip install
|
| 55 |
-
```
|
| 56 |
-
|
| 57 |
-
### Load the dataset
|
| 58 |
-
|
| 59 |
-
```python
|
| 60 |
-
from lerobot.datasets.lerobot_dataset import LeRobotDataset
|
| 61 |
-
|
| 62 |
-
ds = LeRobotDataset("lerobot/FineART")
|
| 63 |
-
print(ds.num_episodes, ds.num_frames, ds.fps) # 40543, 185534500, 30
|
| 64 |
-
print(ds.features.keys())
|
| 65 |
-
```
|
| 66 |
-
|
| 67 |
-
To train on a subset or avoid downloading everything, select episodes:
|
| 68 |
-
|
| 69 |
-
```python
|
| 70 |
-
ds = LeRobotDataset("lerobot/FineART", episodes=[0, 1, 2])
|
| 71 |
-
```
|
| 72 |
-
|
| 73 |
-
To stream instead of download:
|
| 74 |
-
|
| 75 |
-
```python
|
| 76 |
-
from lerobot.datasets.streaming_dataset import StreamingLeRobotDataset
|
| 77 |
-
|
| 78 |
-
ds = StreamingLeRobotDataset("lerobot/FineART")
|
| 79 |
```
|
| 80 |
|
| 81 |
-
A local copy works the same way: pass `root="/path/to/fineart-dataset"`.
|
| 82 |
-
|
| 83 |
-
### Get a frame
|
| 84 |
-
|
| 85 |
```python
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
```
|
| 97 |
|
| 98 |
-
The
|
| 99 |
-
|
| 100 |
-
### Inspect the task (whole-episode instruction)
|
| 101 |
-
|
| 102 |
-
`meta/tasks.parquet` has two columns, `task_index` and `task`. Look the task string up by `task_index`:
|
| 103 |
|
| 104 |
```python
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
```
|
| 112 |
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
## Subtask annotations: `language_persistent`
|
| 116 |
-
|
| 117 |
-
Every frame carries a `language_persistent` column. It holds the **full list of subtask rows for the episode**, repeated on every frame (that is what "persistent" means). Each row is a dict:
|
| 118 |
-
|
| 119 |
-
| field | meaning |
|
| 120 |
-
|---|---|
|
| 121 |
-
| `role` | always `"assistant"` for subtasks |
|
| 122 |
-
| `content` | the subtask text, e.g. `"Put the right black candle holder on the shelf"` |
|
| 123 |
-
| `style` | `"subtask"` |
|
| 124 |
-
| `timestamp` | **start time in seconds** (episode-relative) from which this subtask is active |
|
| 125 |
-
| `camera` | `null` |
|
| 126 |
-
| `tool_calls` | `null` |
|
| 127 |
-
|
| 128 |
-
Example (episode 0):
|
| 129 |
-
|
| 130 |
-
```python
|
| 131 |
-
frame = ds[0]
|
| 132 |
-
for row in frame["language_persistent"]:
|
| 133 |
-
print(f'{row["timestamp"]:6.1f}s {row["content"]}')
|
| 134 |
-
```
|
| 135 |
-
|
| 136 |
-
```text
|
| 137 |
-
1.9s Put the transparent glass candle holder on the shelf
|
| 138 |
-
12.5s Put the top right pink glass candle holder on the shelf aligned with the other glass candle holder
|
| 139 |
-
27.0s Put the pink glass candle holder on the shelf aligned with the other glass candle holders
|
| 140 |
-
43.3s Put the right black candle holder on the shelf
|
| 141 |
-
55.9s Put the left black candle holder on the shelf aligned with the other black candle holder
|
| 142 |
-
68.4s Put the black candle holder on the shelf aligned with the other black candle holder
|
| 143 |
-
77.8s Return to Home Position
|
| 144 |
-
```
|
| 145 |
-
|
| 146 |
-
Subtasks are contiguous and non-overlapping: a row is active from its `timestamp` until the next row's `timestamp` (the last one runs to the end of the episode).
|
| 147 |
-
|
| 148 |
-
### Which subtask is active at this frame?
|
| 149 |
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
```python
|
| 153 |
-
from lerobot.datasets.language_render import active_at
|
| 154 |
-
|
| 155 |
-
frame = ds[1000]
|
| 156 |
-
t = float(frame["timestamp"])
|
| 157 |
-
row = active_at(t, persistent=frame["language_persistent"], style="subtask")
|
| 158 |
-
print(t, "->", row["content"] if row else "(before the first subtask)")
|
| 159 |
-
```
|
| 160 |
-
|
| 161 |
-
Or in plain Python:
|
| 162 |
-
|
| 163 |
-
```python
|
| 164 |
-
def current_subtask(frame):
|
| 165 |
-
t = float(frame["timestamp"])
|
| 166 |
-
rows = [r for r in frame["language_persistent"] if r["timestamp"] <= t]
|
| 167 |
-
return max(rows, key=lambda r: r["timestamp"])["content"] if rows else None
|
| 168 |
-
```
|
| 169 |
-
|
| 170 |
-
Frames before the first subtask timestamp (the first ~2 s of an episode) have no active subtask.
|
| 171 |
-
|
| 172 |
-
### Next subtask / segment boundaries
|
| 173 |
-
|
| 174 |
-
```python
|
| 175 |
-
rows = sorted(frame["language_persistent"], key=lambda r: r["timestamp"])
|
| 176 |
-
segments = [(r["timestamp"], rows[i + 1]["timestamp"] if i + 1 < len(rows) else None, r["content"])
|
| 177 |
-
for i, r in enumerate(rows)]
|
| 178 |
-
```
|
| 179 |
-
|
| 180 |
-
### `language_events`
|
| 181 |
-
|
| 182 |
-
`language_events` is the sibling column for event-style annotations (interjections, VQA, speech) that attach to a single frame. In FineART the subtask labels live in `language_persistent`; `language_events` is empty (`[]`).
|
| 183 |
-
|
| 184 |
-
## Train directly on step-by-step language
|
| 185 |
-
|
| 186 |
-
LeRobot's recipe layer turns the rows above into chat-style samples on the fly, with no preprocessing. A minimal recipe that asks the model to predict the active subtask from the episode task:
|
| 187 |
-
|
| 188 |
-
```yaml
|
| 189 |
-
messages:
|
| 190 |
-
- { role: user, content: "${task}", stream: high_level }
|
| 191 |
-
- { role: assistant, content: "${subtask}", stream: low_level, target: true }
|
| 192 |
-
```
|
| 193 |
-
|
| 194 |
-
`${subtask}` is bound to `active_at(t, style=subtask)` at each frame. See the LeRobot docs page *Language columns and recipes* and the `subtask_mem` recipes for blends (high-level subtask prediction + low-level execution). FineART-VLA is trained this way.
|
| 195 |
-
|
| 196 |
-
## Dataset structure
|
| 197 |
-
|
| 198 |
-
```text
|
| 199 |
-
fineart-dataset/
|
| 200 |
-
├── meta/
|
| 201 |
-
│ ├── info.json # features, fps, shapes, paths
|
| 202 |
-
│ ├── stats.json # per-feature normalization stats
|
| 203 |
-
│ ├── tasks.parquet # task_index -> task string (151 tasks)
|
| 204 |
-
│ └── episodes/ # per-episode metadata (lengths, file/offset pointers)
|
| 205 |
-
├── data/chunk-XXX/file-XXX.parquet # frames: state, action, language_*, indices
|
| 206 |
-
└── videos/<camera>/chunk-XXX/file-XXX.mp4 # one video stream per camera
|
| 207 |
-
```
|
| 208 |
-
|
| 209 |
-
Features per frame:
|
| 210 |
-
|
| 211 |
-
| key | dtype / shape | notes |
|
| 212 |
-
|---|---|---|
|
| 213 |
-
| `observation.state` | float32 `[14]` | joint + gripper positions |
|
| 214 |
-
| `action` | float32 `[14]` | joint + gripper targets |
|
| 215 |
-
| `observation.images.cam_high` / `cam_low` / `cam_left_wrist` / `cam_right_wrist` | video, `[360, 640, 3]` | |
|
| 216 |
-
| `language_persistent` | list of structs | subtask rows (see above) |
|
| 217 |
-
| `language_events` | list of structs | unused (empty) |
|
| 218 |
-
| `task_index` | int64 | index into `meta/tasks.parquet` |
|
| 219 |
-
| `episode_index`, `frame_index`, `index`, `timestamp` | int64 / float32 | standard LeRobot indices |
|
| 220 |
-
|
| 221 |
-
Everything is in one `train` split (`0:40543`); create your own held-out episodes by `episode_index`.
|
| 222 |
-
|
| 223 |
-
## Tips
|
| 224 |
-
|
| 225 |
-
- **Imbalanced tasks.** About 77% of hours are everyday pick-and-place/sorting. If you want the contact-rich long tail represented, sample by task (use `task_index`) rather than uniformly over frames.
|
| 226 |
-
- **Large dataset.** ~185M frames of 4-camera video. Use `episodes=[...]` or `StreamingLeRobotDataset` for experiments; use a `DataLoader` with several workers and `video_backend="pyav"`/`"torchcodec"` for training.
|
| 227 |
-
- **Timestamps are episode-relative seconds**, the same clock as the frame `timestamp`, so subtask alignment needs no conversion.
|
| 228 |
-
|
| 229 |
-
## FineART-VLA
|
| 230 |
-
|
| 231 |
-
[FineART-VLA](https://arxiv.org/abs/2609.36416) is our single policy that predicts its own next subtask in language and then acts on it. Mid-training on FineART's subtask annotations raised success on a spatial-instruction task from 32% to 100% and on a long-horizon task (with human subtask guidance) from 16% to 76%. On a new robot (YAM), FineART mid-training matched baseline performance with about 10× less fine-tuning data. See the paper for details.
|
| 232 |
-
|
| 233 |
-
## Citation
|
| 234 |
-
|
| 235 |
-
```bibtex
|
| 236 |
-
@article{choghari2026fineart,
|
| 237 |
-
title = {{FineART}: Fine-Grained Annotated Robotic Trajectory Dataset and Vision-Language-Action Model for Bimanual Manipulation},
|
| 238 |
-
author = {Choghari, Jade and Kooijmans, Pepijn and Agarwal, Mansi and Ciftci, Yusuf Umut and Doriwala, Aseem and Weaver, Catherine and Sivapurapu, Mouli and Yang, Kai and Wolf, Thomas and Lee, Jackson and Mannam, Pragna},
|
| 239 |
-
journal = {arXiv preprint arXiv:2609.36416},
|
| 240 |
-
year = {2026},
|
| 241 |
-
url = {https://arxiv.org/abs/2609.36416}
|
| 242 |
-
}
|
| 243 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
+
pretty_name: FineART in Lance
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
task_categories:
|
| 7 |
+
- robotics
|
| 8 |
tags:
|
| 9 |
+
- lance
|
| 10 |
+
- lerobot
|
| 11 |
+
- robotics
|
| 12 |
+
- bimanual-manipulation
|
| 13 |
+
- vision-language-action
|
| 14 |
+
- subtask-annotations
|
|
|
|
|
|
|
| 15 |
configs:
|
| 16 |
+
- config_name: default
|
| 17 |
+
default: true
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: viewer/episodes-train.parquet
|
| 21 |
---
|
| 22 |
|
| 23 |
+
# FineART in Lance
|
| 24 |
|
| 25 |
+
Find bimanual robot demonstrations by task and open the corresponding episode metadata, frame records, or camera footage. FineART was co-released by Scale AI and Hugging Face LeRobot. The Physical AI team at Scale AI collected and annotated the trajectories. [Original FineART dataset and pinned source revision](https://huggingface.co/datasets/lerobot/FineART/tree/15746b76ddc21ffd38d73888fefe2e7a1496385b)
|
| 26 |
|
| 27 |
+
## Data and split
|
| 28 |
|
| 29 |
+
The original `train` split contains 40,543 episodes, 185,534,500 frames at 30 fps, and 151 tasks. Four camera views accompany each episode. The source supplies 533,913 subtask labels in the frame records. The [Data Studio preview](https://huggingface.co/datasets/lance-format/fineart-lance/viewer/default/train) reads the Parquet episode table, with one row per original episode.
|
| 30 |
|
| 31 |
+
| Lance table | Rows | Contents |
|
| 32 |
+
| --- | ---: | --- |
|
| 33 |
+
| `lance/tasks.lance` | 151 | Original task ID and text, episode and frame counts, the first matching episode ID, and one retrieval vector per task |
|
| 34 |
+
| `lance/episodes.lance` | 40,543 | All 59 source episode fields, the original split, a task ID and label, the frame shard path, and the four camera paths |
|
| 35 |
+
| `lance/assets.lance` | 162,393 | Original path, file size, hashes, and native Lance Blob v2 ranges for 211 frame Parquet shards, 162,172 camera videos, and 10 metadata files |
|
| 36 |
|
| 37 |
+
The original LeRobot files keep their byte content and paths under `data/`, `meta/`, and `videos/`. Every frame and annotation is accessible through the original Parquet blobs. The `dataset_from_index` and `dataset_to_index` columns give half-open global frame ranges. `frame_shard_path` identifies the file for each episode. The camera paths address byte-identical MP4 files. The episode table maps `/` to `__` and `.` to `_` in source column names and retains their original values and types. [Field mapping and release manifest](lance/release.json)
|
|
|
|
|
|
|
| 38 |
|
| 39 |
+
## Search tasks
|
| 40 |
|
| 41 |
+
The source has no retrieval embeddings. This release embeds the 151 original English task labels from `meta/tasks.parquet` using `sentence-transformers/static-retrieval-mrl-en-v1`. The vectors use the first 256 dimensions of the model’s Matryoshka representation, with L2 normalization and cosine distance. The example encodes a compatible English query and prints cosine similarity, the task ID and name, and an example episode ID for the five nearest tasks. [Pinned encoder revision](https://huggingface.co/sentence-transformers/static-retrieval-mrl-en-v1/tree/f60985c706f192d45d218078e49e5a8b6f15283a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
```bash
|
| 44 |
+
pip install pylance==14.0.3 huggingface_hub==2.4.0 sentence-transformers==6.3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
```
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
```python
|
| 48 |
+
import lance
|
| 49 |
+
from huggingface_hub import HfApi
|
| 50 |
+
from sentence_transformers import SentenceTransformer
|
| 51 |
+
|
| 52 |
+
repo = "lance-format/fineart-lance"
|
| 53 |
+
root = f"hf://datasets/{repo}"
|
| 54 |
+
revision = HfApi(token=False).dataset_info(repo, token=False).sha
|
| 55 |
+
options = {"hf_revision": revision}
|
| 56 |
+
model = SentenceTransformer(
|
| 57 |
+
"sentence-transformers/static-retrieval-mrl-en-v1",
|
| 58 |
+
revision="f60985c706f192d45d218078e49e5a8b6f15283a",
|
| 59 |
+
truncate_dim=256,
|
| 60 |
+
device="cpu",
|
| 61 |
+
)
|
| 62 |
+
query = "Pick up glass candle holders and arrange them on a shelf"
|
| 63 |
+
query_vector = model.encode_query(query, normalize_embeddings=True)
|
| 64 |
+
tasks = lance.dataset(f"{root}/lance/tasks.lance", storage_options=options)
|
| 65 |
+
hits = tasks.to_table(
|
| 66 |
+
columns=["task_index", "task", "episode_count", "example_episode_index", "_distance"],
|
| 67 |
+
nearest={"column": "embedding", "q": query_vector, "k": 5, "metric": "cosine"},
|
| 68 |
+
).to_pylist()
|
| 69 |
+
for hit in hits:
|
| 70 |
+
print(f"{1 - hit['_distance']:.4f} task={hit['task_index']} "
|
| 71 |
+
f"{hit['task']} episodes={hit['episode_count']} "
|
| 72 |
+
f"example_episode={hit['example_episode_index']}")
|
| 73 |
```
|
| 74 |
|
| 75 |
+
The first result includes a representative source episode. Use its `episode_index` to open the matching metadata and get the exterior camera clip as an original file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
```python
|
| 78 |
+
from pathlib import Path
|
| 79 |
+
|
| 80 |
+
episode_id = hits[0]["example_episode_index"]
|
| 81 |
+
episodes = lance.dataset(f"{root}/lance/episodes.lance", storage_options=options)
|
| 82 |
+
episode, = episodes.to_table(
|
| 83 |
+
filter=f"episode_index = {episode_id}",
|
| 84 |
+
columns=["episode_index", "task", "frame_shard_path", "cam_high_path"],
|
| 85 |
+
).to_pylist()
|
| 86 |
+
|
| 87 |
+
assets = lance.dataset(
|
| 88 |
+
f"{root}/lance/assets.lance", storage_options=options,
|
| 89 |
+
base_store_params={root: options},
|
| 90 |
+
)
|
| 91 |
+
clip_path = episode["cam_high_path"]
|
| 92 |
+
asset_row, = assets.to_table(
|
| 93 |
+
filter=f"source_path = '{clip_path}'", columns=["size_bytes"], with_row_id=True,
|
| 94 |
+
).to_pylist()
|
| 95 |
+
clip, = assets.take_blobs("asset", ids=[asset_row["_rowid"]])
|
| 96 |
+
Path(f"fineart-{episode_id}-cam-high.mp4").write_bytes(clip.read())
|
| 97 |
```
|
| 98 |
|
| 99 |
+
## License and attribution
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
|
| 101 |
+
FineART is licensed under [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/). Credit Jade Choghari and coauthors, Scale AI, and Hugging Face LeRobot. This release adds Lance tables, task embeddings and a Parquet preview. The original files remain available in their published form. [Archived source card and full citation](source/README.md) · [FineART paper](https://arxiv.org/abs/2609.36416)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lance/assets.lance/_indices/22b53899-ebaa-4a33-9d6a-d4d5e92a15c5/page_data.lance
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dc44b1377a99f786cf2a070831097a8a26214a1568c8b72baacb7c3aede676b
|
| 3 |
+
size 654013
|
lance/assets.lance/_indices/22b53899-ebaa-4a33-9d6a-d4d5e92a15c5/page_lookup.lance
ADDED
|
Binary file (2.06 kB). View file
|
|
|
lance/assets.lance/_indices/a3c659e5-24ff-4bc5-8765-734794d46455/page_data.lance
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0b3d0ff6fc2a6a35f988625a634e5d64117906716bd5dd3d66ca2b00260373d
|
| 3 |
+
size 3112393
|
lance/assets.lance/_indices/a3c659e5-24ff-4bc5-8765-734794d46455/page_lookup.lance
ADDED
|
Binary file (6.32 kB). View file
|
|
|
lance/assets.lance/_transactions/0-05796d8f-17ae-4929-9d61-09751b9f471b.txn
ADDED
|
Binary file (722 Bytes). View file
|
|
|
lance/assets.lance/_transactions/1-cfbd83fa-9e19-48bc-b0db-6f5ce7d1536b.txn
ADDED
|
Binary file (200 Bytes). View file
|
|
|
lance/assets.lance/_transactions/2-6582a873-0afb-4b7e-883e-448faee233b0.txn
ADDED
|
Binary file (201 Bytes). View file
|
|
|
lance/assets.lance/_versions/18446744073709551612.manifest
ADDED
|
Binary file (1.33 kB). View file
|
|
|
lance/assets.lance/_versions/18446744073709551613.manifest
ADDED
|
Binary file (1.17 kB). View file
|
|
|
lance/assets.lance/_versions/18446744073709551614.manifest
ADDED
|
Binary file (1.53 kB). View file
|
|
|
lance/assets.lance/_versions/latest_version_hint.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3}
|
lance/assets.lance/data/1100011000100001000001111c42b343638010e8fa69f054bb.lance
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:673f60d0f588432f76d715c2a0836d607e6a7173d5598c7d614c68009dbaf4fb
|
| 3 |
+
size 24216234
|
lance/episodes.lance/_indices/2dbf74b5-96bd-49b2-9914-76076569dedd/page_data.lance
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccd5ae232d3a79d58dee8d1c20cca039696da2d619d60e088458beaaa08aca8e
|
| 3 |
+
size 149773
|
lance/episodes.lance/_indices/2dbf74b5-96bd-49b2-9914-76076569dedd/page_lookup.lance
ADDED
|
Binary file (1.25 kB). View file
|
|
|
lance/episodes.lance/_indices/36467597-470e-4b6b-8df2-082f04efd8ae/page_data.lance
ADDED
|
Binary file (84.8 kB). View file
|
|
|
lance/episodes.lance/_indices/36467597-470e-4b6b-8df2-082f04efd8ae/page_lookup.lance
ADDED
|
Binary file (1.25 kB). View file
|
|
|
lance/episodes.lance/_transactions/0-dc2bbfd8-ce19-4799-b032-df28834a0cf2.txn
ADDED
|
Binary file (4.89 kB). View file
|
|
|
lance/episodes.lance/_transactions/1-ecaad17f-79bb-486c-9cfc-36506cd224ea.txn
ADDED
|
Binary file (201 Bytes). View file
|
|
|
lance/episodes.lance/_transactions/2-a9159611-77cd-43aa-9cb1-6e40ac3c242e.txn
ADDED
|
Binary file (198 Bytes). View file
|
|
|
lance/episodes.lance/_versions/18446744073709551612.manifest
ADDED
|
Binary file (5.49 kB). View file
|
|
|
lance/episodes.lance/_versions/18446744073709551613.manifest
ADDED
|
Binary file (5.34 kB). View file
|
|
|
lance/episodes.lance/_versions/18446744073709551614.manifest
ADDED
|
Binary file (9.86 kB). View file
|
|
|
lance/episodes.lance/_versions/latest_version_hint.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3}
|
lance/episodes.lance/data/100101001010110110000011e3816b4963a425188da339673c.lance
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:239c53d5c3924294b07998edf4a5e1d115f7bfd838ba53115a872a3a3c5569a9
|
| 3 |
+
size 45665657
|
lance/release.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source_repo": "lerobot/FineART",
|
| 3 |
+
"source_revision": "15746b76ddc21ffd38d73888fefe2e7a1496385b",
|
| 4 |
+
"source_files_including_gitattributes": 162394,
|
| 5 |
+
"source_bytes_including_gitattributes": 1855974100202,
|
| 6 |
+
"asset_counts": {
|
| 7 |
+
"metadata": 10,
|
| 8 |
+
"frame_shard": 211,
|
| 9 |
+
"camera_video": 162172
|
| 10 |
+
},
|
| 11 |
+
"episodes": 40543,
|
| 12 |
+
"tasks": 151,
|
| 13 |
+
"frames": 185534500,
|
| 14 |
+
"subtask_count_from_episode_metadata": 533913,
|
| 15 |
+
"split_source_episode_ranges": {
|
| 16 |
+
"train": "0:40543"
|
| 17 |
+
},
|
| 18 |
+
"source_episode_fields": {
|
| 19 |
+
"episode_index": "episode_index",
|
| 20 |
+
"tasks": "tasks",
|
| 21 |
+
"length": "length",
|
| 22 |
+
"subtask_count": "subtask_count",
|
| 23 |
+
"data/chunk_index": "data__chunk_index",
|
| 24 |
+
"data/file_index": "data__file_index",
|
| 25 |
+
"dataset_from_index": "dataset_from_index",
|
| 26 |
+
"dataset_to_index": "dataset_to_index",
|
| 27 |
+
"stats/observation.state/min": "stats__observation_state__min",
|
| 28 |
+
"stats/observation.state/max": "stats__observation_state__max",
|
| 29 |
+
"stats/observation.state/mean": "stats__observation_state__mean",
|
| 30 |
+
"stats/observation.state/std": "stats__observation_state__std",
|
| 31 |
+
"stats/observation.state/count": "stats__observation_state__count",
|
| 32 |
+
"stats/action/min": "stats__action__min",
|
| 33 |
+
"stats/action/max": "stats__action__max",
|
| 34 |
+
"stats/action/mean": "stats__action__mean",
|
| 35 |
+
"stats/action/std": "stats__action__std",
|
| 36 |
+
"stats/action/count": "stats__action__count",
|
| 37 |
+
"stats/timestamp/min": "stats__timestamp__min",
|
| 38 |
+
"stats/timestamp/max": "stats__timestamp__max",
|
| 39 |
+
"stats/timestamp/mean": "stats__timestamp__mean",
|
| 40 |
+
"stats/timestamp/std": "stats__timestamp__std",
|
| 41 |
+
"stats/timestamp/count": "stats__timestamp__count",
|
| 42 |
+
"stats/frame_index/min": "stats__frame_index__min",
|
| 43 |
+
"stats/frame_index/max": "stats__frame_index__max",
|
| 44 |
+
"stats/frame_index/mean": "stats__frame_index__mean",
|
| 45 |
+
"stats/frame_index/std": "stats__frame_index__std",
|
| 46 |
+
"stats/frame_index/count": "stats__frame_index__count",
|
| 47 |
+
"stats/episode_index/min": "stats__episode_index__min",
|
| 48 |
+
"stats/episode_index/max": "stats__episode_index__max",
|
| 49 |
+
"stats/episode_index/mean": "stats__episode_index__mean",
|
| 50 |
+
"stats/episode_index/std": "stats__episode_index__std",
|
| 51 |
+
"stats/episode_index/count": "stats__episode_index__count",
|
| 52 |
+
"stats/index/min": "stats__index__min",
|
| 53 |
+
"stats/index/max": "stats__index__max",
|
| 54 |
+
"stats/index/mean": "stats__index__mean",
|
| 55 |
+
"stats/index/std": "stats__index__std",
|
| 56 |
+
"stats/index/count": "stats__index__count",
|
| 57 |
+
"stats/task_index/min": "stats__task_index__min",
|
| 58 |
+
"stats/task_index/max": "stats__task_index__max",
|
| 59 |
+
"stats/task_index/mean": "stats__task_index__mean",
|
| 60 |
+
"stats/task_index/std": "stats__task_index__std",
|
| 61 |
+
"stats/task_index/count": "stats__task_index__count",
|
| 62 |
+
"videos/observation.images.cam_high/chunk_index": "videos__observation_images_cam_high__chunk_index",
|
| 63 |
+
"videos/observation.images.cam_high/file_index": "videos__observation_images_cam_high__file_index",
|
| 64 |
+
"videos/observation.images.cam_high/from_timestamp": "videos__observation_images_cam_high__from_timestamp",
|
| 65 |
+
"videos/observation.images.cam_high/to_timestamp": "videos__observation_images_cam_high__to_timestamp",
|
| 66 |
+
"videos/observation.images.cam_low/chunk_index": "videos__observation_images_cam_low__chunk_index",
|
| 67 |
+
"videos/observation.images.cam_low/file_index": "videos__observation_images_cam_low__file_index",
|
| 68 |
+
"videos/observation.images.cam_low/from_timestamp": "videos__observation_images_cam_low__from_timestamp",
|
| 69 |
+
"videos/observation.images.cam_low/to_timestamp": "videos__observation_images_cam_low__to_timestamp",
|
| 70 |
+
"videos/observation.images.cam_left_wrist/chunk_index": "videos__observation_images_cam_left_wrist__chunk_index",
|
| 71 |
+
"videos/observation.images.cam_left_wrist/file_index": "videos__observation_images_cam_left_wrist__file_index",
|
| 72 |
+
"videos/observation.images.cam_left_wrist/from_timestamp": "videos__observation_images_cam_left_wrist__from_timestamp",
|
| 73 |
+
"videos/observation.images.cam_left_wrist/to_timestamp": "videos__observation_images_cam_left_wrist__to_timestamp",
|
| 74 |
+
"videos/observation.images.cam_right_wrist/chunk_index": "videos__observation_images_cam_right_wrist__chunk_index",
|
| 75 |
+
"videos/observation.images.cam_right_wrist/file_index": "videos__observation_images_cam_right_wrist__file_index",
|
| 76 |
+
"videos/observation.images.cam_right_wrist/from_timestamp": "videos__observation_images_cam_right_wrist__from_timestamp",
|
| 77 |
+
"videos/observation.images.cam_right_wrist/to_timestamp": "videos__observation_images_cam_right_wrist__to_timestamp"
|
| 78 |
+
},
|
| 79 |
+
"embedding": {
|
| 80 |
+
"model": "sentence-transformers/static-retrieval-mrl-en-v1",
|
| 81 |
+
"revision": "f60985c706f192d45d218078e49e5a8b6f15283a",
|
| 82 |
+
"dimensions": 256,
|
| 83 |
+
"metric": "cosine",
|
| 84 |
+
"query": "Pick up glass candle holders and arrange them on a shelf"
|
| 85 |
+
}
|
| 86 |
+
}
|
lance/tasks.lance/_transactions/0-dcf62ba5-e485-48f6-b2b5-6577bccc4245.txn
ADDED
|
Binary file (392 Bytes). View file
|
|
|
lance/tasks.lance/_versions/18446744073709551614.manifest
ADDED
|
Binary file (862 Bytes). View file
|
|
|
lance/tasks.lance/_versions/latest_version_hint.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":1}
|
lance/tasks.lance/data/010001010001010111110000aff552436e8ad2b59f07f8054a.lance
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ed52af906f519bb197a7540a45872c06655cb9ff4cd6947074e5114993cfb64
|
| 3 |
+
size 165994
|
source/README.md
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- robotics
|
| 5 |
+
tags:
|
| 6 |
+
- robotics
|
| 7 |
+
- bimanual-manipulation
|
| 8 |
+
- vision-language-action
|
| 9 |
+
- subtask-annotations
|
| 10 |
+
- LeRobot
|
| 11 |
+
pretty_name: FineART
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: default
|
| 16 |
+
data_files: data/*/*.parquet
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# FineART: Fine-Grained Annotated Robotic Trajectory Dataset
|
| 20 |
+
|
| 21 |
+
FineART is co-released by [Scale AI](https://scale.com/) and [Hugging Face LeRobot](https://huggingface.co/lerobot). The data was collected and annotated by the Physical AI unit at [Scale AI](https://scale.com/).
|
| 22 |
+
|
| 23 |
+
FineART is a bimanual manipulation dataset where **every episode comes with dense, human-written subtask annotations**. It has **40,543 teleoperated episodes (1,718 hours)**, **533,913 subtask labels**, and **151 tasks**, all collected on a Trossen Stationary AI (ALOHA-style) bimanual robot.
|
| 24 |
+
|
| 25 |
+
Most robot datasets give one instruction per episode, or label subtasks for only part of their hours. In FineART the whole dataset is annotated: episodes average about 2.5 minutes and about 13 subtasks, so models can be trained directly on step-by-step language.
|
| 26 |
+
|
| 27 |
+
Dense subtask language makes FineART suited to training **hierarchical (System 1 / System 2) policies**: a high-level policy (System 2) that reads the task and predicts the next subtask in language, and a low-level policy (System 1) that conditions on that subtask to produce actions. In this spirit we also launched **[FineART-VLA](https://TODO-fineart-vla-link)**, a single policy that predicts its own next subtask and then acts on it (see [FineART-VLA](#fineart-vla) below).
|
| 28 |
+
|
| 29 |
+
📄 **Paper:** [FineART: Fine-Grained Annotated Robotic Trajectory Dataset and Vision-Language-Action Model for Bimanual Manipulation](https://arxiv.org/abs/2609.36416)
|
| 30 |
+
🤖 **Model (FineART-VLA):** <!-- TODO: link -->
|
| 31 |
+
💻 **Code:** [LeRobot](https://github.com/huggingface/lerobot/tree/main/src/lerobot/policies/fineart_vla)
|
| 32 |
+
|
| 33 |
+
## At a glance
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
|
| 37 |
+
| | |
|
| 38 |
+
|---|---|
|
| 39 |
+
| Episodes | 40,543 (185.5M frames, 1,718 h, ~152.5 s each) |
|
| 40 |
+
| Tasks | 151: everyday pick-and-place and sorting (~77% of hours) plus a long tail of contact-rich skills (deformable objects, tool use, cable routing, compliant alignment, precision insertion) |
|
| 41 |
+
| Robot | Trossen Stationary AI, ALOHA2 grippers, 14-dim joint + gripper state/action |
|
| 42 |
+
| Cameras | `cam_high` (bird's-eye), `cam_low` (worm's-eye), `cam_left_wrist`, `cam_right_wrist`; 360×640 RGB video |
|
| 43 |
+
| Frame rate | 30 fps in the LeRobot files (`meta/info.json`) |
|
| 44 |
+
| Format | [LeRobot](https://github.com/huggingface/lerobot) dataset **v3.0** |
|
| 45 |
+
| Annotations | Whole-episode text summary with execution-quality / success metadata; contiguous, non-overlapping subtask segments with free-text descriptions |
|
| 46 |
+
|
| 47 |
+
Annotations were written by human annotators (no VLM assistance), separate from the teleoperators, and audited by a third team. They are specific: colors are mentioned in 81% of object mentions, and same-class objects are disambiguated 81% of the time (e.g. "the red cup" vs "the blue cup").
|
| 48 |
+
|
| 49 |
+
## Quick start
|
| 50 |
+
|
| 51 |
+
Install a LeRobot version that supports the language columns (`language_persistent` / `language_events`):
|
| 52 |
+
|
| 53 |
+
```bash
|
| 54 |
+
pip install lerobot
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
### Load the dataset
|
| 58 |
+
|
| 59 |
+
```python
|
| 60 |
+
from lerobot.datasets.lerobot_dataset import LeRobotDataset
|
| 61 |
+
|
| 62 |
+
ds = LeRobotDataset("lerobot/FineART")
|
| 63 |
+
print(ds.num_episodes, ds.num_frames, ds.fps) # 40543, 185534500, 30
|
| 64 |
+
print(ds.features.keys())
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
To train on a subset or avoid downloading everything, select episodes:
|
| 68 |
+
|
| 69 |
+
```python
|
| 70 |
+
ds = LeRobotDataset("lerobot/FineART", episodes=[0, 1, 2])
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
To stream instead of download:
|
| 74 |
+
|
| 75 |
+
```python
|
| 76 |
+
from lerobot.datasets.streaming_dataset import StreamingLeRobotDataset
|
| 77 |
+
|
| 78 |
+
ds = StreamingLeRobotDataset("lerobot/FineART")
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
A local copy works the same way: pass `root="/path/to/fineart-dataset"`.
|
| 82 |
+
|
| 83 |
+
### Get a frame
|
| 84 |
+
|
| 85 |
+
```python
|
| 86 |
+
frame = ds[1000]
|
| 87 |
+
|
| 88 |
+
frame["observation.state"] # (14,) joint + gripper positions
|
| 89 |
+
frame["action"] # (14,) joint + gripper targets
|
| 90 |
+
frame["observation.images.cam_high"] # (3, 360, 640) float tensor in [0, 1]
|
| 91 |
+
frame["observation.images.cam_low"]
|
| 92 |
+
frame["observation.images.cam_left_wrist"]
|
| 93 |
+
frame["observation.images.cam_right_wrist"]
|
| 94 |
+
frame["episode_index"], frame["frame_index"], frame["timestamp"]
|
| 95 |
+
frame["task_index"] # int, index into meta/tasks.parquet
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
The 14 dims are ordered `left_{shoulder_pan, shoulder_lift, elbow_flex, wrist_angle, wrist_rotate, gripper, gripper_finger}` followed by the same seven for `right_`.
|
| 99 |
+
|
| 100 |
+
### Inspect the task (whole-episode instruction)
|
| 101 |
+
|
| 102 |
+
`meta/tasks.parquet` has two columns, `task_index` and `task`. Look the task string up by `task_index`:
|
| 103 |
+
|
| 104 |
+
```python
|
| 105 |
+
import pandas as pd
|
| 106 |
+
from huggingface_hub import hf_hub_download
|
| 107 |
+
|
| 108 |
+
tasks = pd.read_parquet(hf_hub_download("lerobot/FineART", "meta/tasks.parquet", repo_type="dataset"))
|
| 109 |
+
task_by_idx = dict(zip(tasks["task_index"], tasks["task"]))
|
| 110 |
+
print(task_by_idx[int(frame["task_index"])]) # e.g. "Arrange a breakfast setting"
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
> Use this lookup rather than relying on `frame["task"]`; `tasks.parquet` is a plain table, not indexed by task string.
|
| 114 |
+
|
| 115 |
+
## Subtask annotations: `language_persistent`
|
| 116 |
+
|
| 117 |
+
Every frame carries a `language_persistent` column. It holds the **full list of subtask rows for the episode**, repeated on every frame (that is what "persistent" means). Each row is a dict:
|
| 118 |
+
|
| 119 |
+
| field | meaning |
|
| 120 |
+
|---|---|
|
| 121 |
+
| `role` | always `"assistant"` for subtasks |
|
| 122 |
+
| `content` | the subtask text, e.g. `"Put the right black candle holder on the shelf"` |
|
| 123 |
+
| `style` | `"subtask"` |
|
| 124 |
+
| `timestamp` | **start time in seconds** (episode-relative) from which this subtask is active |
|
| 125 |
+
| `camera` | `null` |
|
| 126 |
+
| `tool_calls` | `null` |
|
| 127 |
+
|
| 128 |
+
Example (episode 0):
|
| 129 |
+
|
| 130 |
+
```python
|
| 131 |
+
frame = ds[0]
|
| 132 |
+
for row in frame["language_persistent"]:
|
| 133 |
+
print(f'{row["timestamp"]:6.1f}s {row["content"]}')
|
| 134 |
+
```
|
| 135 |
+
|
| 136 |
+
```text
|
| 137 |
+
1.9s Put the transparent glass candle holder on the shelf
|
| 138 |
+
12.5s Put the top right pink glass candle holder on the shelf aligned with the other glass candle holder
|
| 139 |
+
27.0s Put the pink glass candle holder on the shelf aligned with the other glass candle holders
|
| 140 |
+
43.3s Put the right black candle holder on the shelf
|
| 141 |
+
55.9s Put the left black candle holder on the shelf aligned with the other black candle holder
|
| 142 |
+
68.4s Put the black candle holder on the shelf aligned with the other black candle holder
|
| 143 |
+
77.8s Return to Home Position
|
| 144 |
+
```
|
| 145 |
+
|
| 146 |
+
Subtasks are contiguous and non-overlapping: a row is active from its `timestamp` until the next row's `timestamp` (the last one runs to the end of the episode).
|
| 147 |
+
|
| 148 |
+
### Which subtask is active at this frame?
|
| 149 |
+
|
| 150 |
+
LeRobot ships a resolver, `active_at`, that returns the most recent row with `timestamp <= t`:
|
| 151 |
+
|
| 152 |
+
```python
|
| 153 |
+
from lerobot.datasets.language_render import active_at
|
| 154 |
+
|
| 155 |
+
frame = ds[1000]
|
| 156 |
+
t = float(frame["timestamp"])
|
| 157 |
+
row = active_at(t, persistent=frame["language_persistent"], style="subtask")
|
| 158 |
+
print(t, "->", row["content"] if row else "(before the first subtask)")
|
| 159 |
+
```
|
| 160 |
+
|
| 161 |
+
Or in plain Python:
|
| 162 |
+
|
| 163 |
+
```python
|
| 164 |
+
def current_subtask(frame):
|
| 165 |
+
t = float(frame["timestamp"])
|
| 166 |
+
rows = [r for r in frame["language_persistent"] if r["timestamp"] <= t]
|
| 167 |
+
return max(rows, key=lambda r: r["timestamp"])["content"] if rows else None
|
| 168 |
+
```
|
| 169 |
+
|
| 170 |
+
Frames before the first subtask timestamp (the first ~2 s of an episode) have no active subtask.
|
| 171 |
+
|
| 172 |
+
### Next subtask / segment boundaries
|
| 173 |
+
|
| 174 |
+
```python
|
| 175 |
+
rows = sorted(frame["language_persistent"], key=lambda r: r["timestamp"])
|
| 176 |
+
segments = [(r["timestamp"], rows[i + 1]["timestamp"] if i + 1 < len(rows) else None, r["content"])
|
| 177 |
+
for i, r in enumerate(rows)]
|
| 178 |
+
```
|
| 179 |
+
|
| 180 |
+
### `language_events`
|
| 181 |
+
|
| 182 |
+
`language_events` is the sibling column for event-style annotations (interjections, VQA, speech) that attach to a single frame. In FineART the subtask labels live in `language_persistent`; `language_events` is empty (`[]`).
|
| 183 |
+
|
| 184 |
+
## Train directly on step-by-step language
|
| 185 |
+
|
| 186 |
+
LeRobot's recipe layer turns the rows above into chat-style samples on the fly, with no preprocessing. A minimal recipe that asks the model to predict the active subtask from the episode task:
|
| 187 |
+
|
| 188 |
+
```yaml
|
| 189 |
+
messages:
|
| 190 |
+
- { role: user, content: "${task}", stream: high_level }
|
| 191 |
+
- { role: assistant, content: "${subtask}", stream: low_level, target: true }
|
| 192 |
+
```
|
| 193 |
+
|
| 194 |
+
`${subtask}` is bound to `active_at(t, style=subtask)` at each frame. See the LeRobot docs page *Language columns and recipes* and the `subtask_mem` recipes for blends (high-level subtask prediction + low-level execution). FineART-VLA is trained this way.
|
| 195 |
+
|
| 196 |
+
## Dataset structure
|
| 197 |
+
|
| 198 |
+
```text
|
| 199 |
+
fineart-dataset/
|
| 200 |
+
├── meta/
|
| 201 |
+
│ ├── info.json # features, fps, shapes, paths
|
| 202 |
+
│ ├── stats.json # per-feature normalization stats
|
| 203 |
+
│ ├── tasks.parquet # task_index -> task string (151 tasks)
|
| 204 |
+
│ └── episodes/ # per-episode metadata (lengths, file/offset pointers)
|
| 205 |
+
├── data/chunk-XXX/file-XXX.parquet # frames: state, action, language_*, indices
|
| 206 |
+
└── videos/<camera>/chunk-XXX/file-XXX.mp4 # one video stream per camera
|
| 207 |
+
```
|
| 208 |
+
|
| 209 |
+
Features per frame:
|
| 210 |
+
|
| 211 |
+
| key | dtype / shape | notes |
|
| 212 |
+
|---|---|---|
|
| 213 |
+
| `observation.state` | float32 `[14]` | joint + gripper positions |
|
| 214 |
+
| `action` | float32 `[14]` | joint + gripper targets |
|
| 215 |
+
| `observation.images.cam_high` / `cam_low` / `cam_left_wrist` / `cam_right_wrist` | video, `[360, 640, 3]` | |
|
| 216 |
+
| `language_persistent` | list of structs | subtask rows (see above) |
|
| 217 |
+
| `language_events` | list of structs | unused (empty) |
|
| 218 |
+
| `task_index` | int64 | index into `meta/tasks.parquet` |
|
| 219 |
+
| `episode_index`, `frame_index`, `index`, `timestamp` | int64 / float32 | standard LeRobot indices |
|
| 220 |
+
|
| 221 |
+
Everything is in one `train` split (`0:40543`); create your own held-out episodes by `episode_index`.
|
| 222 |
+
|
| 223 |
+
## Tips
|
| 224 |
+
|
| 225 |
+
- **Imbalanced tasks.** About 77% of hours are everyday pick-and-place/sorting. If you want the contact-rich long tail represented, sample by task (use `task_index`) rather than uniformly over frames.
|
| 226 |
+
- **Large dataset.** ~185M frames of 4-camera video. Use `episodes=[...]` or `StreamingLeRobotDataset` for experiments; use a `DataLoader` with several workers and `video_backend="pyav"`/`"torchcodec"` for training.
|
| 227 |
+
- **Timestamps are episode-relative seconds**, the same clock as the frame `timestamp`, so subtask alignment needs no conversion.
|
| 228 |
+
|
| 229 |
+
## FineART-VLA
|
| 230 |
+
|
| 231 |
+
[FineART-VLA](https://arxiv.org/abs/2609.36416) is our single policy that predicts its own next subtask in language and then acts on it. Mid-training on FineART's subtask annotations raised success on a spatial-instruction task from 32% to 100% and on a long-horizon task (with human subtask guidance) from 16% to 76%. On a new robot (YAM), FineART mid-training matched baseline performance with about 10× less fine-tuning data. See the paper for details.
|
| 232 |
+
|
| 233 |
+
## Citation
|
| 234 |
+
|
| 235 |
+
```bibtex
|
| 236 |
+
@article{choghari2026fineart,
|
| 237 |
+
title = {{FineART}: Fine-Grained Annotated Robotic Trajectory Dataset and Vision-Language-Action Model for Bimanual Manipulation},
|
| 238 |
+
author = {Choghari, Jade and Kooijmans, Pepijn and Agarwal, Mansi and Ciftci, Yusuf Umut and Doriwala, Aseem and Weaver, Catherine and Sivapurapu, Mouli and Yang, Kai and Wolf, Thomas and Lee, Jackson and Mannam, Pragna},
|
| 239 |
+
journal = {arXiv preprint arXiv:2609.36416},
|
| 240 |
+
year = {2026},
|
| 241 |
+
url = {https://arxiv.org/abs/2609.36416}
|
| 242 |
+
}
|
| 243 |
+
```
|
viewer/episodes-train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2fca3bd279a45a3e48229b3fb2f68380b837eab0cd2f202e5ca58c5d99c62727
|
| 3 |
+
size 2126105
|