FineART in Lance
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
Data and split
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 reads the Parquet episode table, with one row per original episode.
| Lance table | Rows | Contents |
|---|---|---|
lance/tasks.lance |
151 | Original task ID and text, episode and frame counts, the first matching episode ID, and one retrieval vector per task |
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 |
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 |
The original frame shards, camera videos, and annotations keep their byte content. The root meta/info.json adds the native Lance reader marker. The asset table returns the exact source meta/info.json from source/meta/info.json. 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
Search tasks
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
pip install pylance==14.0.3 huggingface_hub==2.4.0 sentence-transformers==6.3.0
import lance
from huggingface_hub import HfApi
from sentence_transformers import SentenceTransformer
repo = "lance-format/fineart-lance"
root = f"hf://datasets/{repo}"
revision = HfApi(token=False).dataset_info(repo, token=False).sha
options = {"hf_revision": revision}
model = SentenceTransformer(
"sentence-transformers/static-retrieval-mrl-en-v1",
revision="f60985c706f192d45d218078e49e5a8b6f15283a",
truncate_dim=256,
device="cpu",
)
query = "Pick up glass candle holders and arrange them on a shelf"
query_vector = model.encode_query(query, normalize_embeddings=True)
tasks = lance.dataset(f"{root}/lance/tasks.lance", storage_options=options)
hits = tasks.to_table(
columns=["task_index", "task", "episode_count", "example_episode_index", "_distance"],
nearest={"column": "embedding", "q": query_vector, "k": 5, "metric": "cosine"},
).to_pylist()
for hit in hits:
print(f"{1 - hit['_distance']:.4f} task={hit['task_index']} "
f"{hit['task']} episodes={hit['episode_count']} "
f"example_episode={hit['example_episode_index']}")
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.
from pathlib import Path
episode_id = hits[0]["example_episode_index"]
episodes = lance.dataset(f"{root}/lance/episodes.lance", storage_options=options)
episode, = episodes.to_table(
filter=f"episode_index = {episode_id}",
columns=["episode_index", "task", "frame_shard_path", "cam_high_path"],
).to_pylist()
assets = lance.dataset(
f"{root}/lance/assets.lance", storage_options=options,
base_store_params={root: options},
)
clip_path = episode["cam_high_path"]
asset_row, = assets.to_table(
filter=f"source_path = '{clip_path}'", columns=["size_bytes"], with_row_id=True,
).to_pylist()
clip, = assets.take_blobs("asset", ids=[asset_row["_rowid"]])
Path(f"fineart-{episode_id}-cam-high.mp4").write_bytes(clip.read())
Load with LeRobot
LeRobot 0.7.0 can read the full train split directly from this repository with its native Lance reader. The root frames.lance, videos.lance, and meta.lance tables cover all 185,534,500 frames, 40,543 episodes, and four cameras. The video table indexes byte ranges in the original, byte-identical MP4 files. LeRobot Lance reader
pip install "lerobot[lancedb]==0.7.0"
from lerobot.datasets import LeRobotDataset
dataset = LeRobotDataset("lance-format/fineart-lance", episodes=[0])
frame = dataset[0]
print(frame["task"], frame["action"].shape)
print(frame["observation.images.cam_high"].shape)
License and attribution
FineART is licensed under Creative Commons Attribution 4.0 International. 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 · FineART paper
- Downloads last month
- 190