Datasets:
Yaak Learning to Drive (L2D) in Lance
This conversion preserves all 100,000 episodes and 26,466,954 frames of the original LeRobot v3.0 train split. Yaak and the LeRobot team collected the data with a driving school fleet in Germany. It contains vehicle states, six surrounding camera views, a rendered map view, control actions and natural-language driving instructions. Original release by Yaak · Original publication and citation · Archived source card
Data layout
| Path | Contents |
|---|---|
frames.lance |
All original frame fields in global frame order. Waypoints retain their float32 values in row-major order and reshape to the original [10, 2] layout. |
episodes.lance |
All source episode metadata, camera locators, task annotations and statistics. |
videos.lance |
All 9,624 original MP4s as external Blob v2 references with MP4 header and keyframe byte positions. The 4.76 TB of original video bytes stay upstream and are read on demand. |
task_search.lance |
28,949 unique original episode instructions, their embeddings and episode count. |
meta/ and meta.lance |
LeRobot metadata. Only the Lance storage marker was added to meta/info.json. |
source_files.lance |
The full pinned inventory and source checksums, including the original Parquet and MP4 paths. |
Frame column names replace dots with underscores for LeRobot compatibility. Episode column names escape dots and slashes. The original names and the waypoint layout are recorded in the frame mapping and episode mapping. Data Studio's instructions view serves the full instruction text and episode identifiers from a Parquet projection. Its frame sample shows 4,096 evenly spaced source frames in Parquet. Use the Lance frames table for all 26,466,954 frames.
Search the driving instructions
The search table embeds the episode metadata's instruction strings once per distinct text across all 100,000 episodes. The original task dictionary separately contains 4,219 names. source_task_index is populated for exact matches to that dictionary. The encoder is intfloat/multilingual-e5-small at revision 614241f622f53c4eeff9890bdc4f31cfecc418b3. Each instruction is encoded with the passage: prefix and stored as a normalized 384-dimensional float32 vector. Queries use the query: prefix and cosine similarity. Encoder model card
Install the Python dependencies with pip install pylance pyarrow sentence-transformers.
import lance
from sentence_transformers import SentenceTransformer
dataset = lance.dataset("hf://datasets/lance-format/l2d-lance/task_search.lance")
encoder = SentenceTransformer(
"intfloat/multilingual-e5-small",
revision="614241f622f53c4eeff9890bdc4f31cfecc418b3",
device="cpu",
)
query = "Approach the roundabout and take its first exit."
vector = encoder.encode(f"query: {query}", normalize_embeddings=True)
matches = dataset.scanner(
columns=["instruction_id", "instruction", "first_episode_index", "episode_count"],
nearest={"column": "vector", "q": vector, "k": 5, "metric": "cosine"},
).to_table().to_pylist()
for match in matches:
score = 1.0 - match["_distance"]
print(
f'{score:.4f} | instruction {match["instruction_id"]} | '
f'example episode {match["first_episode_index"]} | '
f'{match["episode_count"]} episodes | {match["instruction"]}'
)
Load with LeRobot
Install the tested official LeRobot revision with pip install "lerobot[lancedb] @ git+https://github.com/huggingface/lerobot.git@b13b952556c597d1e0849cadb6b6e7496bc5a2f3" and use a TorchCodec-compatible setup. This revision exposes the storage option that pins video reads independently of the format conversion's own revision. The following opens episode 0 through the stock Lance backend. Tested LeRobot source
from lerobot.datasets import LeRobotDataset
source_revision = "cc09487951af469a14ea22108b64c3b9e6cb717d"
dataset = LeRobotDataset(
"lance-format/l2d-lance",
episodes=[0],
return_uint8=True,
storage_options={"base_1.hf_revision": source_revision},
)
sample = dataset[0]
print({key: tuple(sample[key].shape) for key in dataset.meta.camera_keys})
Licenses and attribution
Yaak publishes its material under Apache-2.0. Map data © OpenStreetMap contributors. OpenStreetMap data and adaptations retain the Open Database License 1.0. The original release and the linked notices describe the sources and usage terms. License and attribution notice · OpenStreetMap copyright
- Downloads last month
- 108