The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: FileSystemError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
task_id string | suite string | instruction string | frame_count int64 | episode_count int64 | source_path string | source_bytes int64 | source_sha256 string | frame_offset_in_suite int64 |
|---|---|---|---|---|---|---|---|---|
pick_up_the_black_bowl_between_the_plate_and_the_ramekin_and_place_it_on_the_plate | libero_spatial | pick up the black bowl between the plate and the ramekin and place it on the plate | 5,068 | 50 | libero_spatial/pick_up_the_black_bowl_between_the_plate_and_the_ramekin_and_place_it_on_the_plate_demo.hdf5 | 508,779,600 | ff6f26121653c77280eb40a38773a74141c11a8509f3466058cb56dd2cc60ead | 0 |
pick_up_the_black_bowl_from_table_center_and_place_it_on_the_plate | libero_spatial | pick up the black bowl from table center and place it on the plate | 5,882 | 50 | libero_spatial/pick_up_the_black_bowl_from_table_center_and_place_it_on_the_plate_demo.hdf5 | 589,630,943 | 75ede0cf5fbfc925093671b55032ad80f1b1f1cf35442ec6c663460d37d3e0b3 | 5,068 |
pick_up_the_black_bowl_in_the_top_drawer_of_the_wooden_cabinet_and_place_it_on_the_plate | libero_spatial | pick up the black bowl in the top drawer of the wooden cabinet and place it on the plate | 7,479 | 50 | libero_spatial/pick_up_the_black_bowl_in_the_top_drawer_of_the_wooden_cabinet_and_place_it_on_the_plate_demo.hdf5 | 748,271,833 | 7ff1ee60447875c152d8c7819f499d23dbc0eb4d4bf045225d5d87a2cdad99bd | 10,950 |
pick_up_the_black_bowl_next_to_the_cookie_box_and_place_it_on_the_plate | libero_spatial | pick up the black bowl next to the cookie box and place it on the plate | 6,312 | 50 | libero_spatial/pick_up_the_black_bowl_next_to_the_cookie_box_and_place_it_on_the_plate_demo.hdf5 | 632,345,992 | 9d0b5435b313a8c0d7336b429b5f0f578be6f2a9f5f8a6dd67459ef388f3c74c | 18,429 |
pick_up_the_black_bowl_next_to_the_plate_and_place_it_on_the_plate | libero_spatial | pick up the black bowl next to the plate and place it on the plate | 5,963 | 50 | libero_spatial/pick_up_the_black_bowl_next_to_the_plate_and_place_it_on_the_plate_demo.hdf5 | 597,677,074 | 3961cb7126eaca47d0f5be29eb297bb62e7591e3c86172c9587c0bf670112f84 | 24,741 |
pick_up_the_black_bowl_next_to_the_ramekin_and_place_it_on_the_plate | libero_spatial | pick up the black bowl next to the ramekin and place it on the plate | 6,707 | 50 | libero_spatial/pick_up_the_black_bowl_next_to_the_ramekin_and_place_it_on_the_plate_demo.hdf5 | 671,583,385 | bf1090dd4826eacb49eb052f17d04798e2a1eb2f74f8d024bc3b9c5d234c25f9 | 30,704 |
pick_up_the_black_bowl_on_the_cookie_box_and_place_it_on_the_plate | libero_spatial | pick up the black bowl on the cookie box and place it on the plate | 5,052 | 50 | libero_spatial/pick_up_the_black_bowl_on_the_cookie_box_and_place_it_on_the_plate_demo.hdf5 | 507,189,857 | 0c053db7317e584632549bddb963bee8a237661b4bd29f0581a245f715e8eb72 | 37,411 |
pick_up_the_black_bowl_on_the_ramekin_and_place_it_on_the_plate | libero_spatial | pick up the black bowl on the ramekin and place it on the plate | 5,796 | 50 | libero_spatial/pick_up_the_black_bowl_on_the_ramekin_and_place_it_on_the_plate_demo.hdf5 | 581,087,722 | d9b2da7399a88bea39024c8ef97713a20734e9b765e14b3399e2755890c828b7 | 42,463 |
pick_up_the_black_bowl_on_the_stove_and_place_it_on_the_plate | libero_spatial | pick up the black bowl on the stove and place it on the plate | 7,111 | 50 | libero_spatial/pick_up_the_black_bowl_on_the_stove_and_place_it_on_the_plate_demo.hdf5 | 711,715,594 | 1fcb3990cf9fd6185f56531cc9f6dec0a77a59bfa0c7f39dff95b7e43cf6aeaa | 48,259 |
pick_up_the_black_bowl_on_the_wooden_cabinet_and_place_it_on_the_plate | libero_spatial | pick up the black bowl on the wooden cabinet and place it on the plate | 6,880 | 50 | libero_spatial/pick_up_the_black_bowl_on_the_wooden_cabinet_and_place_it_on_the_plate_demo.hdf5 | 688,768,764 | 4d503d447028f437211880bea4ee1a7f6732113ea8560181fcca163251864794 | 55,370 |
LIBERO Original Demonstrations in Lance
Search the original LIBERO task instructions, read the recorded robot trajectories as typed Lance rows, and retrieve the original RGB observations by byte range from the authors’ HDF5 files. Both 128×128 camera views retain their original pixels, orientation, and frame order. Pinned original dataset
Tables and suites
| Lance table | Rows | Contents |
|---|---|---|
tasks.lance |
130 | Original language instructions, suite, HDF5 file identity, source environment attributes and retrieval vector |
episodes.lance |
6,500 | Original demonstration ID, model XML, initial state, source dataset shapes and dtypes, and Blob v2 byte ranges for the two camera tensors |
frames/<suite>.lance |
1,007,618 total | One row per recorded frame with original actions, states, observations, reward and done fields |
source_files.lance |
132 | Pinned source file paths, digests, sizes, and Blob v2 references to the original files |
The five source suites remain separate. LIBERO-90 and LIBERO-10 are the original LIBERO-100 division for pretraining and downstream evaluation. The release keeps every demonstration under its recorded suite and HDF5 group. The HF Dataset Viewer uses small task-metadata Parquet projections for the same five suites. Original suite definition · Conversion counts
To select an episode’s typed frame rows, open frames/<suite>.lance and filter on episode_id or take frame_count rows starting at frame_offset_in_suite. The numeric columns use the original precision, with __ replacing / in HDF5 paths. The camera blobs are original contiguous uint8 HDF5 array bytes. Their shape columns give [frames, height, width, channels]. Pass the base_store_params shown below when you open a table with upstream blobs to pin the objects to the recorded source revision. Frame reads fetch only the requested camera bytes.
Search original task instructions
The conversion embeds the English problem_info.language_instruction in each source HDF5 file. It uses sentence-transformers/static-retrieval-mrl-en-v1 at revision f60985c706f192d45d218078e49e5a8b6f15283a, truncated to 256 dimensions and L2-normalized as float32. The same encoder embeds queries. Lance ranks by cosine distance and the example prints 1 − distance, where higher is closer. Pinned encoder
python -m pip install 'pylance==14.0.3' 'sentence-transformers==6.3.0'
import lance
from sentence_transformers import SentenceTransformer
root = "hf://datasets/lance-format/libero-original-demonstrations-lance"
source = "hf://datasets/yifengzhu-hf/LIBERO-datasets"
source_options = {source: {"hf_revision": "f13aa24a3da8c43c7225569f28c562979fa0e35a"}}
encoder = SentenceTransformer(
"sentence-transformers/static-retrieval-mrl-en-v1",
revision="f60985c706f192d45d218078e49e5a8b6f15283a",
truncate_dim=256,
device="cpu",
)
query = encoder.encode_query("put the tomato sauce in the basket", normalize_embeddings=True)
tasks = lance.dataset(f"{root}/tasks.lance", base_store_params=source_options)
matches = tasks.to_table(
columns=["task_id", "suite", "instruction", "episode_count", "source_path", "_distance"],
nearest={"column": "embedding", "q": query, "k": 5, "metric": "cosine"},
).to_pylist()
for match in matches:
similarity = 1.0 - match["_distance"]
print(f"{similarity:.4f} {match['suite']} {match['task_id']} "
f"{match['instruction']} episodes={match['episode_count']}")
Read the first original workspace camera frame for a returned task. This fetches one RGB frame.
import numpy as np
episodes = lance.dataset(f"{root}/episodes.lance", base_store_params=source_options)
first = matches[0]
source_path = first["source_path"].replace("'", "''")
episode = episodes.to_table(
filter=f"source_path = '{source_path}'",
columns=["episode_id", "agentview_rgb_shape", "agentview_rgb_dtype"],
limit=1,
with_row_id=True,
).to_pylist()[0]
blob, = episodes.take_blobs("agentview_rgb", ids=[episode["_rowid"]])
dims = episode["agentview_rgb_shape"][1:]
dtype = np.dtype(episode["agentview_rgb_dtype"])
with blob:
rgb = np.frombuffer(blob.read(int(np.prod(dims)) * dtype.itemsize), dtype=dtype).reshape(dims)
print(episode["episode_id"], rgb.shape, rgb.dtype)
License and attribution
LIBERO was created by Bo Liu, Yifeng Zhu, Chongkai Gao, Yihao Feng, Qiang Liu, Yuke Zhu, and Peter Stone for LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learning (NeurIPS 2023). The authors’ official repository identifies CC BY 4.0 for the datasets. The archived Hugging Face source card labels the mirror Apache 2.0. This edition applies the authors’ CC BY 4.0 dataset terms, credits the authors and mirror publisher, and adds Lance tables, byte-range locators, and search vectors. Original authors’ license declaration · Paper · Archived source card · CC BY 4.0
- Downloads last month
- 26