// Docs

Writing data

Write robotics datasets and pipeline outputs from Refiner

Writers attach a sink to the end of a pipeline. Launched execution runs the reader, transforms, and writer stages.

WriterUse it for
LeRobotTraining-ready robotics datasets.
ZarrArray stores and replay buffers.
Parquet and JSONLTabular outputs and logs.
LanceLance files, datasets, and distributed column additions.
Media Assets and ReducersAsset uploads, video handling, and reducer stages.

Writer pattern

pipeline = (
    mdr.read_lerobot("hf://datasets/acme/raw")
    .map(mdr.robotics.motion_trim())
    .write_lerobot("hf://buckets/acme-robotics/trimmed")
)

The writer does work when the pipeline is launched.